// -------------------------------------- // API Methods // -------------------------------------- public void AcceptInvitation(string invitationId) { AN_GMSRTMProxy.TBM_AcceptInvitation(invitationId); }
public void SetVariant(int val) { AN_GMSRTMProxy.TBM_SetVariant(val); }
//will work only if StartSelectOpponentsView minPlayers > 0 public void SetExclusiveBitMask(int val) { AN_GMSRTMProxy.TBM_SetExclusiveBitMask(val); }
public void ShowWaitingRoomIntent() { AN_GMSRTMProxy.ShowWaitingRoomIntent(); }
public void ShowInbox() { AN_GMSRTMProxy.TBM_ShowInbox(); }
public void CreateMatch(int minPlayers, int maxPlayers, string[] playersIds = null) { AN_GMSRTMProxy.TBM_CreateMatch(minPlayers, maxPlayers, playersIds); }
public void DismissMatch(string matchId) { AN_GMSRTMProxy.DismissMatch(matchId); }
public void LoadMatchInfo(string matchId) { AN_GMSRTMProxy.TBM_LoadMatchInfo(matchId); }
public void LoadAllMatchesInfo(GP_TBM_MatchesSortOrder sortOreder) { AN_GMSRTMProxy.TBM_LoadAllMatchesInfo((int)sortOreder); }
public void LeaveMatchDuringTurn(string matchId, string pendingParticipantId) { AN_GMSRTMProxy.TBM_LeaveMatchDuringTurn(matchId, pendingParticipantId); }
public void ConfirmMatchFinish(string matchId) { AN_GMSRTMProxy.TBM_FinishMatchWithId(matchId); }
public void FindMatch(string[] playersToInvite) { AN_GMSRTMProxy.RTMFindMatch(playersToInvite); }
public void FindMatch(int minPlayers, int maxPlayers, params string[] playersToInvite) { AN_GMSRTMProxy.RTMFindMatch(minPlayers, maxPlayers, playersToInvite); }
public void OpenInvitationBoxUI(int minPlayers, int maxPlayers) { AN_GMSRTMProxy.InvitePlayers(minPlayers, maxPlayers); }
public void DeclineInvitation(string invitationId) { AN_GMSRTMProxy.TBM_DeclineInvitation(invitationId); }
public void Rematch(string matchId) { AN_GMSRTMProxy.TBM_Rematch(matchId); }
public void DismissInvitation(string invitationId) { AN_GMSRTMProxy.TBM_DismissInvitation(invitationId); }
public void UnregisterMatchUpdateListener() { AN_GMSRTMProxy.TBM_UnregisterMatchUpdateListener(); }
public void CancelMatch(string matchId) { AN_GMSRTMProxy.CancelMatch(matchId); }
public void StartSelectOpponentsView(int minPlayers, int maxPlayers, bool allowAutomatch) { AN_GMSRTMProxy.StartSelectOpponentsView(minPlayers, maxPlayers, allowAutomatch); }
public void LeaveMatch(string matchId) { AN_GMSRTMProxy.TBM_LeaveMatch(matchId); }
public void SendDataToAll(byte[] data, GP_RTM_PackageType sendType) { string dataString = ConvertByteDataToString(data); AN_GMSRTMProxy.sendDataToAll(dataString, (int)sendType); }