Photon Quantum 3.0.0

Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Quantum.EventGameResult Class Reference

Does not have to implement checksum, because it's a hard-coded synced event. More...

Inheritance diagram for Quantum.EventGameResult:
Quantum.EventBase Quantum.IDispatchable

Public Member Functions

 EventGameResult ()
 Constructor. More...
 
- Public Member Functions inherited from Quantum.EventBase
 EventBase (int id, EventFlags flags)
 Event event constructor. More...
 
virtual void OnReleased ()
 Is called when the event is released and returned to the pool. More...
 

Public Attributes

GameResult GameResult
 The game result that was created by the simulation. More...
 
- Public Attributes inherited from Quantum.EventBase
readonly int Id
 The event id. More...
 
Int32 Tick
 The tick that the event was invoked on. More...
 

Static Public Attributes

const Int32 ID = 0
 The game result event id. More...
 

Properties

new QuantumGame Game [get, set]
 Override the Game accessor to return the specialized QuantumGame instead of the interface. More...
 
- Properties inherited from Quantum.EventBase
bool CanBeInvokedOnClient [get]
 Returns true if the event can be invoked on the client. More...
 
bool CanBeInvokedOnServer [get]
 Returns true if the event can be invoked on the server. More...
 
IDeterministicGame Game [get, set]
 The reference to the game that the event is dispatched to. More...
 
bool Synced [get]
 Returns true if the event is a synced event. More...
 
- Properties inherited from Quantum.IDispatchable
IDeterministicGame Game [get]
 The game that the callback or event is dispatched to. More...
 

Detailed Description

Does not have to implement checksum, because it's a hard-coded synced event.

Constructor & Destructor Documentation

◆ EventGameResult()

Quantum.EventGameResult.EventGameResult ( )
inline

Constructor.

Member Data Documentation

◆ ID

const Int32 Quantum.EventGameResult.ID = 0
static

The game result event id.

◆ GameResult

GameResult Quantum.EventGameResult.GameResult

The game result that was created by the simulation.

Property Documentation

◆ Game

new QuantumGame Quantum.EventGameResult.Game
getset

Override the Game accessor to return the specialized QuantumGame instead of the interface.