Lua接口/服务端/LuaFnItemBoxEnterSceneEx
来自天龙知识库
跳到导航跳到搜索
创建带指定回收时间的物品盒。
Lua 调用
LuaFnItemBoxEnterSceneEx(sceneId, x, z, boxType, recycleTime)
参数
| 序号 | 参数 / 类型 | 说明 |
|---|---|---|
| 1 | sceneIdnumber
|
当前调用所在的场景 ID。 |
| 2 | xnumber
|
场景平面 X 坐标。 |
| 3 | znumber
|
场景平面 Z 坐标。 |
| 4 | boxTypenumber
|
物品箱类型。 |
| 5 | recycleTimenumber
|
回收时间。 |
返回值
返回 1 个值。返回类型包括 number。明确的固定返回组合包括 -1。
核对依据:
LuaFnTbl_Ability.h 第 325 行,服务端注册表第 592 行。调用格式与返回数量依据当前实现整理;游戏内效果、边界行为及未注明的业务枚举仍需实测。