Export (0) Print
Expand All

SignedInGamer.GetAchievements Method

Returns the collection of all achievements that may be earned by this gamer.

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

public AchievementCollection GetAchievements ()

Return Value

The requested achievement collection.

Ff634542.caution(en-us,XNAGameStudio.41).gifCaution

This method retrieves a calculated result only for titles approved to access Xbox LIVE Services through the Xbox LIVE Registered Developer Program. For Xbox LIVE Indie games, this method returns immediately with a predetermined default value.

The collection returned will include both earned and unearned achievements. Check Achievement.IsEarned to determine whether an achievement has been earned by the gamer.

This is a blocking call. To query asynchronously, use BeginGetAchievements and EndGetAchievements instead.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions

ADD
Show:
© 2015 Microsoft