GDK account attributes reference
Understand the attributes available on GDK accounts when using the Platform Toolkit package.
Usage
You can use HasAttribute and GetAttribute on any IAccount object to make sure the attribute exists for the platform.
Attributes available on GDK
The following table lists the attributes available on GDK accounts:
| Attribute name | Type | Exceptions thrown | Description |
|---|---|---|---|
| GamertagModern | string | Returns XUserGetGamertag with XUserGamertagComponent set to Modern. |
|
| GamertagModernSuffix | string | Returns XUserGetGamertag with XUserGamertagComponent set to ModernSuffix. |
|
| GamertagUniqueModern | string | Returns XUserGetGamertag with XUserGamertagComponent set to UniqueModern. |
|
| GamertagClassic | string | Returns XUserGetGamertag with XUserGamertagComponent set to Classic. |
|
| GamerPictureSmall | Texture2D | TemporarilyUnavailableException | Returns XUserGetGamerPictureAsync with XUserGamerPictureSize set to Small. |
| GamerPictureMedium | Texture2D | TemporarilyUnavailableException | Returns XUserGetGamerPictureAsync with XUserGamerPictureSize set to Medium. |
| GamerPictureLarge | Texture2D | TemporarilyUnavailableException | Returns XUserGetGamerPictureAsync with XUserGamerPictureSize set to Large. |
| GamerPictureExtraLarge | Texture2D | TemporarilyUnavailableException | Returns XUserGetGamerPictureAsync with XUserGamerPictureSize set to ExtraLarge. |
| XUserLocalId | ulong | Returns XUserLocalId. |