Difference between revisions of "Script/LogicCallbacks"

From SF3
Jump to: navigation, search
(Callback Function Signatures)
Line 18: Line 18:
 
| 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;' | '''TOnUIEvent''' ()
 
| style='color: black; width: 90%; line-height: 0.8;' | '''TOnUIEvent''' ()
 +
|-
 +
| 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: 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;' | '''TOnUIEntityEvent''' ([[../Entity|Entity]]&in ''_Entity'')
 
|}
 
|}

Revision as of 14:08, 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 TOnTimerEvent ()
bool TOnUIEntityEvent (Entity&in _Entity)

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)