Bazaar developer reference

CvLuaGame::lGetNoNukesCount(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1045
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetNoNukesCount

Hooks

static bool BeforeCvLuaGame_lGetNoNukesCount(lua_State* L, int& result);static void AfterCvLuaGame_lGetNoNukesCount(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetNoNukesCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetNoNukesCount>(host, &BeforeCvLuaGame_lGetNoNukesCount);CivRegisterAfter<CivHooks::CvLuaGame_lGetNoNukesCount>(host, &AfterCvLuaGame_lGetNoNukesCount);CivRegisterReplace<CivHooks::CvLuaGame_lGetNoNukesCount>(host, &ReplaceCvLuaGame_lGetNoNukesCount);

Code

1044//int getNoNukesCount();1045int CvLuaGame::lGetNoNukesCount(lua_State* L)1046{1047	return BasicLuaMethod(L, &CvGame::getNoNukesCount);1048}

Calls

Called by