Network (Civ5 Type)
From Civilization Modding Wiki
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
|
BroadcastGameSettings()
| ||||
|
BroadcastPlayerInfo()
|
G
int
|
GetDebugLogLevel()
| ||||
unknown
|
GetLocalTurnSliceInfo()
| ||||
unknown
|
GetMapRandSeed()
| ||||
int
|
GetPingTime(PlayerID player)
| ||||
unknown
|
GetPlayerTurnSliceInfo(int arg0)
| ||||
unknown
|
GetSynchRandSeed()
| ||||
int
|
GetTurnSliceMaxMessageCount()
|
H
bool
|
HasReconnectCache()
| ||||
int
|
HasSentNetTurnAllComplete()
| ||||
int
|
HasSentNetTurnComplete()
|
I
bool
|
IsConnectedToSteam()
| ||||
bool
|
IsEveryoneConnected()
|
R
|
Reconnect()
|
S
|
SendBarbarianRansom(int arg0, PlayerID unit)
| ||||
|
SendChangeWar(TeamID minorCivTeam, bool arg1)
| ||||
|
SendChat(int text, int chatTeam = nil, int chatPlayer = nil)
| ||||
|
SendCityBuyPlot(CityID arg0, int plotX, int plotY)
| ||||
|
SendDiploVote(SpecialistType votePlayer)
| ||||
|
SendDoTask(CityID cityID, TaskType task, int plotIndex, int arg3, bool arg4, bool alt, bool shift, bool ctrl)
| ||||
|
SendEnhanceReligion(PlayerID arg0, ReligionType CurrentReligion, unknown customName, unknown arg3, int arg4, int cityX, int cityY)
| ||||
|
SendExtendedGame()
| ||||
|
SendFaithGreatPersonChoice(PlayerID player, unknown arg1)
| ||||
|
SendFaithPurchase(PlayerID arg0, FaithPurchaseType v1, int v2)
| ||||
|
SendFoundPantheon(PlayerID arg0, BeliefType Belief)
| ||||
|
SendFoundReligion(PlayerID arg0, ReligionType CurrentReligion, unknown customName, unknown arg3, unknown arg4, BeliefType arg5, BeliefType arg6, int cityX, int cityY)
| ||||
|
SendGameOptions(table(int => table(int => string)) options)
| ||||
|
SendGiftUnit(int giftedPlayer, UnitID unitIndex)
| ||||
|
SendGreatPersonChoice(PlayerID player, unknown arg1)
| ||||
|
SendLiberateMinor(TeamID minor, TeamID city)
| ||||
|
SendMayaBonusChoice(PlayerID player, unknown arg1)
| ||||
|
SendMinorCivEnterTerritory(TeamID rivalTeam)
| ||||
|
SendMinorNoUnitSpawning(PlayerID minorCiv, bool arg1)
| ||||
|
SendMoveSpy(PlayerID arg0, unknown SelectedAgentID, PlayerID arg2, int arg3)
| ||||
|
SendPledgeMinorProtection(PlayerID minorCiv, bool arg1)
| ||||
|
SendRenameCity(CityID arg0, string arg1)
| ||||
|
SendRenameUnit(UnitID arg0, string arg1)
| ||||
|
SendResearch(PlayerID tech, ResourceType discover, int value, bool arg3 = nil)
| ||||
|
SendReturnCivilian(bool arg0, int giftedPlayer, UnitID unitIndex)
| ||||
|
SendSellBuilding(CityID arg0, BuildingType buildingToSell)
| ||||
|
SendSetCityAIFocus(CityID arg0, TaskType focus)
| ||||
|
SendSetCityAvoidGrowth(CityID arg0, bool arg1)
| ||||
|
SendStageCoup(PlayerID arg0, unknown arg1)
| ||||
bool
|
SendTurnUnready()
| ||||
|
SendUpdateCityCitizens(CityID arg0)
| ||||
|
SendUpdatePolicies(int newPolicyBranch, bool policy, bool arg2)
| ||||
|
SetDebugLogLevel(int arg0)
| ||||
|
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.