public AndroidClient() {
     RunOnUiThread(() => {
         Logger.d("Initializing Android Client.");
         Logger.d("Creating GameHelperManager to manage GameHelper.");
         mGameHelperManager = new GameHelperManager(this);
         Logger.d("GameHelper manager is set up.");
     });
     // now we wait for the result of the silent auth, which will trigger
     // a call to either OnSignInSucceeded or OnSignInFailed
 }
예제 #2
0
 public AndroidClient()
 {
     RunOnUiThread(() => {
         Logger.d("Initializing Android Client.");
         Logger.d("Creating GameHelperManager to manage GameHelper.");
         mGHManager = new GameHelperManager(this);
         Logger.d("GameHelper manager is set up.");
     });
     // now we wait for the result of the initial auth, which will trigger
     // a call to either OnSignInSucceeded or OnSignInFailed
 }
예제 #3
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
 }
예제 #5
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
        }
예제 #6
0
 internal GameHelperListener(GameHelperManager mgr, int origin) :
     base(GameHelperManager.GameHelperListenerClass)
 {
     mContainer = mgr;
     mOrigin    = origin;
 }
 internal GameHelperListener(GameHelperManager mgr, int origin) :
         base(GameHelperManager.GameHelperListenerClass) {
     mContainer = mgr;
     mOrigin = origin;
 }
예제 #8
0
 internal GameHelperListener(GameHelperManager mgr, int origin) : base("com.google.example.games.basegameutils.GameHelper$GameHelperListener")
 {
     this.mContainer = mgr;
     this.mOrigin    = origin;
 }