Beispiel #1
0
    // --------------------------------------
    // API Methods
    // --------------------------------------


    public void AcceptInvitation(string invitationId)
    {
        AN_GMSRTMProxy.TBM_AcceptInvitation(invitationId);
    }
Beispiel #2
0
 public void SetVariant(int val)
 {
     AN_GMSRTMProxy.TBM_SetVariant(val);
 }
Beispiel #3
0
 //will work only if StartSelectOpponentsView minPlayers > 0
 public void SetExclusiveBitMask(int val)
 {
     AN_GMSRTMProxy.TBM_SetExclusiveBitMask(val);
 }
Beispiel #4
0
 public void ShowWaitingRoomIntent()
 {
     AN_GMSRTMProxy.ShowWaitingRoomIntent();
 }
Beispiel #5
0
 public void ShowInbox()
 {
     AN_GMSRTMProxy.TBM_ShowInbox();
 }
Beispiel #6
0
 public void CreateMatch(int minPlayers, int maxPlayers, string[] playersIds = null)
 {
     AN_GMSRTMProxy.TBM_CreateMatch(minPlayers, maxPlayers, playersIds);
 }
Beispiel #7
0
 public void DismissMatch(string matchId)
 {
     AN_GMSRTMProxy.DismissMatch(matchId);
 }
Beispiel #8
0
 public void LoadMatchInfo(string matchId)
 {
     AN_GMSRTMProxy.TBM_LoadMatchInfo(matchId);
 }
Beispiel #9
0
 public void LoadAllMatchesInfo(GP_TBM_MatchesSortOrder sortOreder)
 {
     AN_GMSRTMProxy.TBM_LoadAllMatchesInfo((int)sortOreder);
 }
Beispiel #10
0
 public void LeaveMatchDuringTurn(string matchId, string pendingParticipantId)
 {
     AN_GMSRTMProxy.TBM_LeaveMatchDuringTurn(matchId, pendingParticipantId);
 }
Beispiel #11
0
 public void ConfirmMatchFinish(string matchId)
 {
     AN_GMSRTMProxy.TBM_FinishMatchWithId(matchId);
 }
Beispiel #12
0
 public void FindMatch(string[] playersToInvite)
 {
     AN_GMSRTMProxy.RTMFindMatch(playersToInvite);
 }
Beispiel #13
0
 public void FindMatch(int minPlayers, int maxPlayers, params string[] playersToInvite)
 {
     AN_GMSRTMProxy.RTMFindMatch(minPlayers, maxPlayers, playersToInvite);
 }
Beispiel #14
0
 public void OpenInvitationBoxUI(int minPlayers, int maxPlayers)
 {
     AN_GMSRTMProxy.InvitePlayers(minPlayers, maxPlayers);
 }
Beispiel #15
0
 public void DeclineInvitation(string invitationId)
 {
     AN_GMSRTMProxy.TBM_DeclineInvitation(invitationId);
 }
Beispiel #16
0
 public void Rematch(string matchId)
 {
     AN_GMSRTMProxy.TBM_Rematch(matchId);
 }
Beispiel #17
0
 public void DismissInvitation(string invitationId)
 {
     AN_GMSRTMProxy.TBM_DismissInvitation(invitationId);
 }
Beispiel #18
0
 public void UnregisterMatchUpdateListener()
 {
     AN_GMSRTMProxy.TBM_UnregisterMatchUpdateListener();
 }
Beispiel #19
0
 public void CancelMatch(string matchId)
 {
     AN_GMSRTMProxy.CancelMatch(matchId);
 }
Beispiel #20
0
 public void StartSelectOpponentsView(int minPlayers, int maxPlayers, bool allowAutomatch)
 {
     AN_GMSRTMProxy.StartSelectOpponentsView(minPlayers, maxPlayers, allowAutomatch);
 }
Beispiel #21
0
 public void LeaveMatch(string matchId)
 {
     AN_GMSRTMProxy.TBM_LeaveMatch(matchId);
 }
Beispiel #22
0
    public void SendDataToAll(byte[] data, GP_RTM_PackageType sendType)
    {
        string dataString = ConvertByteDataToString(data);

        AN_GMSRTMProxy.sendDataToAll(dataString, (int)sendType);
    }