combatcomponentsFRoleItemcost_item_by_class_id本页总览cost_item_by_class_id 消耗道具 声明 bool cost_item_by_class_id(int class_id, int amount = 1) 参数 参数名描述class_id道具IDamount数量 返回值 使用方式 返回文档