Home › Engine Lua tables › Matchmaking

Engine executable. Settings and tools of the game program (CivilizationVI.exe), usable without a mod. Mostly undocumented debug and configuration functionality; descriptions come from analysis of the executable and have not all been tried in the running game.

Matchmaking

Static table with 11 methods. named from how the game scripts call it (11 of 11 methods matched). Registering function 0x267f10.

Methods are called with a dot (Matchmaking.Method(...)).

Method Returns In game scripts Example Status
Matchmaking.AcceptCloudGameInvite(arg1: integer) — 1 calls, 1 files Matchmaking.AcceptCloudGameInvite(m_matchID) inferred
Matchmaking.GetGameList(…) -> table table 1 calls, 1 files local serverTable = Matchmaking.GetGameList() inferred
Matchmaking.GetGameListEntry(arg1: integer, …) -> table table 2 calls, 2 files local serverTable = Matchmaking.GetGameListEntry(idLobby) inferred
Matchmaking.InitLobby(arg1) -> boolean boolean 2 calls, 2 files Matchmaking.InitLobby(GetTestLobbyType()) inferred
Matchmaking.IsGameListAtEnd() -> boolean boolean 1 calls, 1 files if(IsOffsetScrolling() and not Matchmaking.IsGameListAtEnd() inferred
Matchmaking.IsRefreshingGameList() -> boolean boolean 4 calls, 1 files if (Matchmaking.IsRefreshingGameList() inferred
Matchmaking.RefreshGameList() -> number number 5 calls, 2 files Matchmaking.RefreshGameList() inferred
Matchmaking.SetBrowseMode([arg1: integer]) — 2 calls, 1 files Matchmaking.SetBrowseMode(m_browserMode) inferred
Matchmaking.SetBrowseOffset(arg1: integer) — 1 calls, 1 files Matchmaking.SetBrowseOffset(m_browserOffset) inferred
Matchmaking.SetGameListType([arg1: integer], [arg2: integer]) — 5 calls, 1 files Matchmaking.SetGameListType( LIST_SERVERS, SEARCH_LAN ) inferred
Matchmaking.StopRefreshingGameList() — 1 calls, 1 files Matchmaking.StopRefreshingGameList() inferred