跳到主要内容

cost_item_by_class_id

消耗道具

声明

bool cost_item_by_class_id(int class_id, int amount = 1)

参数

参数名描述
class_id道具ID
amount数量

返回值

使用方式

返回文档