Skip to content
HungryForFood edited this page Feb 1, 2021 · 5 revisions

D

Return Method (arguments) Description
void DoProposeEnact(ResolutionType iResolution, PlayerID iPlayer, opt int iChoice) Proposes to enact a resolution at the world congress, if valid. iChoice is related to resolutions such as spheres of influence, open doors, sanction, etc.
void DoProposeRepeal(ResolutionType iResolution, PlayerID iPlayer) Proposes to repeal a resolution at the world congress, if valid.
void DoVoteAbstain(PlayerID iPlayer, int iNumVotes) The specified player will abstain the specified number of votes, if valid.
void DoVoteEnact(int iProposal, PlayerID iPlayer, int iNumVotes, int iChoice) The specified player votes to enact the proposal, if valid. iChoice is related to resolutions such as spheres of influence, open doors, sanction, etc.
void DoVoteRepeal(int iProposal, PlayerID iPlayer, int iNumVotes, int iChoice) The specified player votes to repeal the proposal, if valid. iChoice is related to resolutions such as spheres of influence, open doors, sanction, etc.

G

Return Method (arguments) Description
int GetPotentialVotesForMember(PlayerID iVoteBuyer, PlayerID iVoteSeller) Returns the number of votes a player can potentially buy from another player. The buyer must have a diplomat in the seller's capital, or be the seller's master.
int GetSpaceShipProductionMod()
int GetSpaceShipPurchaseMod()

I

Return Method (arguments) Description
bool IsPlayerEmbargoed(PlayerID iPlayer) Is the player sanctioned?