跳到主要内容

cost_item_by_rid

扣除指定rid的道具

声明

bool cost_item_by_rid(string rid, int amount, string reason)

参数

参数名描述
rid道具rid
amount扣除数量
reason扣除原因

返回值

true : 扣除成功, false : 扣除失败

使用方式

返回文档