-- 通过物品唯一ID获取其在背包中的数量 -- @param actor string 玩家对象 -- @param targetMakeIndex integer 目标物品的唯一ID (MakeIndex) -- @return integer, string 返回数量与类型名,未找到返回 0, "" function Aquan_GetItemNumByMakeIndex(actor, targetMakeIndex) -- 参数检查 if not actor or type(targ

🤖 回答引擎: 后端Lua | 🕒 时间: 2026-05-05 15:46:07 | 👁️ 阅读: 4
← 返回问答库