Bazaar developer reference

CvLuaLeague::PushMethods(lua_State *, int)

Defined in
Lua/CvLuaLeague.cpp, line 28
Class
CvLuaLeague
Hook name
CivHooks::CvLuaLeague_PushMethods

Hooks

static bool BeforeCvLuaLeague_PushMethods(lua_State* L, int t);static void AfterCvLuaLeague_PushMethods(lua_State* L, int t);static void ReplaceCvLuaLeague_PushMethods(void (*original)(lua_State*, int), lua_State* L, int t);CivRegisterBefore<CivHooks::CvLuaLeague_PushMethods>(host, &BeforeCvLuaLeague_PushMethods);CivRegisterAfter<CivHooks::CvLuaLeague_PushMethods>(host, &AfterCvLuaLeague_PushMethods);CivRegisterReplace<CivHooks::CvLuaLeague_PushMethods>(host, &ReplaceCvLuaLeague_PushMethods);

Code

28void CvLuaLeague::PushMethods(lua_State* L, int t)29{30	Method(IsNone);31	32	Method(GetID);33	Method(GetName);34	Method(CanChangeCustomName);3536	Method(IsInSession);37	Method(IsInSpecialSession);38	Method(GetTurnsUntilSession);39	Method(GetTurnsUntilVictorySession);4041	Method(CanProposeEnactAnyChoice);42	Method(CanProposeEnact);43	Method(CanProposeRepeal);44	Method(IsProposed);45	Method(GetChoicesForDecision);46	Method(GetTextForChoice);47	Method(GetInactiveResolutions);48	Method(GetEnactProposals);49	Method(GetEnactProposalsOnHold);50	Method(GetRepealProposals);51	Method(GetRepealProposalsOnHold);52	Method(GetActiveResolutions);5354	Method(IsMember);55	Method(CanVote);56	Method(GetRemainingVotesForMember);57	Method(GetSpentVotesForMember);58	Method(GetCoreVotesForMember);59	Method(CalculateStartingVotesForMember);60	Method(CanPropose);61	Method(GetRemainingProposalsForMember);6263	Method(IsHostMember);64	Method(GetHostMember);65	Method(IsUnitedNations);6667#if defined(MOD_API_LUA_EXTENSIONS)68	Method(DoProposeEnact);69	Method(DoProposeRepeal);70	Method(DoVoteEnact);71	Method(DoVoteRepeal);72	Method(DoVoteAbstain);73#endif7475	Method(IsProjectActive);76	Method(IsProjectComplete);77	Method(GetProjectCostPerPlayer);78	Method(GetProjectBuildingCostPerPlayer);79	Method(GetProjectCost);80	Method(GetMemberContribution);81	Method(GetMemberContributionTier);82	Method(GetContributionTierThreshold);8384	Method(GetArtsyGreatPersonRateModifier);85	Method(GetScienceyGreatPersonRateModifier);86	87#if defined(MOD_API_LUA_EXTENSIONS) && defined(MOD_API_EXTENSIONS)88	Method(IsPlayerEmbargoed);89#endif9091	Method(GetResolutionName);92	Method(GetResolutionDetails);93	Method(GetMemberDetails);94	Method(GetProjectDetails);95	Method(GetProjectRewardTierDetails);96	Method(GetCurrentEffectsSummary);97	Method(GetLeagueSplashTitle);98	Method(GetLeagueSplashDescription);99	Method(GetLeagueSplashThisEraDetails);100	Method(GetLeagueSplashNextEraDetails);101	Method(GetGreatPersonRateModifierDetails);102}

Calls