Bazaar developer reference

CvLuaPlayer::lSetJONSCulture(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 2518
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lSetJONSCulture

Hooks

static bool BeforeCvLuaPlayer_lSetJONSCulture(lua_State* L, int& result);static void AfterCvLuaPlayer_lSetJONSCulture(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lSetJONSCulture(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lSetJONSCulture>(host, &BeforeCvLuaPlayer_lSetJONSCulture);CivRegisterAfter<CivHooks::CvLuaPlayer_lSetJONSCulture>(host, &AfterCvLuaPlayer_lSetJONSCulture);CivRegisterReplace<CivHooks::CvLuaPlayer_lSetJONSCulture>(host, &ReplaceCvLuaPlayer_lSetJONSCulture);

Code

2517//void setJONSCulture(int iNewValue);2518int CvLuaPlayer::lSetJONSCulture(lua_State* L)2519{2520	return BasicLuaMethod(L, &CvPlayerAI::setJONSCulture);2521}

Calls

Called by