> ## 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](/reference/tools/xtf/xtfuser/xtfuser-xbox-windows-n)


## Related topics

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