Hooks
static bool BeforeCvLuaPlayer_lFindPathLength(lua_State* L, int& result);static void AfterCvLuaPlayer_lFindPathLength(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lFindPathLength(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lFindPathLength>(host, &BeforeCvLuaPlayer_lFindPathLength);CivRegisterAfter<CivHooks::CvLuaPlayer_lFindPathLength>(host, &AfterCvLuaPlayer_lFindPathLength);CivRegisterReplace<CivHooks::CvLuaPlayer_lFindPathLength>(host, &ReplaceCvLuaPlayer_lFindPathLength);