Bazaar developer reference

CvLuaCity::lSetPuppet(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3041
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lSetPuppet

Hooks

static bool BeforeCvLuaCity_lSetPuppet(lua_State* L, int& result);static void AfterCvLuaCity_lSetPuppet(lua_State* L, int& result);static int ReplaceCvLuaCity_lSetPuppet(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lSetPuppet>(host, &BeforeCvLuaCity_lSetPuppet);CivRegisterAfter<CivHooks::CvLuaCity_lSetPuppet>(host, &AfterCvLuaCity_lSetPuppet);CivRegisterReplace<CivHooks::CvLuaCity_lSetPuppet>(host, &ReplaceCvLuaCity_lSetPuppet);

Code

3040//void SetPuppet(bool bValue);3041int CvLuaCity::lSetPuppet(lua_State* L)3042{3043	return BasicLuaMethod(L, &CvCity::SetPuppet);3044}

Calls

Called by