Bazaar developer reference

CvLuaCity::lGetOwner(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 3161
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lGetOwner

Hooks

static bool BeforeCvLuaCity_lGetOwner(lua_State* L, int& result);static void AfterCvLuaCity_lGetOwner(lua_State* L, int& result);static int ReplaceCvLuaCity_lGetOwner(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lGetOwner>(host, &BeforeCvLuaCity_lGetOwner);CivRegisterAfter<CivHooks::CvLuaCity_lGetOwner>(host, &AfterCvLuaCity_lGetOwner);CivRegisterReplace<CivHooks::CvLuaCity_lGetOwner>(host, &ReplaceCvLuaCity_lGetOwner);

Code

3160//PlayerTypes getOwner();3161int CvLuaCity::lGetOwner(lua_State* L)3162{3163	return BasicLuaMethod(L, &CvCity::getOwner);3164}

Calls

Called by