RemoveContentDescriptor:移除内容描述词
从更新中的项目移除指定的内容描述词。适用于实现工坊上传和管理工具的开发者。
函数声明
bool RemoveContentDescriptor( UGCUpdateHandle_t handle, EUGCContentDescriptorID descid );
参数
| 名称 | 类型 | 作用 |
|---|---|---|
handle |
UGCUpdateHandle_t |
输入:由 StartItemUpdate 取得、用于本次操作的更新句柄。 |
descid |
EUGCContentDescriptorID |
输入:指定的 EUGCContentDescriptorID 内容描述词。 |
返回与完成机制
返回 bool;官方页面未列出更详细的成功与失败条件,应检查返回值并核对 SDK。
调用规则与常见错误
在提交更新前传入要移除的枚举值。修改标记前应确认内容是否仍需该描述词。
相关站内接口
AddContentDescriptor、GetQueryUGCContentDescriptors、SubmitItemUpdate;回调、结构体及枚举。