Hooks
static bool BeforeCvLuaPlayer_lChangeNumResourceTotal(lua_State* L, int& result);static void AfterCvLuaPlayer_lChangeNumResourceTotal(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lChangeNumResourceTotal(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lChangeNumResourceTotal>(host, &BeforeCvLuaPlayer_lChangeNumResourceTotal);CivRegisterAfter<CivHooks::CvLuaPlayer_lChangeNumResourceTotal>(host, &AfterCvLuaPlayer_lChangeNumResourceTotal);CivRegisterReplace<CivHooks::CvLuaPlayer_lChangeNumResourceTotal>(host, &ReplaceCvLuaPlayer_lChangeNumResourceTotal);