Difference between revisions of "Script/LogicCallbacks"

From SF3
Jump to: navigation, search
(Callback Function Signatures)
(Callback Function Signatures)
Line 20: Line 20:
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|bool]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|bool]]  
| style='color: black; width: 90%; line-height: 0.8;' | '''TOnTimerEvent''' ()
+
| style='color: black; width: 90%; line-height: 0.8;' | '''TOnUIEntityEvent''' ([[../Entity|Entity]]&in ''_Entity'')
 
|-
 
|-
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|bool]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|bool]]  
| style='color: black; width: 90%; line-height: 0.8;' | '''TOnUIEntityEvent''' ([[../Entity|Entity]]&in ''_Entity'')
+
| style='color: black; width: 90%; line-height: 0.8;' | '''TOnTimerEvent''' ()
 
|}
 
|}

Revision as of 14:09, 23 September 2016

Callback Function Signatures

Below is a list of function signatures used to register event callbacks.

bool TOnHeroPartyEvent (Creature&in _Creature)
bool TOnInventoryEvent (const string&in _sItemName, const uint _uAmount)
bool TOnCreatureEvent (Creature&in _Creature)
bool TOnBuildingEvent (Building&in _Building)
bool TOnUIEvent ()
bool TOnUIEntityEvent (Entity&in _Entity)
bool TOnTimerEvent ()

Callback Function Signatures

Below is a list of function signatures used to register event callbacks.

bool TOnHeroPartyEvent (Creature&in _Creature)
bool TOnInventoryEvent (const string&in _sItemName, const uint _uAmount)
bool TOnCreatureEvent (Creature&in _Creature)
bool TOnBuildingEvent (Building&in _Building)
bool TOnUIEvent ()
bool TOnTimerEvent ()
bool TOnUIEntityEvent (Entity&in _Entity)