Bazaar developer reference

CvLuaGame::lDoMinorGoldGift(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1834
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lDoMinorGoldGift

Hooks

static bool BeforeCvLuaGame_lDoMinorGoldGift(lua_State* L, int& result);static void AfterCvLuaGame_lDoMinorGoldGift(lua_State* L, int& result);static int ReplaceCvLuaGame_lDoMinorGoldGift(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lDoMinorGoldGift>(host, &BeforeCvLuaGame_lDoMinorGoldGift);CivRegisterAfter<CivHooks::CvLuaGame_lDoMinorGoldGift>(host, &AfterCvLuaGame_lDoMinorGoldGift);CivRegisterReplace<CivHooks::CvLuaGame_lDoMinorGoldGift>(host, &ReplaceCvLuaGame_lDoMinorGoldGift);

Code

1832//void DoMinorGoldGift(int iMinorCivID, int iGold);1833// Old name, kept here for backwards compatibility1834int CvLuaGame::lDoMinorGoldGift(lua_State* L)1835{1836	return lDoMinorGiftGold(L);1837}

Calls

Called by