AddContentDescriptor:添加内容描述词
为更新中的项目设置指定的内容描述词。适用于实现工坊上传和管理工具的开发者。
函数声明
bool AddContentDescriptor( UGCUpdateHandle_t handle, EUGCContentDescriptorID descid );
参数
| 名称 | 类型 | 作用 |
|---|---|---|
handle |
UGCUpdateHandle_t |
输入:由 StartItemUpdate 取得、用于本次操作的更新句柄。 |
descid |
EUGCContentDescriptorID |
输入:指定的 EUGCContentDescriptorID 内容描述词。 |
返回与完成机制
返回 bool;官方页面未列出更详细的成功与失败条件,应检查返回值并核对 SDK。
调用规则与常见错误
传入对应内容描述词枚举,在提交更新前完成设置。Steam 使用这些标记配合用户筛选偏好;请依据项目实际内容选择。
相关站内接口
RemoveContentDescriptor、GetQueryUGCContentDescriptors、SubmitItemUpdate;回调、结构体及枚举。