Hooks
static bool BeforeCvLuaGame_lIsUnitClassMaxedOut(lua_State* L, int& result);static void AfterCvLuaGame_lIsUnitClassMaxedOut(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsUnitClassMaxedOut(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsUnitClassMaxedOut>(host, &BeforeCvLuaGame_lIsUnitClassMaxedOut);CivRegisterAfter<CivHooks::CvLuaGame_lIsUnitClassMaxedOut>(host, &AfterCvLuaGame_lIsUnitClassMaxedOut);CivRegisterReplace<CivHooks::CvLuaGame_lIsUnitClassMaxedOut>(host, &ReplaceCvLuaGame_lIsUnitClassMaxedOut);