Matchmaking

From KitHack Model Club Wiki
Jump to navigation Jump to search

Back to SDK API Reference

Matchmaking

Matchmaking.IMatchMaker

  • Method: Void CreateMatch(MPSessionInfo mInfo, Boolean asHeadlessServer, Action`2 onResponse)
  • Method: Void GetMatchList(Action`2 onMatchList)
  • Method: Void JoinMatch(MPMatch match, Action`2 onJoinMatch)
  • Method: Void LeaveMatch(Action`1 onLeaveMatch)
  • Method: Void DestroyMatch(Action`1 onDestroyMatch)

Matchmaking.Matchmaker_MU

  • Method: Void Start()
  • Method: Void CreateMatch(MPSessionInfo mInfo, Boolean asHeadlessServer, Action`2 onResponse)
  • Method: Void SetMatchData(Dictionary`2 matchData)
  • Method: Void GetMatchList(Action`2 onMatchList)
  • Method: Void JoinMatch(MPMatch match, Action`2 onJoinMatch)
  • Method: Void onLostMatchmaker(Exception obj)
  • Method: Void Matchmaking.IMatchMaker.LeaveMatch(Action`1 onLeaveMatch)
  • Method: Void Matchmaking.IMatchMaker.DestroyMatch(Action`1 onDestroyMatch)
  • Method: Boolean get_IsReady()
  • Method: Void Update()
  • Method: Void StartConnect(Action`1 onDoneConnecting)
  • Method: IEnumerator ConnectToMatchmaker(Action`1 onDoneConnecting)
  • Method: Void Disconnect()
  • Method: Void CreateMatch(Int32 maxClients, Dictionary`2 matchData, Action`2 onCreateMatch)
  • Method: Void SetMatchData(String key, MatchData matchData, Action`2 onSetMatchData)
  • Method: Void SetMatchData(Dictionary`2 matchData, Action`2 onSetMatchData)
  • Method: Void UpdateMatchData(Dictionary`2 additionalData, Action`2 onUpdateMatchData)
  • Method: Void UpdateMatchData(Action`2 onUpdateMatchData)
  • Method: Void DestroyMatch(Action`1 onDestroyMatch)
  • Method: Void JoinMatch(Match match, Action`2 onJoinMatch)
  • Method: Void LeaveMatch(Action`1 onLeaveMatch)
  • Method: Void GetMatch(Action`2 onGetMatch, Int64 id, Boolean includeMatchData)
  • Method: Void GetMatchList(Action`2 onMatchList, Int32 pageNumber, Int32 resultsPerPage, List`1 filters, Boolean includeMatchData)
  • Method: Void KeepAliveLoop()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: Boolean IsReady
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: String matchmakerURL
  • Field: Int32 matchmakerPort
  • Field: Single timeout
  • Field: Int32 maxReconnectionAttempts
  • Field: String externalIPSource
  • Field: Action`1 onLostConnectionToMatchmakingServer
  • Field: Boolean autoConnect
  • Field: Match currentMatch

Matchmaking.Matchmaker_Steamworks

  • Method: Void CreateMatch(MPSessionInfo mInfo, Boolean asHeadlessServer, Action`2 onResponse)
  • Method: Void GetMatchList(Action`2 onMatchList)
  • Method: Void JoinMatch(MPMatch match, Action`2 onJoinMatch)
  • Method: Void LeaveMatch(Action`1 onLeaveMatch)
  • Method: Void DestroyMatch(Action`1 onDestroyMatch)
  • Method: Boolean get_HasLobby()
  • Method: Boolean get_IsPlayerOwner()
  • Method: Boolean get_AllPlayersReady()
  • Method: Boolean get_IsPlayerReady()
  • Method: Void set_IsPlayerReady(Boolean value)
  • Method: Boolean get_Full()
  • Method: Int32 get_Slots()
  • Method: Int32 get_MemberCount()
  • Method: Boolean get_IsTypeSet()
  • Method: ELobbyType get_Type()
  • Method: Void set_Type(ELobbyType value)
  • Method: Int32 get_MaxMembers()
  • Method: Void set_MaxMembers(Int32 value)
  • Method: Boolean get_HasServer()
  • Method: LobbyGameServer get_GameServer()
  • Method: String get_Item(String key)
  • Method: Void set_Item(String key, String value)
  • Method: LobbyMemberData get_Item(UserData user)
  • Method: Boolean SetType(ELobbyType type)
  • Method: Boolean SetJoinable(Boolean makeJoinable)
  • Method: Void QuickMatch(Boolean createOnFail)
  • Method: Void Create()
  • Method: Void Create(String name, ELobbyType type, Int32 slots, MetadataTempalate[] metadata)
  • Method: Void Create(ELobbyType type, Int32 slots, MetadataTempalate[] metadata)
  • Method: Void Create(Action`3 callback)
  • Method: Void Search(Int32 maxResults)
  • Method: Void Join(LobbyData lobby)
  • Method: Void Join(UInt64 lobby)
  • Method: Void Join(String lobbyIdAsString)
  • Method: Void Leave()
  • Method: Boolean SetLobbyData(String key, String value)
  • Method: Void SetMemberData(String key, String value)
  • Method: LobbyMemberData GetLobbyMember(UserData member)
  • Method: String GetLobbyData(String key)
  • Method: String GetMemberData(UserData member, String key)
  • Method: Boolean IsMemberReady(UserData member)
  • Method: Void KickMember(UserData member)
  • Method: Void Invite(UserData user)
  • Method: Void Invite(UInt32 FriendId)
  • Method: LobbyMemberData[] get_Members()
  • Method: Boolean IsInvoking()
  • Method: Void CancelInvoke()
  • Method: Void Invoke(String methodName, Single time)
  • Method: Void InvokeRepeating(String methodName, Single time, Single repeatRate)
  • Method: Void CancelInvoke(String methodName)
  • Method: Boolean IsInvoking(String methodName)
  • Method: Coroutine StartCoroutine(String methodName)
  • Method: Coroutine StartCoroutine(String methodName, Object value)
  • Method: Coroutine StartCoroutine(IEnumerator routine)
  • Method: Coroutine StartCoroutine_Auto(IEnumerator routine)
  • Method: Void StopCoroutine(IEnumerator routine)
  • Method: Void StopCoroutine(Coroutine routine)
  • Method: Void StopCoroutine(String methodName)
  • Method: Void StopAllCoroutines()
  • Method: Boolean get_useGUILayout()
  • Method: Void set_useGUILayout(Boolean value)
  • Method: String GetScriptClassName()
  • Method: Boolean get_enabled()
  • Method: Void set_enabled(Boolean value)
  • Method: Boolean get_isActiveAndEnabled()
  • Method: Transform get_transform()
  • Method: GameObject get_gameObject()
  • Method: Component GetComponent(Type type)
  • Method: Void GetComponentFastPath(Type type, IntPtr oneFurtherThanResultValue)
  • Method: T GetComponent()
  • Method: Boolean TryGetComponent(Type type, Component& component)
  • Method: Boolean TryGetComponent(T& component)
  • Method: Component GetComponent(String type)
  • Method: Component GetComponentInChildren(Type t, Boolean includeInactive)
  • Method: Component GetComponentInChildren(Type t)
  • Method: T GetComponentInChildren(Boolean includeInactive)
  • Method: T GetComponentInChildren()
  • Method: Component[] GetComponentsInChildren(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInChildren(Type t)
  • Method: T[] GetComponentsInChildren(Boolean includeInactive)
  • Method: Void GetComponentsInChildren(Boolean includeInactive, List`1 result)
  • Method: T[] GetComponentsInChildren()
  • Method: Void GetComponentsInChildren(List`1 results)
  • Method: Component GetComponentInParent(Type t, Boolean includeInactive)
  • Method: Component GetComponentInParent(Type t)
  • Method: T GetComponentInParent(Boolean includeInactive)
  • Method: T GetComponentInParent()
  • Method: Component[] GetComponentsInParent(Type t, Boolean includeInactive)
  • Method: Component[] GetComponentsInParent(Type t)
  • Method: T[] GetComponentsInParent(Boolean includeInactive)
  • Method: Void GetComponentsInParent(Boolean includeInactive, List`1 results)
  • Method: T[] GetComponentsInParent()
  • Method: Component[] GetComponents(Type type)
  • Method: Void GetComponents(Type type, List`1 results)
  • Method: Void GetComponents(List`1 results)
  • Method: String get_tag()
  • Method: Void set_tag(String value)
  • Method: T[] GetComponents()
  • Method: Boolean CompareTag(String tag)
  • Method: Void SendMessageUpwards(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessageUpwards(String methodName, Object value)
  • Method: Void SendMessageUpwards(String methodName)
  • Method: Void SendMessageUpwards(String methodName, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, Object value)
  • Method: Void SendMessage(String methodName)
  • Method: Void SendMessage(String methodName, Object value, SendMessageOptions options)
  • Method: Void SendMessage(String methodName, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter, SendMessageOptions options)
  • Method: Void BroadcastMessage(String methodName, Object parameter)
  • Method: Void BroadcastMessage(String methodName)
  • Method: Void BroadcastMessage(String methodName, SendMessageOptions options)
  • Method: Int32 GetInstanceID()
  • Method: Int32 GetHashCode()
  • Method: Boolean Equals(Object other)
  • Method: String get_name()
  • Method: Void set_name(String value)
  • Method: HideFlags get_hideFlags()
  • Method: Void set_hideFlags(HideFlags value)
  • Method: String ToString()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Property: LobbyData Lobby
  • Property: Boolean HasLobby
  • Property: Boolean IsPlayerOwner
  • Property: Boolean AllPlayersReady
  • Property: Boolean IsPlayerReady
  • Property: Boolean Full
  • Property: Int32 Slots
  • Property: Int32 MemberCount
  • Property: Boolean IsTypeSet
  • Property: ELobbyType Type
  • Property: Int32 MaxMembers
  • Property: Boolean HasServer
  • Property: LobbyGameServer GameServer
  • Property: String Item
  • Property: LobbyMemberData Item
  • Property: LobbyMemberData[] Members
  • Property: Boolean useGUILayout
  • Property: Boolean enabled
  • Property: Boolean isActiveAndEnabled
  • Property: Transform transform
  • Property: GameObject gameObject
  • Property: String tag
  • Property: String name
  • Property: HideFlags hideFlags
  • Field: SearchArguments searchArguments
  • Field: CreateArguments createArguments
  • Field: LobbyDataListEvent evtFound
  • Field: LobbyDataEvent evtEnterSuccess
  • Field: LobbyResponceEvent evtEnterFailed
  • Field: LobbyDataEvent evtCreated
  • Field: EResultEvent evtCreateFailed
  • Field: UnityEvent evtQuickMatchFailed
  • Field: LobbyDataUpdateEvent evtDataUpdated
  • Field: UnityEvent evtLeave
  • Field: UnityEvent evtAskedToLeave
  • Field: GameServerSetEvent evtGameCreated
  • Field: UserDataEvent evtUserJoined
  • Field: UserLeaveEvent evtUserLeft

Matchmaking.SearchArgExtensions

  • Method: Void Reset(SearchArguments args)
  • Method: Void ConfigureSearch(SearchArguments args)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()

Matchmaking.MatchState

  • Method: Boolean HasFlag(Enum flag)
  • Method: Object GetValue()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Method: Int32 CompareTo(Object target)
  • Method: String ToString()
  • Method: String ToString(String format)
  • Method: String ToString(IFormatProvider provider)
  • Method: String ToString(String format, IFormatProvider provider)
  • Method: Boolean System.ISpanFormattable.TryFormat(Span`1 destination, Int32& charsWritten, ReadOnlySpan`1 format, IFormatProvider provider)
  • Method: TypeCode GetTypeCode()
  • Method: Boolean System.IConvertible.ToBoolean(IFormatProvider provider)
  • Method: Char System.IConvertible.ToChar(IFormatProvider provider)
  • Method: SByte System.IConvertible.ToSByte(IFormatProvider provider)
  • Method: Byte System.IConvertible.ToByte(IFormatProvider provider)
  • Method: Int16 System.IConvertible.ToInt16(IFormatProvider provider)
  • Method: UInt16 System.IConvertible.ToUInt16(IFormatProvider provider)
  • Method: Int32 System.IConvertible.ToInt32(IFormatProvider provider)
  • Method: UInt32 System.IConvertible.ToUInt32(IFormatProvider provider)
  • Method: Int64 System.IConvertible.ToInt64(IFormatProvider provider)
  • Method: UInt64 System.IConvertible.ToUInt64(IFormatProvider provider)
  • Method: Single System.IConvertible.ToSingle(IFormatProvider provider)
  • Method: Double System.IConvertible.ToDouble(IFormatProvider provider)
  • Method: Decimal System.IConvertible.ToDecimal(IFormatProvider provider)
  • Method: DateTime System.IConvertible.ToDateTime(IFormatProvider provider)
  • Method: Object System.IConvertible.ToType(Type type, IFormatProvider provider)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Field: Int32 value__
  • Field: MatchState Starting
  • Field: MatchState Joinable

Matchmaking.MPMatch

  • Method: Dictionary`2 CreateMatchData(MPSessionInfo mInfo, Boolean asServer)
  • Method: String GetMap()
  • Method: String GetOwner()
  • Method: Int32 GetMaxPlayers()
  • Method: Int32 GetPlayerCount()
  • Method: String GetScenario()
  • Method: String GetEnviro()
  • Method: String GetIpv6()
  • Method: String GetName()
  • Method: String GetHostIpv6()
  • Method: String GetSteamHost()
  • Method: MatchState GetState()
  • Method: FSVersion GetVersion()
  • Method: FSVersion GetLeastCompatibleVersion()
  • Method: String GetDescription()
  • Method: MPSessionRules GetSessionRules()
  • Method: ModManifest GetModsManifest()
  • Method: Boolean IsValid()
  • Method: Void SetState(MatchState state)
  • Method: Void SetName(String name)
  • Method: Void SetDescription(String description)
  • Method: Void SetMap(SceneryInfo scnInfo)
  • Method: Void SetEnviro(String enviro)
  • Method: Void SetScenario(String scenario)
  • Method: Void SetPlayerCount(Int32 pCount)
  • Method: Void SetMaxPlayers(Int32 maxPlayers)
  • Method: Void SetSessionRules(MPSessionRules rules)
  • Method: String GetPwd()
  • Method: Void SetPassword(String pwd)
  • Method: Void UpdateData()
  • Method: String GetExternalIP()
  • Method: String GetInternalIP()
  • Method: UInt32 GetMirrorPort()
  • Method: Void SetSessionInfo(MPSessionInfo mpinfo)
  • Method: Boolean ValidatePassword(String pwd)
  • Method: Boolean HasPwd()
  • Method: Boolean IsFull()
  • Method: Boolean IsEmpty()
  • Method: Boolean IsServer()
  • Method: Void RequestPing(Action`1 onPing)
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()

Matchmaking.MPMatch_Matchup

  • Method: Match get_Mutch()
  • Method: Dictionary`2 CreateMatchData(MPSessionInfo mInfo, Boolean asServer)
  • Method: String GetMap()
  • Method: String GetOwner()
  • Method: Int32 GetMaxPlayers()
  • Method: Int32 GetPlayerCount()
  • Method: String GetScenario()
  • Method: String GetEnviro()
  • Method: String GetIpv6()
  • Method: String GetName()
  • Method: String GetHostIpv6()
  • Method: String GetSteamHost()
  • Method: MatchState GetState()
  • Method: FSVersion GetVersion()
  • Method: FSVersion GetLeastCompatibleVersion()
  • Method: String GetDescription()
  • Method: MPSessionRules GetSessionRules()
  • Method: ModManifest GetModsManifest()
  • Method: Boolean IsValid()
  • Method: Void SetState(MatchState state)
  • Method: Void SetName(String name)
  • Method: Void SetDescription(String description)
  • Method: Void SetMap(SceneryInfo scnInfo)
  • Method: Void SetEnviro(String enviro)
  • Method: Void SetScenario(String scenario)
  • Method: Void SetPlayerCount(Int32 pCount)
  • Method: Void SetMaxPlayers(Int32 maxPlayers)
  • Method: Void SetSessionRules(MPSessionRules rules)
  • Method: String GetPwd()
  • Method: Void SetPassword(String pwd)
  • Method: Boolean SanityCheck(Match match)
  • Method: Void UpdateData()
  • Method: String GetExternalIP()
  • Method: String GetInternalIP()
  • Method: UInt32 GetMirrorPort()
  • Method: Void RequestPing(Action`1 onPing)
  • Method: Void SetSessionInfo(MPSessionInfo mpinfo)
  • Method: Boolean ValidatePassword(String pwd)
  • Method: Boolean HasPwd()
  • Method: Boolean IsFull()
  • Method: Boolean IsEmpty()
  • Method: Boolean IsServer()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Property: Match Mutch
  • Field: Match match

Matchmaking.MPMatch_SteamLobby

  • Method: Dictionary`2 CreateMatchData(MPSessionInfo mInfo, Boolean asServer)
  • Method: MPMatch_SteamLobby WithMatchData(MPSessionInfo mInfo, Boolean asServer)
  • Method: String GetName()
  • Method: String GetDescription()
  • Method: String GetPwd()
  • Method: String GetEnviro()
  • Method: String GetExternalIP()
  • Method: String GetHostIpv6()
  • Method: String GetInternalIP()
  • Method: String GetIpv6()
  • Method: FSVersion GetVersion()
  • Method: FSVersion GetLeastCompatibleVersion()
  • Method: String GetMap()
  • Method: Int32 GetMaxPlayers()
  • Method: UInt32 GetMirrorPort()
  • Method: ModManifest GetModsManifest()
  • Method: String GetOwner()
  • Method: Int32 GetPlayerCount()
  • Method: String GetScenario()
  • Method: MPSessionRules GetSessionRules()
  • Method: MatchState GetState()
  • Method: String GetSteamHost()
  • Method: Boolean IsValid()
  • Method: Void SetEnviro(String enviro)
  • Method: Void SetMap(SceneryInfo scnInfo)
  • Method: Void SetMaxPlayers(Int32 maxPlayers)
  • Method: Void SetName(String name)
  • Method: Void SetDescription(String description)
  • Method: Void SetPassword(String pwd)
  • Method: Void SetPlayerCount(Int32 pCount)
  • Method: Void SetScenario(String scenario)
  • Method: Void SetSessionRules(MPSessionRules rules)
  • Method: Void SetState(MatchState state)
  • Method: Void UpdateData()
  • Method: Void RequestPing(Action`1 onPing)
  • Method: Void SetSessionInfo(MPSessionInfo mpinfo)
  • Method: Boolean ValidatePassword(String pwd)
  • Method: Boolean HasPwd()
  • Method: Boolean IsFull()
  • Method: Boolean IsEmpty()
  • Method: Boolean IsServer()
  • Method: Type GetType()
  • Method: Object MemberwiseClone()
  • Method: Void Finalize()
  • Method: String ToString()
  • Method: Boolean Equals(Object obj)
  • Method: Int32 GetHashCode()
  • Field: LobbyData Lobby