 Photon Bolt Engine API
        
        
            1.3
        
            Photon Bolt Engine API
        
        
            1.3
        
    Base class that all events inherit from More...
 
 | Public Member Functions | |
| void | Send () | 
| Enqueue this object for sending across the network  More... | |
| Protected Member Functions | |
| virtual void | PrepareRelease () | 
| The Event implementation overrides this method to release any pending data that can be pooled, like IProtocolToken references  More... | |
| Properties | |
| byte[] | BinaryData  [get, set] | 
| The raw bytes of the event data  More... | |
| bool | FromSelf  [get] | 
| Returns true if this event was sent from own connection  More... | |
| bool | IsGlobalEvent  [get] | 
| Returns true if this is a global event / not an entity event  More... | |
| BoltConnection | RaisedBy  [get] | 
| The connection which raised this event  More... | |
Base class that all events inherit from
Example: Using a LogEvent object to send a message.
| 
 | inlineprotectedvirtual | 
The Event implementation overrides this method to release any pending data that can be pooled, like IProtocolToken references
| 
 | inline | 
Enqueue this object for sending across the network
Example: Sending a log message.
| 
 | getset | 
The raw bytes of the event data
Example: Removing repeated chat messages by doing sequence comparison on the raw byte data and filtering out any repeated messages after a certain limit.
| 
 | get | 
Returns true if this event was sent from own connection
Example: Showing chat messages from other players.
 
| 
 | get | 
Returns true if this is a global event / not an entity event
Example: Using the isGlobal property to determine whether to send local or whole-zone chat.
| 
 | get | 
The connection which raised this event
Example: Blocking messages from players on a chat restricted list.