Bazaar developer reference

CvLuaTeam::lGetSecretaryID(lua_State *)

Defined in
Lua/CvLuaTeam.cpp, line 556
Class
CvLuaTeam
Hook name
CivHooks::CvLuaTeam_lGetSecretaryID

Hooks

static bool BeforeCvLuaTeam_lGetSecretaryID(lua_State* L, int& result);static void AfterCvLuaTeam_lGetSecretaryID(lua_State* L, int& result);static int ReplaceCvLuaTeam_lGetSecretaryID(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaTeam_lGetSecretaryID>(host, &BeforeCvLuaTeam_lGetSecretaryID);CivRegisterAfter<CivHooks::CvLuaTeam_lGetSecretaryID>(host, &AfterCvLuaTeam_lGetSecretaryID);CivRegisterReplace<CivHooks::CvLuaTeam_lGetSecretaryID>(host, &ReplaceCvLuaTeam_lGetSecretaryID);

Code

555//PlayerTypes getSecretaryID();556int CvLuaTeam::lGetSecretaryID(lua_State* L)557{558	return BasicLuaMethod(L, &CvTeam::getSecretaryID);559}

Calls

Called by