An open API service indexing awesome lists of open source software.

https://github.com/0blu/photonparametermapper

The probably fastest way to use custom contracts in Photon
https://github.com/0blu/photonparametermapper

albiononline photon serialization unity

Last synced: 10 months ago
JSON representation

The probably fastest way to use custom contracts in Photon

Awesome Lists containing this project

README

          

# Photon Parameter Mapper
The probably fastest way to use custom contracts in [Photon](https://www.photonengine.com/en-US/Photon)

![img](https://i.imgur.com/uHjriaS.png)

## Features
- Dynamicly build a mapper
- Save a mapper as an assembly (Good for productive use)
- Custom field types
- Custom indices
- Skips default(T) values

## Projects
- PhotonParameterMapper.Core

Is required to pre build and dynamiclly build assemblies

- PhotonParameterMapper.Builder

To build, run and save dynamic assemblies

- PhotonParameterMapper.Example

Contains a bunch of example use cases and speed tests

## What does it do?
The _Mapper_ converts custom contracts to `Dictionary` and vice versa.

Made for [Photon's](https://www.photonengine.com/en-US/Photon) `{OperationResponse, OperationRequest, EventData}.Parameters`