Hooks
static bool BeforeCvLuaGame_lGetNumReplayMessages(lua_State* L, int& result);static void AfterCvLuaGame_lGetNumReplayMessages(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetNumReplayMessages(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetNumReplayMessages>(host, &BeforeCvLuaGame_lGetNumReplayMessages);CivRegisterAfter<CivHooks::CvLuaGame_lGetNumReplayMessages>(host, &AfterCvLuaGame_lGetNumReplayMessages);CivRegisterReplace<CivHooks::CvLuaGame_lGetNumReplayMessages>(host, &ReplaceCvLuaGame_lGetNumReplayMessages);