Network (Civ5 Type)

From Civilization Modding Wiki
Revision as of 15:21, 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 Network.SomeMethod(<args>). When a dot is used the caller object is not implicitly provided as the first argument.

B

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

G

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png int GetDebugLogLevel()
Check.png Check.png Star.png Speech.png unknown GetLocalTurnSliceInfo()
Check.png Check.png Star.png Speech.png unknown GetMapRandSeed()
Check.png Check.png Star.png Speech.png int GetPingTime(PlayerID player)
Check.png Check.png Star.png Speech.png unknown GetPlayerTurnSliceInfo(int arg0)
Check.png Check.png Star.png Speech.png unknown GetSynchRandSeed()
Check.png Check.png Star.png Speech.png int GetTurnSliceMaxMessageCount()

H

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png bool HasReconnectCache()
Check.png Check.png Star.png Speech.png int HasSentNetTurnAllComplete()
Check.png Check.png Star.png Speech.png int HasSentNetTurnComplete()

I

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png bool IsConnectedToSteam()
Check.png Check.png Star.png Speech.png bool IsEveryoneConnected()

R

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

S

Base game Gods & Kings ___________________________
Check.png Check.png Star.png Speech.png SendBarbarianRansom(int arg0, PlayerID unit)
Check.png Check.png Star.png Speech.png SendChangeWar(TeamID minorCivTeam, bool arg1)
Check.png Check.png Star.png Speech.png SendChat(int text, int chatTeam = nil, int chatPlayer = nil)
Check.png Check.png Star.png Speech.png SendCityBuyPlot(CityID arg0, int plotX, int plotY)
Check.png Check.png Star.png Speech.png SendDiploVote(SpecialistType votePlayer)
Check.png Check.png Star.png Speech.png SendDoTask(CityID cityID, TaskType task, int plotIndex, int arg3, bool arg4, bool alt, bool shift, bool ctrl)
Question.png Check.png Star.png Speech.png SendEnhanceReligion(PlayerID arg0, ReligionType CurrentReligion, unknown customName, unknown arg3, int arg4, int cityX, int cityY)
Check.png Check.png Star.png Speech.png SendExtendedGame()
Question.png Check.png Star.png Speech.png SendFaithGreatPersonChoice(PlayerID player, unknown arg1)
Question.png Check.png Star.png Speech.png SendFaithPurchase(PlayerID arg0, FaithPurchaseType v1, int v2)
Question.png Check.png Star.png Speech.png SendFoundPantheon(PlayerID arg0, BeliefType Belief)
Question.png Check.png Star.png Speech.png SendFoundReligion(PlayerID arg0, ReligionType CurrentReligion, unknown customName, unknown arg3, unknown arg4, BeliefType arg5, BeliefType arg6, int cityX, int cityY)
Check.png Check.png Star.png Speech.png SendGameOptions(table(int => table(int => string)) options)
Check.png Check.png Star.png Speech.png SendGiftUnit(int giftedPlayer, UnitID unitIndex)
Check.png Check.png Star.png Speech.png SendGreatPersonChoice(PlayerID player, unknown arg1)
Check.png Check.png Star.png Speech.png SendLiberateMinor(TeamID minor, TeamID city)
Question.png Check.png Star.png Speech.png SendMayaBonusChoice(PlayerID player, unknown arg1)
Check.png Check.png Star.png Speech.png SendMinorCivEnterTerritory(TeamID rivalTeam)
Check.png Check.png Star.png Speech.png SendMinorNoUnitSpawning(PlayerID minorCiv, bool arg1)
Question.png Check.png Star.png Speech.png SendMoveSpy(PlayerID arg0, unknown SelectedAgentID, PlayerID arg2, int arg3)
Check.png Question.png Star.png Speech.png SendPledgeMinorProtection(PlayerID minorCiv, bool arg1)
Check.png Check.png Star.png Speech.png SendRenameCity(CityID arg0, string arg1)
Check.png Check.png Star.png Speech.png SendRenameUnit(UnitID arg0, string arg1)
Check.png Check.png Star.png Speech.png SendResearch(PlayerID tech, ResourceType discover, int value, bool arg3 = nil)
Check.png Check.png Star.png Speech.png SendReturnCivilian(bool arg0, int giftedPlayer, UnitID unitIndex)
Check.png Check.png Star.png Speech.png SendSellBuilding(CityID arg0, BuildingType buildingToSell)
Check.png Check.png Star.png Speech.png SendSetCityAIFocus(CityID arg0, TaskType focus)
Check.png Check.png Star.png Speech.png SendSetCityAvoidGrowth(CityID arg0, bool arg1)
Question.png Check.png Star.png Speech.png SendStageCoup(PlayerID arg0, unknown arg1)
Check.png Check.png Star.png Speech.png bool SendTurnUnready()
Check.png Check.png Star.png Speech.png SendUpdateCityCitizens(CityID arg0)
Check.png Check.png Star.png Speech.png SendUpdatePolicies(int newPolicyBranch, bool policy, bool arg2)
Check.png Check.png Star.png Speech.png SetDebugLogLevel(int arg0)
Check.png Check.png Star.png Speech.png SetTurnSliceMaxMessageCount(int arg0)



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.