Bazaar developer reference

CvLuaCity::lIsResistance(lua_State *)

Defined in
Lua/CvLuaCity.cpp, line 2991
Class
CvLuaCity
Hook name
CivHooks::CvLuaCity_lIsResistance

Hooks

static bool BeforeCvLuaCity_lIsResistance(lua_State* L, int& result);static void AfterCvLuaCity_lIsResistance(lua_State* L, int& result);static int ReplaceCvLuaCity_lIsResistance(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaCity_lIsResistance>(host, &BeforeCvLuaCity_lIsResistance);CivRegisterAfter<CivHooks::CvLuaCity_lIsResistance>(host, &AfterCvLuaCity_lIsResistance);CivRegisterReplace<CivHooks::CvLuaCity_lIsResistance>(host, &ReplaceCvLuaCity_lIsResistance);

Code

2990//int IsResistance();2991int CvLuaCity::lIsResistance(lua_State* L)2992{2993	return BasicLuaMethod(L, &CvCity::IsResistance);2994}

Calls

Called by