共用方式為


How To: Add Presence Information

To add presence information

  • Use SignedInGamer.Presence to set presence information.

    foreach (SignedInGamer signedInGamer in SignedInGamer.SignedInGamers)
    {
        signedInGamer.Presence.PresenceMode = GamerPresenceMode.InCombat;
    }
    

Note

Game titles will not be displayed in a player's presence information on the Xbox LIVE service until the game passes peer review. Once a game passes peer review, the presence information for a player will show three things: a confirmation the player is playing an Xbox LIVE Community Game, the game's title, and finally the presence information set by SignedInGamer.Presence.

         Xbox LIVE Community Game         My Game Title         Fighting the Boss       

While a game is in development, but before the game passes peer review, the presence information indicates the developer is using the XNA Creators Club.

         XNA Creators Club         creators.xna.com         Fighting the Boss     

See Also

Reference

GamerPresence Class
SignedInGamer.Presence Property