Represents a Steam2 authentication ticket container used for downloading authenticated content from Steam2 servers.
Пример #1
0
            internal LoggedOnCallback(CMsgClientLogonResponse resp)
#endif
            {
                this.Result         = ( EResult )resp.eresult;
                this.ExtendedResult = ( EResult )resp.eresult_extended;

                this.OutOfGameSecsPerHeartbeat = resp.out_of_game_heartbeat_seconds;
                this.InGameSecsPerHeartbeat    = resp.in_game_heartbeat_seconds;

                this.PublicIP = NetHelpers.GetIPAddress(resp.public_ip);

                this.ServerTime = Utils.DateTimeFromUnixTime(resp.rtime32_server_time);

                this.AccountFlags = ( EAccountFlags )resp.account_flags;

                this.ClientSteamID = new SteamID(resp.client_supplied_steamid);

                this.EmailDomain = resp.email_domain;

                this.CellID = resp.cell_id;

                if (resp.steam2_ticket != null)
                {
                    this.Steam2Ticket = new Steam2Ticket(resp.steam2_ticket);
                }
            }
Пример #2
0
            internal LoggedOnCallback( CMsgClientLogonResponse resp )
#endif
            {
                this.Result = ( EResult )resp.eresult;
                this.ExtendedResult = ( EResult )resp.eresult_extended;

                this.OutOfGameSecsPerHeartbeat = resp.out_of_game_heartbeat_seconds;
                this.InGameSecsPerHeartbeat = resp.in_game_heartbeat_seconds;

                this.PublicIP = NetHelpers.GetIPAddress( resp.public_ip );

                this.ServerTime = Utils.DateTimeFromUnixTime( resp.rtime32_server_time );

                this.AccountFlags = ( EAccountFlags )resp.account_flags;

                this.ClientSteamID = new SteamID( resp.client_supplied_steamid );

                this.EmailDomain = resp.email_domain;

                this.CellID = resp.cell_id;

                if ( resp.steam2_ticket != null )
                    this.Steam2Ticket = new Steam2Ticket( resp.steam2_ticket );
            }