Lua接口/客户端/Pet/Other GetMaxMP
来自天龙知识库
Pet:Other_GetMaxMP
读取客户端本地数据 · 实现于 Game/Interface/GMGameInterface_Script_Pet.cpp
调用方式
Pet:Other_GetMaxMP(number)
对象名 Pet 是全局对象,可直接使用。
界面脚本中共 1 处调用,实参个数出现过:1 个(1 处)。
参数
| 序号 | 类型 | 说明 |
|---|---|---|
| 1 | number
|
调用点实参:nIndex(1 处)
|
返回值
返回 1 个值。
脚本中的调用
以下是界面脚本里的真实调用点(同一形态只列一次):
-- OtherPet/OtherPet.lua Pet:Other_GetMaxMP(nIndex)
关联
- 读取或修改客户端本地数据