Bazaar developer reference

CvLuaPlayer::lSetPlayable(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 7464
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lSetPlayable

Hooks

static bool BeforeCvLuaPlayer_lSetPlayable(lua_State* L, int& result);static void AfterCvLuaPlayer_lSetPlayable(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lSetPlayable(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lSetPlayable>(host, &BeforeCvLuaPlayer_lSetPlayable);CivRegisterAfter<CivHooks::CvLuaPlayer_lSetPlayable>(host, &AfterCvLuaPlayer_lSetPlayable);CivRegisterReplace<CivHooks::CvLuaPlayer_lSetPlayable>(host, &ReplaceCvLuaPlayer_lSetPlayable);

Code

7463//void setPlayable(bool bNewValue);7464int CvLuaPlayer::lSetPlayable(lua_State* L)7465{7466	return BasicLuaMethod(L, &CvPlayerAI::setPlayable);7467}

Calls

Called by