Photon Fusion
2.0.8
Provides a reader for properties of type T in a network behaviour. More...
Public Member Functions | |
| PropertyReader (int offset) | |
| Constructs a new PropertyReader with the provided offset. More... | |
| T | Read (NetworkBehaviourBuffer first) |
| Reads a property of type T from the provided network behaviour buffer. More... | |
Public Attributes | |
| T | |
| Reads a property of type T from the provided network behaviour buffers. More... | |
Provides a reader for properties of type T in a network behaviour.
| T | The type of the property in the network behaviour. Must be unmanaged. |
| T | : | unmanaged |
| PropertyReader | ( | int | offset | ) |
Constructs a new PropertyReader with the provided offset.
| offset | The offset of the property in the network behaviour buffer. |
| T Read | ( | NetworkBehaviourBuffer | first | ) |
Reads a property of type T from the provided network behaviour buffer.
| first | The network behaviour buffer to read the property from. |
| T |
Reads a property of type T from the provided network behaviour buffers.
| first | The first network behaviour buffer to read the property from. |
| second | The second network behaviour buffer to read the property from. |