class Extended_PreStart_EventHandlers { class ADDON { init = QUOTE(call COMPILE_FILE(XEH_preStart)); }; }; class Extended_PreInit_EventHandlers { class ADDON { init = QUOTE(call COMPILE_FILE(XEH_preInit)); }; }; class Extended_Init_EventHandlers { class GVAR(defaultCarriedObject) { // TODO check if we need to add all subclasses class ADDON { init = QUOTE(_this call DEFUNC(cargo,initObject)); }; }; }; class Extended_PostInit_EventHandlers { class ADDON { init = QUOTE(call COMPILE_FILE(XEH_postInit)); }; }; class Extended_Respawn_EventHandlers { class CAManBase { class ADDON { respawn = QUOTE(call FUNC(XEH_respawn)); }; }; }; class Extended_Killed_EventHandlers { class CAManBase { class ADDON { killed = QUOTE(_this call FUNC(handleKilled)); }; }; };