Bagikan melalui


GamerServicesDispatcher Class

Implements the Windows-specific portion of a GamerServicesDispatcher class.

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

Syntax

public static class GamerServicesDispatcher

Remarks

Use the GamerServicesDispatcher class to access gamer services functionality from your game. This functionality includes, among other services, displaying the guide from your game, determining which profiles are checked in, and determining the privileges for a specific gamer profile.

During startup of your game, initialize an instance of GamerServicesDispatcher. During the lifetime of your game, call Update for every frame.

Commonly, you do not directly interact with the GamerServicesDispatcher object. Instead, use the GamerServicesComponent class, which wraps the functionality of GamerServicesDispatcher. However, for applications that do not use the default game template, you must interact with the GamerServicesDispatcher instance of your application.

See Also

Tasks

Initializing and Updating Gamer Services

Concepts

Introduction to Gamer Services

Reference

GamerServicesDispatcher Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP