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
- Host: GitHub
- URL: https://github.com/0blu/photonparametermapper
- Owner: 0blu
- License: mit
- Created: 2018-06-09T17:54:38.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-28T07:57:08.000Z (almost 8 years ago)
- Last Synced: 2025-07-22T12:57:14.726Z (11 months ago)
- Topics: albiononline, photon, serialization, unity
- Language: C#
- Size: 26.4 KB
- Stars: 4
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)

## 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`