Bazaar developer reference

CvLuaPlayer::lRemoveBuildingClass(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 1904
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lRemoveBuildingClass

Hooks

static bool BeforeCvLuaPlayer_lRemoveBuildingClass(lua_State* L, int& result);static void AfterCvLuaPlayer_lRemoveBuildingClass(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lRemoveBuildingClass(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lRemoveBuildingClass>(host, &BeforeCvLuaPlayer_lRemoveBuildingClass);CivRegisterAfter<CivHooks::CvLuaPlayer_lRemoveBuildingClass>(host, &AfterCvLuaPlayer_lRemoveBuildingClass);CivRegisterReplace<CivHooks::CvLuaPlayer_lRemoveBuildingClass>(host, &ReplaceCvLuaPlayer_lRemoveBuildingClass);

Code

1903//void removeBuildingClass(BuildingClassTypes  eBuildingClass);1904int CvLuaPlayer::lRemoveBuildingClass(lua_State* L)1905{1906	return BasicLuaMethod(L, &CvPlayerAI::removeBuildingClass);1907}

Calls

Called by