ACE3/addons/rearm/CfgEventHandlers.hpp

43 lines
928 B
C++
Raw Permalink Normal View History

2016-02-22 14:20:36 +00:00
class Extended_PreStart_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
2016-02-22 14:20:36 +00:00
};
};
2015-08-15 16:43:13 +00:00
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
2015-08-15 16:43:13 +00:00
};
};
2015-08-16 21:52:37 +00:00
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));
};
};
};
2015-08-16 21:52:37 +00:00
class Extended_PostInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
2015-08-16 21:52:37 +00:00
};
};
class Extended_Respawn_EventHandlers {
class CAManBase {
class ADDON {
respawn = QUOTE(call FUNC(handleRespawn));
2015-08-16 21:52:37 +00:00
};
};
};
class Extended_Killed_EventHandlers {
class CAManBase {
class ADDON {
killed = QUOTE(_this call FUNC(handleKilled));
};
};
};