次の方法で共有


GamerServicesComponent Class

Wraps the functionality of the GamerServicesDispatcher.

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

Syntax

public class GamerServicesComponent : GameComponent

Remarks

If a game will use gamer services, a GamerServicesComponent should be added to the game's Components collection. GamerServicesComponent will take care of initializing and updating the GamerServicesDispatcher at the appropriate times.

See Also

Reference

GamerServicesComponent Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP