> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XTF_USER_AGE_GROUP

> XTF_USER_AGE_GROUP

# XTF\_USER\_AGE\_GROUP

指定模擬使用者的年齡層。

## 語法

```cpp theme={null}
typedef enum XTF_USER_AGE_GROUP    
{  
    XTF_USER_AGE_GROUP_UNKNOWN = 0,
    XTF_USER_AGE_GROUP_ADULT = ( XTF_USER_AGE_GROUP_UNKNOWN + 1 ) ,
    XTF_USER_AGE_GROUP_TEEN = ( XTF_USER_AGE_GROUP_ADULT + 1 ) ,
    XTF_USER_AGE_GROUP_CHILD = ( XTF_USER_AGE_GROUP_TEEN + 1 ) 
} XTF_USER_AGE_GROUP  
```

## 常數

| 常數 | 描述 |
| - | - |
| XTF\_USER\_AGE\_GROUP\_UNKNOWN | 使用者的年齡不明。 |
| XTF\_USER\_AGE\_GROUP\_ADULT | 使用者為成人。 |
| XTF\_USER\_AGE\_GROUP\_TEEN | 使用者為青少年。 |
| XTF\_USER\_AGE\_GROUP\_CHILD | 使用者為兒童。 |

## 需求

**標頭：** XtfUser.h

**支援的平台：** Windows (適用於 XBOX 主機工具)

## 另請參閱

[XtfUser](/zh-TW/reference/tools/xtf/xtfuser/xtfuser-xbox-windows-n)


## Related topics

- [XTF_USER_DATA_V2](/zh-TW/reference/tools/xtf/xtfuser/structures/xtf_user_data_v2.md)
- [XUserAgeGroup](/zh-TW/reference/system/xuser/enums/xuseragegroup.md)
- [XUserGetAgeGroup](/zh-TW/reference/system/xuser/functions/xusergetagegroup.md)
- [XUserGetMaxUsers](/zh-TW/reference/system/xuser/functions/xusergetmaxusers.md)
- [XUserGetGamertag](/zh-TW/reference/system/xuser/functions/xusergetgamertag.md)
