ACE3/addons/gunbag/CfgEventHandlers.hpp

29 lines
758 B
C++
Raw Normal View History

2016-05-03 08:21:21 +00:00
class Extended_PreStart_EventHandlers {
2016-06-12 11:51:23 +00:00
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preStart));
2016-06-12 11:51:23 +00:00
};
2016-05-03 08:21:21 +00:00
};
class Extended_PreInit_EventHandlers {
2016-06-12 11:51:23 +00:00
class ADDON {
init = QUOTE(call COMPILE_SCRIPT(XEH_preInit));
2016-06-12 11:51:23 +00:00
};
2016-05-03 08:21:21 +00:00
};
//EH must be loaded this way to get ace_gunbag_gunbagWeapon before it is deleted upon opening the BI arsenal. May cause instability with other mods.
class RscPicture;
class RscDisplayArsenal {
class Controls {
class IconBackgroundPrimaryWeapon: RscPicture {
onLoad = QUOTE([ACE_player] call FUNC(BIArsenalOpen));
};
};
};
class Extended_DisplayUnload_EventHandlers {
class RscDisplayArsenal {
ADDON = QUOTE([ACE_player] call FUNC(BIArsenalClose));
};
};