Bazaar developer reference

CvLuaTeam::lGetTeamVotingForInDiplo(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 385
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetTeamVotingForInDiplo

Hooks

static bool BeforeCvLuaTeam_lGetTeamVotingForInDiplo(lua_State* L, int& result);static void AfterCvLuaTeam_lGetTeamVotingForInDiplo(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetTeamVotingForInDiplo(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetTeamVotingForInDiplo>(host, &BeforeCvLuaTeam_lGetTeamVotingForInDiplo);CivRegisterAfter<CivHooks::CvLuaTeam_lGetTeamVotingForInDiplo>(host, &AfterCvLuaTeam_lGetTeamVotingForInDiplo);CivRegisterReplace<CivHooks::CvLuaTeam_lGetTeamVotingForInDiplo>(host, &ReplaceCvLuaTeam_lGetTeamVotingForInDiplo);

Code

384//int GetTeamVotingForInDiplo();385int CvLuaTeam::lGetTeamVotingForInDiplo(lua_State* L)386{387	return BasicLuaMethod(L, &CvTeam::GetTeamVotingForInDiplo);388}

Calls

Called by