Sdílet prostřednictvím


Gamer Members

The following tables list the members exposed by the Gamer type.

Public Properties

Name Description
Public Property DisplayName Gets the display name string for the gamer.
Public Property Gamertag Gets the gamertag string.
Public Property IsDisposed Gets a value indicating whether the object is disposed.
Public Property LeaderboardWriter Gets an object that can be used to write leaderboard statistics for this gamer.
Public Property Static SignedInGamers Represents a collection of all gamers on the local system.
Public Property Tag Gets or sets a custom object which can be used to attach arbitrary user defined data to the gamer.

Public Methods

Name Description
Public Method Static BeginGetFromGamertag Begins the process of getting a Gamer object for a specified gamertag.
Public Method Static BeginGetPartnerToken Begins the asynchronous process of getting the partner token for this gamer.
Public Method BeginGetProfile Starts an asynchronous profile read operation.
Public Method Static EndGetFromGamertag Ends the process of getting a Gamer object for a specified gamertag.
Public Method Static EndGetPartnerToken Retrieves the results from an asynchronous request for the partner token for this gamer.
Public Method EndGetProfile Ends an asynchronous profile read operation.
Public Method Equals (Inherited from Object.)
Public Method Static GetFromGamertag Returns a Gamer object for the specified gamertag.
Public Method GetHashCode (Inherited from Object.)
Public Method Static GetPartnerToken Gets the partner token for this gamer.
Public Method GetProfile Reads profile data for this gamer.
Public Method GetType (Inherited from Object.)
Public Method ToString Retrieves a string representation of this object.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

Gamer Class
Microsoft.Xna.Framework.GamerServices Namespace