共用方式為


NetworkGamer Members

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

Public Properties

Name Description
Public Property DisplayName (Inherited from Gamer.)
Public Property Gamertag (Inherited from Gamer.)
Public Property HasLeftSession Indicates whether this gamer has left the session.
Public Property HasVoice Determines if the player has a voice headset.
Public Property Id Gets a unique identifier that can be used to refer to this gamer in network packets.
Public Property IsDisposed (Inherited from Gamer.)
Public Property IsGuest Determines whether this gamer is logged in as a guest profile.
Public Property IsHost Determines if the player is the host of the multiplayer session.
Public Property IsLocal Determines if the player is playing on a local machine.
Public Property IsMutedByLocalUser Determines if the player is muted by one or more local users.
Public Property IsPrivateSlot Determines if the player occupies a reserved private session slot.
Public Property IsReady Determines whether the gamer is ready to leave the lobby screen and begin gameplay.
Public Property IsTalking Determines whether the gamer is currently sending voice data.
Public Property LeaderboardWriter (Inherited from Gamer.)
Public Property Machine Gets an object representing the physical gaming machine this NetworkGamer is playing on.
Public Property RoundtripTime Gets an estimate of the network latency involved in sending a packet round trip from the local machine to this gamer and back again.
Public Property Session Gets the multiplayer session of the gamer.
Public Property Tag (Inherited from Gamer.)

Public Methods

Name Description
Public Method BeginGetProfile (Inherited from Gamer.)
Public Method EndGetProfile (Inherited from Gamer.)
Public Method Equals (Inherited from Object.)
Public Method GetHashCode (Inherited from Object.)
Public Method GetProfile (Inherited from Gamer.)
Public Method GetType (Inherited from Object.)
Public Method ToString (Inherited from Gamer.)

Protected Methods

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

See Also

Reference

NetworkGamer Class
Microsoft.Xna.Framework.Net Namespace