game_server.enginedaemonsItemDcan_cost_by_quality本页总览can_cost_by_quality 检查是否能从指定背包里扣除指定品质/数量的道具 声明 array can_cost_by_quality(object user, map items, string baggage_name = nil) 参数 参数名描述user玩家对象items扣除道具的品质/数量词典key : 道具class_id或者别名value : 品质/数量词典 { "amount" : 1, "quality" : "white" }baggage_name背包名称 返回值 [ 成功/失败, 失败原因 ] 使用方式 返回文档