Hooks
static bool BeforeCvLuaPlayer_lGetIncomingUnitType(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetIncomingUnitType(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetIncomingUnitType(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetIncomingUnitType>(host, &BeforeCvLuaPlayer_lGetIncomingUnitType);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetIncomingUnitType>(host, &AfterCvLuaPlayer_lGetIncomingUnitType);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetIncomingUnitType>(host, &ReplaceCvLuaPlayer_lGetIncomingUnitType);