Photon Bolt Engine API
1.3
Interface which can be implemented on a behaviour attached to an entity which lets you provide custom priority calculations for state and events. More...
Public Member Functions | |
| float | CalculateEventPriority (BoltConnection connection, Event evnt) |
| Called for calculating the priority of an event sent to this entity for the connection passed in More... | |
| float | CalculateStatePriority (BoltConnection connection, int skipped) |
| Called for calculating the priority of this entity for the connection passed in More... | |
Properties | |
| bool | Always [get] |
Interface which can be implemented on a behaviour attached to an entity which lets you provide custom priority calculations for state and events.
| float Photon.Bolt.IPriorityCalculator.CalculateEventPriority | ( | BoltConnection | connection, |
| Event | evnt | ||
| ) |
Called for calculating the priority of an event sent to this entity for the connection passed in
| connection | The connection we are calculating priority for |
| evnt | The event we are calculating priority for |
| float Photon.Bolt.IPriorityCalculator.CalculateStatePriority | ( | BoltConnection | connection, |
| int | skipped | ||
| ) |
Called for calculating the priority of this entity for the connection passed in
| connection | The connection we are calculating priority for |
| skipped | How many packets since we sent an update for this entity |
|
get |