Ejemplo n.º 1
0
 public AndroidClient()
 {
     this.mRtmpClient = new AndroidRtmpClient(this);
     this.mTbmpClient = new AndroidTbmpClient(this);
     this.RunOnUiThread(delegate
     {
         Logger.d("Initializing Android Client.");
         Logger.d("Creating GameHelperManager to manage GameHelper.");
         this.mGHManager = new GameHelperManager(this);
         this.mGHManager.AddOnStopDelegate(new GameHelperManager.OnStopDelegate(this.mRtmpClient.OnStop));
     });
 }
 public AndroidClient() {
     mRtmpClient = new AndroidRtmpClient(this);
     mTbmpClient = new AndroidTbmpClient(this);
     RunOnUiThread(() => {
         Logger.d("Initializing Android Client.");
         Logger.d("Creating GameHelperManager to manage GameHelper.");
         mGHManager = new GameHelperManager(this);
         
         // make sure that when game stops, we clean up the real time multiplayer room
         mGHManager.AddOnStopDelegate(mRtmpClient.OnStop);
     });
     // now we wait for the result of the initial auth, which will trigger
     // a call to either OnSignInSucceeded or OnSignInFailed
 }
Ejemplo n.º 3
0
        public AndroidClient()
        {
            mRtmpClient = new AndroidRtmpClient(this);
            mTbmpClient = new AndroidTbmpClient(this);
            RunOnUiThread(() => {
                Logger.d("Initializing Android Client.");
                Logger.d("Creating GameHelperManager to manage GameHelper.");
                mGHManager = new GameHelperManager(this);

                // make sure that when game stops, we clean up the real time multiplayer room
                mGHManager.AddOnStopDelegate(mRtmpClient.OnStop);
            });
            // now we wait for the result of the initial auth, which will trigger
            // a call to either OnSignInSucceeded or OnSignInFailed
        }
 internal RoomStatusUpdateProxy(AndroidRtmpClient owner) 
 : base(JavaConsts.RoomStatusUpdateListenerClass) {
     mOwner = owner;
 }
 internal InvitationInboxProxy(AndroidRtmpClient owner)
         : base(JavaConsts.SupportInvitationInboxHelperActivityListener) {
     mOwner = owner;
 }
 internal SelectOpponentsProxy(AndroidRtmpClient owner) 
         : base(JavaConsts.SupportSelectOpponentsHelperActivityListener) {
     mOwner = owner;
 }
 internal RealTimeMessageReceivedProxy(AndroidRtmpClient owner) 
         : base(JavaConsts.RealTimeMessageReceivedListenerClass) {
     mOwner = owner;
 }
Ejemplo n.º 8
0
 internal InvitationInboxProxy(AndroidRtmpClient owner)
     : base(JavaConsts.SupportInvitationInboxHelperActivityListener)
 {
     mOwner = owner;
 }
Ejemplo n.º 9
0
 internal SelectOpponentsProxy(AndroidRtmpClient owner)
     : base(JavaConsts.SupportSelectOpponentsHelperActivityListener)
 {
     mOwner = owner;
 }
Ejemplo n.º 10
0
 internal RealTimeMessageReceivedProxy(AndroidRtmpClient owner)
     : base(JavaConsts.RealTimeMessageReceivedListenerClass)
 {
     mOwner = owner;
 }
Ejemplo n.º 11
0
 internal RoomStatusUpdateProxy(AndroidRtmpClient owner)
     : base(JavaConsts.RoomStatusUpdateListenerClass)
 {
     mOwner = owner;
 }
Ejemplo n.º 12
0
 internal RoomStatusUpdateProxy(AndroidRtmpClient owner) : base("com.google.android.gms.games.multiplayer.realtime.RoomStatusUpdateListener")
 {
     this.mOwner = owner;
 }
Ejemplo n.º 13
0
 internal InvitationInboxProxy(AndroidRtmpClient owner) : base("com.google.example.games.pluginsupport.InvitationInboxHelperActivity$Listener")
 {
     this.mOwner = owner;
 }
Ejemplo n.º 14
0
 internal SelectOpponentsProxy(AndroidRtmpClient owner) : base("com.google.example.games.pluginsupport.SelectOpponentsHelperActivity$Listener")
 {
     this.mOwner = owner;
 }
Ejemplo n.º 15
0
 internal RealTimeMessageReceivedProxy(AndroidRtmpClient owner) : base("com.google.android.gms.games.multiplayer.realtime.RealTimeMessageReceivedListener")
 {
     this.mOwner = owner;
 }