local quantity =msgData.quantity local costStr = self._cfg[msgData.index].cost local moneyId, unitPrice = string.match(costStr, "(%d+)#(%d+)") unitPrice = tonumber(unitPrice) or 0 local totalCost = unitPrice * quantity

🤖 回答引擎: 后端Lua | 🕒 时间: 2026-04-28 14:40:27 | 👁️ 阅读: 11
← 返回问答库