Photon Quantum 3.0.0

Public Member Functions | Public Attributes | List of all members
Quantum.ComponentCallbacks Struct Reference

Component callbacks. More...

Public Member Functions

 ComponentCallbacks (ComponentSerializeDelegate serialize)
 Create a callback object with serialization only. More...
 
 ComponentCallbacks (ComponentSerializeDelegate serialize, ComponentChangedDelegate onAdded, ComponentChangedDelegate onRemoved)
 Create a callback object. More...
 

Public Attributes

ComponentChangedDelegate OnAdded
 Component added callback. More...
 
ComponentChangedDelegate OnRemoved
 Component removed callback. More...
 
ComponentSerializeDelegate Serialize
 Frame serialization callback. More...
 

Detailed Description

Component callbacks.

Constructor & Destructor Documentation

◆ ComponentCallbacks() [1/2]

Quantum.ComponentCallbacks.ComponentCallbacks ( ComponentSerializeDelegate  serialize)
inline

Create a callback object with serialization only.

Parameters
serializeSerialization callback

◆ ComponentCallbacks() [2/2]

Quantum.ComponentCallbacks.ComponentCallbacks ( ComponentSerializeDelegate  serialize,
ComponentChangedDelegate  onAdded,
ComponentChangedDelegate  onRemoved 
)
inline

Create a callback object.

Parameters
serializeSerialization callback
onAddedComponent added callback
onRemovedComponent removed callback

Member Data Documentation

◆ Serialize

ComponentSerializeDelegate Quantum.ComponentCallbacks.Serialize

Frame serialization callback.

◆ OnAdded

ComponentChangedDelegate Quantum.ComponentCallbacks.OnAdded

Component added callback.

◆ OnRemoved

ComponentChangedDelegate Quantum.ComponentCallbacks.OnRemoved

Component removed callback.