Bazaar developer reference

CvLuaGame::lGetPreviousVoteCast(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1381
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetPreviousVoteCast

Hooks

static bool BeforeCvLuaGame_lGetPreviousVoteCast(lua_State* L, int& result);static void AfterCvLuaGame_lGetPreviousVoteCast(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetPreviousVoteCast(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetPreviousVoteCast>(host, &BeforeCvLuaGame_lGetPreviousVoteCast);CivRegisterAfter<CivHooks::CvLuaGame_lGetPreviousVoteCast>(host, &AfterCvLuaGame_lGetPreviousVoteCast);CivRegisterReplace<CivHooks::CvLuaGame_lGetPreviousVoteCast>(host, &ReplaceCvLuaGame_lGetPreviousVoteCast);

Code

1380//TeamTypes GetPreviousVoteCast();1381int CvLuaGame::lGetPreviousVoteCast(lua_State* L)1382{1383	return BasicLuaMethod(L, &CvGame::GetPreviousVoteCast);1384}

Calls

Called by