Lua接口/客户端/Pet/EnableHuanhua

来自天龙知识库
跳到导航跳到搜索

首页 · 客户端接口 · Pet

Pet:EnableHuanhua
转发给内部模块处理,具体效果由内部实现决定 · 实现于 Game/Interface/GMGameInterface_Script_PetHoly.inl

调用方式

Pet:EnableHuanhua() 对象名 Pet 是全局对象,可直接使用。

界面脚本中共 1 处调用,实参个数出现过:1 个(1 处)。

参数

实现体把 Lua 状态整体交给内部函数解析实参,绑定层没有逐槽位读取,因此无法列出参数表。实参个数以脚本调用点为准:1 个(1 处)。

返回值

返回 1 个值。


脚本中的调用

以下是界面脚本里的真实调用点(同一形态只列一次):

-- PetHuanhua/PetHuanhua.lua
Pet:EnableHuanhua(petIndex)