Exemple #1
0
    // --------------------------------------
    // API Methods
    // --------------------------------------


    public void AcceptInvitation(string invitationId)
    {
        AN_GMSRTMProxy.TBM_AcceptInvitation(invitationId);
    }
Exemple #2
0
 public void SetVariant(int val)
 {
     AN_GMSRTMProxy.TBM_SetVariant(val);
 }
Exemple #3
0
 //will work only if StartSelectOpponentsView minPlayers > 0
 public void SetExclusiveBitMask(int val)
 {
     AN_GMSRTMProxy.TBM_SetExclusiveBitMask(val);
 }
 public void ShowWaitingRoomIntent()
 {
     AN_GMSRTMProxy.ShowWaitingRoomIntent();
 }
Exemple #5
0
 public void ShowInbox()
 {
     AN_GMSRTMProxy.TBM_ShowInbox();
 }
Exemple #6
0
 public void CreateMatch(int minPlayers, int maxPlayers, string[] playersIds = null)
 {
     AN_GMSRTMProxy.TBM_CreateMatch(minPlayers, maxPlayers, playersIds);
 }
Exemple #7
0
 public void DismissMatch(string matchId)
 {
     AN_GMSRTMProxy.DismissMatch(matchId);
 }
Exemple #8
0
 public void LoadMatchInfo(string matchId)
 {
     AN_GMSRTMProxy.TBM_LoadMatchInfo(matchId);
 }
Exemple #9
0
 public void LoadAllMatchesInfo(GP_TBM_MatchesSortOrder sortOreder)
 {
     AN_GMSRTMProxy.TBM_LoadAllMatchesInfo((int)sortOreder);
 }
Exemple #10
0
 public void LeaveMatchDuringTurn(string matchId, string pendingParticipantId)
 {
     AN_GMSRTMProxy.TBM_LeaveMatchDuringTurn(matchId, pendingParticipantId);
 }
Exemple #11
0
 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);
 }
Exemple #15
0
 public void DeclineInvitation(string invitationId)
 {
     AN_GMSRTMProxy.TBM_DeclineInvitation(invitationId);
 }
Exemple #16
0
 public void Rematch(string matchId)
 {
     AN_GMSRTMProxy.TBM_Rematch(matchId);
 }
Exemple #17
0
 public void DismissInvitation(string invitationId)
 {
     AN_GMSRTMProxy.TBM_DismissInvitation(invitationId);
 }
Exemple #18
0
 public void UnregisterMatchUpdateListener()
 {
     AN_GMSRTMProxy.TBM_UnregisterMatchUpdateListener();
 }
Exemple #19
0
 public void CancelMatch(string matchId)
 {
     AN_GMSRTMProxy.CancelMatch(matchId);
 }
Exemple #20
0
 public void StartSelectOpponentsView(int minPlayers, int maxPlayers, bool allowAutomatch)
 {
     AN_GMSRTMProxy.StartSelectOpponentsView(minPlayers, maxPlayers, allowAutomatch);
 }
Exemple #21
0
 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);
    }