Inheritance: global::ProtoBuf.IExtensible
コード例 #1
0
ファイル: Callbacks.cs プロジェクト: ampped101/SteamBot
            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
ファイル: Callbacks.cs プロジェクト: ampped101/SteamBot
 internal LoggedOnCallback( SteamClient client, CMsgClientLogonResponse resp )
     : base( client )
コード例 #3
0
ファイル: Callbacks.cs プロジェクト: Nephyrin/SteamKit
            internal LoggedOnCallback( CMsgClientLogonResponse resp )
            {
                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;
                this.CellIDPingThreshold = resp.cell_id_ping_threshold;

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

                this.IPCountryCode = resp.ip_country_code;

                this.WebAPIUserNonce = resp.webapi_authenticate_user_nonce;

                this.UsePICS = resp.use_pics;
            }