共用方式為


GamerServicesDispatcher Class

Implements the Windows-specific portion of a GamerServicesDispatcher class.

Namespace: Microsoft.Xna.Framework.GamerServices
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.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

How To: Initialize and Update the Gamer Services Dispatcher

Concepts

Gamer Services Overview

Reference

GamerServicesDispatcher Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista, Zune