Hooks
static bool BeforeCvLuaUnit_lSetUnitAIType(lua_State* L, int& result);static void AfterCvLuaUnit_lSetUnitAIType(lua_State* L, int& result);static int ReplaceCvLuaUnit_lSetUnitAIType(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaUnit_lSetUnitAIType>(host, &BeforeCvLuaUnit_lSetUnitAIType);CivRegisterAfter<CivHooks::CvLuaUnit_lSetUnitAIType>(host, &AfterCvLuaUnit_lSetUnitAIType);CivRegisterReplace<CivHooks::CvLuaUnit_lSetUnitAIType>(host, &ReplaceCvLuaUnit_lSetUnitAIType);