Bagikan melalui


GamerPresence.PresenceValue Property

Gets or sets a custom presence value. You can insert this into the presence string if you select one of the presence modes that includes a value. For example, you might select GamerPresenceMode.Score or GamerPresenceMode.Level.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework.GamerServices (in microsoft.xna.framework.gamerservices.dll)

Syntax

public int PresenceValue { get; set; }

Property Value

A custom presence value, which indicates a stage, score, or level to display as a part of the presence string.

Remarks

The following GamerPresenceMode settings, specified in PresenceMode, may include a numeric value as specified by PresenceValue:

See Also

Reference

GamerPresence.PresenceMode Property
SignedInGamer.Presence Property
Gamer.SignedInGamers Property
GamerPresence Class
GamerPresence Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP