Bazaar developer reference

CvLuaTeam::lGetAtWarCount(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 427
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetAtWarCount

Hooks

static bool BeforeCvLuaTeam_lGetAtWarCount(lua_State* L, int& result);static void AfterCvLuaTeam_lGetAtWarCount(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetAtWarCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetAtWarCount>(host, &BeforeCvLuaTeam_lGetAtWarCount);CivRegisterAfter<CivHooks::CvLuaTeam_lGetAtWarCount>(host, &AfterCvLuaTeam_lGetAtWarCount);CivRegisterReplace<CivHooks::CvLuaTeam_lGetAtWarCount>(host, &ReplaceCvLuaTeam_lGetAtWarCount);

Code

426//int getAtWarCount(bool bIgnoreMinors);427int CvLuaTeam::lGetAtWarCount(lua_State* L)428{429	return BasicLuaMethod(L, &CvTeam::getAtWarCount);430}

Calls

Called by