Exemplo n.º 1
0
        internal Client(HttpChannel channel, string token, string connectUserId)
        {
            this.ConnectUserId = connectUserId;
            this._channel      = channel;
            this.Token         = token;
            this._channel.SetToken(this.Token);

            this.ErrorLog    = new ErrorLog(channel);
            this.PayVault    = new PayVault(channel);
            this.BigDB       = new BigDB(channel);
            this.Multiplayer = new Multiplayer(channel);
        }
Exemplo n.º 2
0
        internal Client(HttpChannel channel, string gameId, string gameFSRedirectMap, string token, string connectUserId, bool showBranding, bool isSocialNetworkUser, object playerInsightState)
        {
            this.ConnectUserId = connectUserId;
            this._channel      = channel;
            this.Token         = token;
            this._channel.SetToken(this.Token);

            this.ErrorLog    = new ErrorLog(channel);
            this.PayVault    = new PayVault(channel);
            this.BigDB       = new BigDB(channel);
            this.Multiplayer = new Multiplayer(channel);

            this._gameFSRedirectMap = gameFSRedirectMap;
        }