CallInstanceEvent Purpose: Given an ID, a pointer to a script instance, an event and a pointer to the struct of information about the event, this function will translate who this event belongs to and passes the event to that instance of the script to be handled. Return a combination of CONTINUE_CHAIN and CONTINUE_DEFAULT, to give instructions on what to do based on the event. CONTINUE_CHAIN means
| 259 | // after this script, than the CONTINUE_DEFAULT setting will be overridden by lower priority |
| 260 | // scripts return value. |
| 261 | int16_t STDCALL CallInstanceEvent(int id, void *ptr, int event, tOSIRISEventInfo *data) { |
| 262 | return ((ClutterScript *)ptr)->CallEvent(event, data); |
| 263 | } |
| 264 | |
| 265 | // SaveRestoreState |
| 266 | // Purpose: |