Game (Civ5 Type)

From Civilization Modding Wiki
Revision as of 16:09, 19 September 2012 by DonQuich (talk | contribs) (Bot update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

This page is a part of the Lua and UI Reference (Civ5).


Static Methods

Methods are functions that belong to an object. Static methods are invoked through a dot, as in Game.SomeMethod(<args>). When a dot is used the caller object is not implicitly provided as the first argument.

A

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png AddPlayer(PlayerID newPlayer, LeaderType leader, CivilizationType civ)

C

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png int CalculateOptionsChecksum()
CheckButZero.png CheckButZero.png Star.png Speech.png int CalculateSyncChecksum()
Check.png Check.png Star.png Speech.png int CanDoControl(ControlType arg0)
Check.png Check.png Star.png Speech.png bool CanHandleAction(ActionType action, Plot plot = nil, bool testVisible = false)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanHaveSecretaryGeneral(VoteSourceType voteSource)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CanTrainNukes()
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeDiploVote(VoteSourceType voteSource, int change)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangeMaxTurns(int change)
Check.png Check.png Star.png Speech.png ChangeNoNukesCount(int change)
Check.png Check.png Star.png Speech.png ChangeNukesExploded(int change)
Check.png Check.png Star.png Speech.png ChangeNumVotesForTeam(TeamID team, int kiVaticanExtraVotes)
CheckButZero.png CheckButZero.png Star.png Speech.png ChangePlotExtraCost(int x, int y, int extraCost)
Check.png Check.png Star.png Speech.png CityPurchaseBuilding(City city, UnitType unitType, int buildingType, ProjectType projectTypes)
Check.png Check.png Star.png Speech.png CityPurchaseProject(City city, UnitType unitType, int buildingType, ProjectType projectTypes)
Check.png Check.png Star.png Speech.png CityPurchaseUnit(City city, UnitType unitType, int buildingType, ProjectType projectTypes)
Check.png Check.png Star.png Speech.png CityPushOrder(City city, OrderType order, UnitType data, bool alt, bool shift, bool ctrl)
Check.png Check.png Star.png Speech.png int CountCivPlayersAlive()
CheckButZero.png CheckButZero.png Star.png Speech.png int CountCivPlayersEverAlive()
CheckButZero.png CheckButZero.png Star.png Speech.png int CountCivTeamsAlive()
Check.png Check.png Star.png Speech.png int CountCivTeamsEverAlive()
Check.png Check.png Star.png Speech.png int CountHumanPlayersAlive()
CheckButZero.png CheckButZero.png Star.png Speech.png int CountHumanPlayersEverAlive()
CheckButZero.png CheckButZero.png Star.png Speech.png int CountKnownTechNumTeams(TechType tech)
CheckButZero.png CheckButZero.png Star.png Speech.png int CountNumHumanGameTurnActive()
CheckButZero.png CheckButZero.png Star.png Speech.png int CountPossibleVote(VoteType vote, VoteSourceType voteSource)
CheckButZero.png CheckButZero.png Star.png Speech.png int CountTotalCivPower()
CheckButZero.png CheckButZero.png Star.png Speech.png int CountTotalNukeUnits()
CheckButZero.png CheckButZero.png Star.png Speech.png CycleCities(bool forward, bool add)
CheckButZero.png CheckButZero.png Star.png Speech.png bool CyclePlotUnits(Plot plot, bool forward, bool auto, int count)
Check.png Check.png Star.png Speech.png CycleUnits(bool clear, bool forward, bool workers)

D

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png DoControl(ControlType control)
Check.png Check.png Star.png Speech.png DoFromUIDiploEvent(DiploUIEventType event, PlayerID aIPlayer, SpecialistType button, int againstPlayer, int arg3)
Check.png Check.png Star.png Speech.png DoMinorBullyGold(PlayerID activePlayer, PlayerID minorCiv)
Check.png Check.png Star.png Speech.png DoMinorBullyUnit(PlayerID activePlayer, PlayerID minorCiv)
Check.png Check.png Star.png Speech.png DoMinorBuyout(PlayerID activePlayer, PlayerID minorCiv)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png DoMinorGiftGold
Check.png Check.png Star.png Speech.png DoMinorGiftTileImprovement(PlayerID fromPlayer, TaskType toPlayer, int plotX, int plotY)
Check.png Check.png Star.png Speech.png DoMinorGoldGift(TeamID gold, int goldGiftSmall)
Check.png Check.png Star.png Speech.png DoMinorPledgeProtection(PlayerID activePlayer, PlayerID minorCiv, bool arg2)

E

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png EnhanceReligion(PlayerID vaticanPlayer, ReligionType religion, BeliefType belief4, BeliefType belief5)

F

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png FoundPantheon(int vaticanPlayer, BeliefType belief1)
Check.png Check.png Star.png Speech.png FoundReligion(PlayerID vaticanPlayer, ReligionType religion, unknown arg2, BeliefType belief2, BeliefType belief3, BeliefType belief3, int arg6, City vaticanCity)

G

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GameplayDiplomacyAILeaderMessage
CheckButZero.png CheckButZero.png Star.png Speech.png CivilizationType GetActiveCivilizationType()
Check.png Check.png Star.png Speech.png PlayerID GetActivePlayer()
Check.png Check.png Star.png Speech.png TeamID GetActiveTeam()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdjustedLandPercent(VictoryType victory)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAdjustedPopulationPercent(VictoryType victory)
Check.png Check.png Star.png Speech.png unknown GetAdvisorCounsel()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetAIAutoPlay()
Check.png Check.png Star.png Speech.png bool GetAllowRClickMovementWhileScrolling()
Check.png Check.png Star.png Speech.png iterator(int, BeliefType) GetAvailableBonusBeliefs()
Check.png Check.png Star.png Speech.png iterator(int, BeliefType) GetAvailableEnhancerBeliefs()
Check.png Check.png Star.png Speech.png iterator(int, BeliefType) GetAvailableFollowerBeliefs()
Check.png Check.png Star.png Speech.png iterator(int, BeliefType) GetAvailableFounderBeliefs()
Check.png Check.png Star.png Speech.png iterator(int, BeliefType) GetAvailablePantheonBeliefs()
Check.png Check.png Star.png Speech.png iterator(int, BeliefType) GetBeliefsInReligion()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetBestGreatPeoplePlayer
CheckButZero.png CheckButZero.png Star.png Speech.png UnitType GetBestLandUnit()
CheckButZero.png CheckButZero.png Star.png Speech.png UnitType GetBestLandUnitCombat()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetBestPoliciesPlayer
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetBestWondersPlayer
CheckButZero.png CheckButZero.png Star.png Speech.png int GetBuildingClassCreatedCount(BuildingClassType index)
Check.png Check.png Star.png Speech.png int GetBuildingYieldChange(BuildingType building, YieldType arg1)
Check.png Check.png Star.png Speech.png int GetBuildingYieldModifier(BuildingType building, YieldType arg1)
Check.png Check.png Star.png Speech.png CalendarType GetCalendar()
Check.png Check.png Star.png Speech.png CombatPredictionType GetCombatPrediction(Unit myUnit, Unit theirUnit)
CheckButZero.png CheckButZero.png Star.png Speech.png EraType GetCurrentEra()
Check.png Check.png Star.png Speech.png bool GetCustomOption(string optionName)
Check.png Check.png Star.png Speech.png ResourceType GetDealDuration()
CheckButZero.png CheckButZero.png Star.png Speech.png string GetDiploResponse(unknown leaderType, DiploResponseType responseType)
Check.png Check.png Star.png Speech.png int GetElapsedGameTurns()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetEstimateEndTurn()
Check.png Check.png Star.png Speech.png int GetFaithCost(UnitType unit)
Check.png Check.png Star.png Speech.png PlayerID GetFounder(ReligionType arg0, int arg1)
Check.png Check.png Star.png Speech.png ReligionType GetFounderBenefitsReligion(PlayerID player)
Check.png Check.png Star.png Speech.png GameSpeedType GetGameSpeedType()
Check.png Check.png Star.png Speech.png GameplayStateType GetGameState()
Check.png Check.png Star.png Speech.png PlayerID GetGameTurn()
Check.png Check.png Star.png Speech.png int GetGameTurnYear()
Check.png Check.png Star.png Speech.png HandicapType GetHandicapType()
Check.png Check.png Star.png Speech.png City GetHolyCityForReligion(ReligionType religion, PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetImprovementUpgradeTime(ImprovementType improvement, Plot plot)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetInitLand()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetInitPopulation()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetInitTech()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetInitWonders()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxCityElimination()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxLand()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxPopulation()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxTech()
Check.png Check.png Star.png Speech.png int GetMaxTurns()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMaxWonders()
Check.png Check.png Star.png Speech.png int GetMinimumFaithNextPantheon()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetMinutesPlayed()
CheckButZero.png CheckButZero.png Star.png Speech.png string GetName()
Check.png Check.png Star.png Speech.png PlayerID GetNoNukesCount()
Check.png Check.png Star.png Speech.png int GetNukesExploded()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumAdvancedStartPoints()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumCities()
Check.png Check.png Star.png Speech.png int GetNumCitiesFollowing(ReligionType religion)
Check.png Check.png Star.png Speech.png int GetNumCitiesPolicyCostMod()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumCivCities()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetNumFollowers
Check.png Check.png Star.png Speech.png int GetNumGameTurnActive()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumHumanPlayers()
Check.png Check.png Star.png Speech.png int GetNumReligionsFounded()
Check.png Check.png Star.png Speech.png int GetNumReligionsStillToFound()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumReplayMessages()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumResourceRequiredForBuilding()
Check.png Check.png Star.png Speech.png int GetNumResourceRequiredForUnit(UnitType unit, ResourceType resource)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetNumVictoryVotesTallied()
Check.png Check.png Star.png Speech.png int GetNumVotesForTeam(TeamID teamLoop)
Check.png Check.png Star.png Speech.png int GetNumWorldWonders()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPausePlayer()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPitbossTurnTime()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPlayerRank(PlayerID index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPlayerScore(PlayerID index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetPlayerVote(PlayerID ownerIndex, int voteId)
Check.png Check.png Star.png Speech.png int GetPreviousVoteCast(TeamID teamLoop)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetProductionPerPopulation(HurryType hurry)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetProjectCreatedCount(ProjectType index)
CheckButZero.png CheckButZero.png Star.png Speech.png PlayerID GetRankPlayer(int rank)
CheckButZero.png CheckButZero.png Star.png Speech.png TeamID GetRankTeam(int rank)
Check.png Check.png Star.png Speech.png string GetReligionName(ReligionType religion)
CheckButZero.png CheckButZero.png Star.png Speech.png unknown GetReplayInfo()
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png GetReplayMessage
Check.png Check.png Star.png Speech.png table(int => IntrigueInfo) GetReplayMessages()
Check.png Check.png Star.png Speech.png int GetResearchAgreementCost(PlayerID us, PlayerID them)
Check.png Check.png Star.png Speech.png ResourceUsageType GetResourceUsageType(ResourceType resourceLoop)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetSecretaryGeneral(VoteSourceType voteSource)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetSecretaryGeneralTimer(int voteSource)
Check.png Check.png Star.png Speech.png EraType GetStartEra()
Check.png Check.png Star.png Speech.png PlayerID GetStartTurn()
Check.png Check.png Star.png Speech.png int GetStartYear()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTargetScore()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTeamRank(TeamID index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTeamScore(TeamID index)
Check.png Check.png Star.png Speech.png string GetTimeString()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTotalPopulation()
Check.png Check.png Star.png Speech.png unknown GetTurnsBetweenMinorCivElections()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTurnSlice()
Check.png Check.png Star.png Speech.png unknown GetTurnsUntilMinorCivElection()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetTurnYear(int gameTurn)
Check.png Check.png Star.png Speech.png int GetTutorialLevel()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetUnitClassCreatedCount(UnitClassType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetUnitCreatedCount(UnitType index)
Check.png Check.png Star.png Speech.png int GetUnitedNationsCountdown()
Check.png Check.png Star.png Speech.png UnitType GetUnitUpgradesTo(UnitType unit)
Check.png Check.png Star.png Speech.png int GetVariableCitySizeFromPopulation(int population)
CheckButZero.png CheckButZero.png Star.png Speech.png VictoryType GetVictory()
Check.png Check.png Star.png Speech.png TeamID GetVoteCast(TeamID team)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetVoteOutcome(VoteType index)
CheckButZero.png CheckButZero.png Star.png Speech.png int GetVoteRequired(VoteType vote, VoteSourceType voteSource)
Check.png Check.png Star.png Speech.png int GetVotesNeededForDiploVictory()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetVoteTimer(int voteSource)
Check.png Check.png Star.png Speech.png TeamID GetWinner()
CheckButZero.png CheckButZero.png Star.png Speech.png int GetWinningTurn()
Check.png Check.png Star.png Speech.png int GetWorldNumCitiesUnhappinessPercent()
CheckButZero.png CheckButZero.png Star.png Speech.png int GoldenAgeLength()

H

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png HandleAction(PolicyType action)
Check.png Check.png Star.png Speech.png int HasAdvisorMessageBeenSeen(string tutorialID)

I

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsBuildingClassMaxedOut(BuildingClassType index, int extra)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsBuildingEverActive(BuildingType building)
Check.png Check.png Star.png Speech.png bool IsBuildingRecommended(int building, AdvisorType advisorLoop)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsChooseElection(VoteType vote)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsCircumnavigated()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsCivEverActive(CivilizationType civilization)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsCombatWarned()
Check.png Check.png Star.png Speech.png bool IsDebugMode()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsDiploVote(VoteSourceType voteSource)
Check.png Check.png Star.png Speech.png bool IsEverAttackedTutorial()
Check.png Check.png Star.png Speech.png bool IsEverRightClickMoved()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsFinalInitialized()
Check.png Check.png Star.png Speech.png int IsGameMultiPlayer()
Check.png Check.png Star.png Speech.png int IsHotSeat()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsInAdvancedStart()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsLeaderEverActive(LeaderType leader)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsMPOption(MultiOptionType index)
Check.png Check.png Star.png Speech.png int IsNetworkMultiPlayer()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsNoNukes()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsNukesValid()
Check.png Check.png Star.png Speech.png int IsOption(string index)
Check.png Check.png Star.png Speech.png bool IsPaused()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsPbem()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsPitboss()
Check.png Check.png Star.png Speech.png int IsProcessingMessages()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsProjectMaxedOut(ProjectType index, int extra)
Check.png Check.png Star.png Speech.png bool IsProjectRecommended(int project, AdvisorType advisorLoop)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsScoreDirty()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsSimultaneousTeamTurns()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsSpecialUnitValid(SpecialUnitType specialUnitType)
Check.png Check.png Star.png Speech.png int IsStaticTutorialActive()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsTeamGame()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsTeamVote(VoteType vote)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsTeamVoteEligible(TeamID team, VoteSourceType voteSource)
Check.png Check.png Star.png Speech.png bool IsTechRecommended(TechType arg0, AdvisorType advisorLoop)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsTutorialDebugging()
Check.png Check.png Star.png Speech.png bool IsTutorialLogging()
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsUnitClassMaxedOut(UnitClassType index, int extra)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsUnitEverActive(UnitType unit)
Check.png Check.png Star.png Speech.png bool IsUnitRecommended(int unit, AdvisorType advisorLoop)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsVictoryValid(VictoryType index)
CheckButZero.png CheckButZero.png Star.png Speech.png bool IsVotePassed(VoteType index)

M

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png MakeCircumnavigated
CheckButZero.png CheckButZero.png Star.png Speech.png MakeNukesValid(bool valid)
CheckButZero.png CheckButZero.png Star.png Speech.png MakeSpecialUnitValid(SpecialUnitType specialUnitType)

R

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png int Rand(int max_num, string log)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png ReviveActivePlayer

S

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png SaveReplay(PlayerID player)
Check.png Check.png Star.png Speech.png SelectedCitiesGameNetMessage(GameMessageType message, TaskType data2, int data3, BuildingType data4, bool option, bool alt, bool shift, bool ctrl)
Check.png Check.png Star.png Speech.png SelectionListGameNetMessage(GameMessageType message, int data2 = -1, BuildActionType data3 = -1, UnitID data4 = -1, int flags = 0, bool alt = false, bool shift = false)
Check.png Check.png Star.png Speech.png SelectionListMove(Plot plot, int alt, bool shift, int ctrl)
Check.png Check.png Star.png Speech.png SetActivePlayer(PlayerID newValue, bool forceHotSeat)
Check.png Check.png Star.png Speech.png SetAdvisorBadAttackInterrupt(bool arg0)
Check.png Check.png Star.png Speech.png SetAdvisorCityAttackInterrupt(bool arg0)
Check.png Check.png Star.png Speech.png SetAdvisorMessageHasBeenSeen(unknown arg0, bool arg1)
Check.png Check.png Star.png Speech.png SetAdvisorRecommenderCity(City city)
Check.png Check.png Star.png Speech.png SetAdvisorRecommenderTech(PlayerID player)
CheckButZero.png CheckButZero.png Star.png Speech.png SetAIAutoPlay(int newValue)
Check.png Check.png Star.png Speech.png SetCombatWarned(bool arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png bool SetDebugMode()
CheckButZero.png CheckButZero.png Star.png Speech.png SetEstimateEndTurn(int newValue)
Check.png Check.png Star.png Speech.png SetEverRightClickMoved(bool arg0)
Check.png Check.png Star.png Speech.png SetFounder(ReligionType arg0, PlayerID newOwner)
Check.png Check.png Star.png Speech.png SetGameState(GameplayStateType arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png SetGameTurn(int newValue)
Check.png Check.png Star.png Speech.png SetHolyCity(ReligionType arg0, City newHolyCity)
CheckButZero.png CheckButZero.png Star.png Speech.png SetMaxCityElimination(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png SetMaxTurns(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetMinimumFaithNextPantheon
CheckButZero.png CheckButZero.png Star.png Speech.png SetName(string name)
CheckButZero.png CheckButZero.png Star.png Speech.png SetNumAdvancedStartPoints(int newValue)
CheckButZero.png CheckButZero.png Star.png Speech.png Question-blue.png SetNumVotesForTeam
CheckButZero.png CheckButZero.png Star.png Speech.png SetOption(GameOptionType index, bool enabled)
Check.png Check.png Star.png Speech.png SetPausePlayer(PlayerID arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png SetPitbossTurnTime(int hours)
CheckButZero.png CheckButZero.png Star.png Speech.png SetPlotExtraYield(int x, int y, YieldType yield, int extraYield)
CheckButZero.png CheckButZero.png Star.png Speech.png SetScoreDirty(bool newValue)
Check.png Check.png Star.png Speech.png SetStartYear(int newValue)
Check.png Check.png Star.png Speech.png SetStaticTutorialActive(bool arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png SetTargetScore(int newValue)
Check.png Check.png Star.png Speech.png SetUnitedNationsCountdown(int arg0)
Check.png Check.png Star.png Speech.png SetVictoryValid(VictoryType arg0, bool arg1)
Check.png Check.png Star.png Speech.png SetWinner(TeamID newWinner, VictoryType newVictory)

T

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png ToggleDebugMode()

U

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png UpdateFOW(bool arg0)
CheckButZero.png CheckButZero.png Star.png Speech.png UpdateScore(bool force)

V

Base game Gods & Kings ___________________________
CheckButZero.png CheckButZero.png Star.png Speech.png int VictoryDelay(VictoryType victory)



The initial version of this page was created by the Civ5 API Bot, see the Civ5 API Reference FAQ. Some of the texts come from the 2kgames' wiki and most of code samples are copyrighted to Firaxis.
Functions' signatures were either copied from the 2kgames' wiki, or infered from the Lua source files and the binaries. Errors are possible.
Contributors may find help in the Contributors guide to the Civ5 API.