Lua接口/客户端函数索引/Pet:修订间差异

来自天龙知识库
跳到导航跳到搜索
雪舞留言 | 贡献
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件
 
Waylee留言 | 贡献
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件
 
(未显示1个用户的5个中间版本)
第1行: 第1行:
__NOTOC__
__NOTOC__
<div class="lua-reference" style="max-width:1200px;margin:0 auto;line-height:1.8;color:#29343a;font-family:Arial,'Microsoft YaHei','PingFang SC',sans-serif;letter-spacing:0;overflow-wrap:anywhere;">
<div class="lua-reference">
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/Pet|Pet]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]]
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/Pet|Pet]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]]


<div style="padding:14px 0;border-top:3px solid #287568;">
<div class="lua-lead">
<div role="heading" aria-level="2" style="font-size:22px;font-weight:bold;color:#193d37;">Pet 对象方法</div>
<div role="heading" aria-level="2" class="lua-h1">Pet 对象方法</div>
<div style="margin-top:6px;color:#657078;">实现类 <code style="white-space:normal;overflow-wrap:anywhere;">Pet</code> · 163 个方法 · 脚本使用 334 处</div>
<div class="lua-sub">实现类 <code>Pet</code> · 163 个方法</div>
</div>
</div>
<div style="margin:10px 0;padding:10px 12px;border-left:3px solid #9a7940;background:#faf7f0;font-size:13px;color:#5f5136;">本页参数与返回值由客户端 C++ 绑定源码自动推断(参数取自 <code>args[n]</code> 与 <code>lua_is*</code> 的实际取值点,返回项数取自 <code>return n</code>),<b>未经运行验证</b>;用途摘要按实现体归纳,仅供参考。</div>
== 调用方式 ==
== 调用方式 ==
调用形式:<code style="white-space:normal;overflow-wrap:anywhere;">Pet:Add_Attribute(number, number, number, number, number, number)</code>
对象方法以 <code>Pet:方法名(参数)</code> 形式调用,例如 <code>Pet:ShowPetList(number)</code>。各方法的参数见下表,点方法名进入独立页。
对象名 <code style="white-space:normal;overflow-wrap:anywhere;">Pet</code> 是全局对象,可直接使用。
对象名 <code>Pet</code> 是全局对象,可直接使用。


== 方法列表 ==
== 方法列表 ==
{| class="wikitable" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;"
{| class="wikitable"
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;width:34%;" | 方法
! scope="col" class="lua-w46" | 方法
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;" | 说明
! scope="col" | 说明
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Add_Attribute(number, number, number, number, number, number)</code><br /><small style="color:#657078;">number, number, number, number, number, number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Add_Attribute|Pet:Add_Attribute]](number, number, number, number, number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2970</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Change_Name(number, string)</code><br /><small style="color:#657078;">number, string · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Change_Name|Pet:Change_Name]](number, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3042</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:CheckPetSkillStudyMoreMoneyMode(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/CheckPetSkillStudyMoreMoneyMode|Pet:CheckPetSkillStudyMoreMoneyMode]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3768</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:CheckRClick(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/CheckRClick|Pet:CheckRClick]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L312</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ClearSheliziPet()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/ClearSheliziPet|Pet:ClearSheliziPet]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L621</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ClosePetSkillStudyMsgBox()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/ClosePetSkillStudyMsgBox|Pet:ClosePetSkillStudyMsgBox]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CLOSE_PETSKILLSTUDY_MSGBOX;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3756</small>
| 触发客户端事件 GE_CLOSE_PETSKILLSTUDY_MSGBOX;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ConfirmPetProcreate(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/ConfirmPetProcreate|Pet:ConfirmPetProcreate]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CLOSE_PET_FRAME;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4310</small>
| 触发客户端事件 GE_CLOSE_PET_FRAME;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ConfirmPetSkillStudy()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/ConfirmPetSkillStudy|Pet:ConfirmPetSkillStudy]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CONFIRM_PETSKILLSTUDY;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3762</small>
| 触发客户端事件 GE_CONFIRM_PETSKILLSTUDY;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Dome(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Dome|Pet:Dome]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3252</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:EnumPetSkill(number, number, string)</code><br /><small style="color:#657078;">number, number, string · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/EnumPetSkill|Pet:EnumPetSkill]](number, number, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3391</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:EnumPetSkillBarItem(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/EnumPetSkillBarItem|Pet:EnumPetSkillBarItem]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3431</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:EnumTitleByIdx(number, number, string)</code><br /><small style="color:#657078;">number, number, string · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/EnumTitleByIdx|Pet:EnumTitleByIdx]](number, number, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L786</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Feed(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Feed|Pet:Feed]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3216</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Free_Confirm(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Free_Confirm|Pet:Free_Confirm]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE、GE_PET_FREE_CONFIRM;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3128</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE、GE_PET_FREE_CONFIRM;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetAIType(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetAIType|Pet:GetAIType]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1091</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetAttackTrait(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetAttackTrait|Pet:GetAttackTrait]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1137</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetBasic(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetBasic|Pet:GetBasic]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1639</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetConsort(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetConsort|Pet:GetConsort]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L987</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetCriticalAttack(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetCriticalAttack|Pet:GetCriticalAttack]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1836</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetCriticalDefence(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetCriticalDefence|Pet:GetCriticalDefence]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1857</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetCurrentTitle(number, string)</code><br /><small style="color:#657078;">number, string · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetCurrentTitle|Pet:GetCurrentTitle]](number, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L741</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetDeathWarrant(number)</code><br /><small style="color:#657078;">number · 1 个返回值</small>
| <code>[[Lua接口/客户端/Pet/GetDeathWarrant|Pet:GetDeathWarrant]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3349</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetDex(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetDex|Pet:GetDex]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1578</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetDexAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetDexAptitude|Pet:GetDexAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1477</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetExp(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/GetExp|Pet:GetExp]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1680</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetFoodType(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetFoodType|Pet:GetFoodType]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L709</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetGrowRate(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/GetGrowRate|Pet:GetGrowRate]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1192</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetGUID(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetGUID|Pet:GetGUID]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3881</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetHappy(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/GetHappy|Pet:GetHappy]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1261</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetHP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/GetHP|Pet:GetHP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1353</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetID(number)</code><br /><small style="color:#657078;">number · 3 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetID|Pet:GetID]](number)</code><br /><small class="lua-muted">3 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1037</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetInt(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetInt|Pet:GetInt]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1558</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetIntAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetIntAptitude|Pet:GetIntAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1497</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetIsFighting(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetIsFighting|Pet:GetIsFighting]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3321</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetLevel(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/GetLevel|Pet:GetLevel]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1070</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetLoyalgGade(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetLoyalgGade|Pet:GetLoyalgGade]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1332</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMagicAttack(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetMagicAttack|Pet:GetMagicAttack]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1734</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMagicRecovery(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetMagicRecovery|Pet:GetMagicRecovery]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1774</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMaxHP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/GetMaxHP|Pet:GetMaxHP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1395</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMaxLife()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetMaxLife|Pet:GetMaxLife]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1324</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMaxMP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetMaxMP|Pet:GetMaxMP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1416</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMiss(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetMiss|Pet:GetMiss]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1815</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetMP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetMP|Pet:GetMP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1374</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetName(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetName|Pet:GetName]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L955</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetNaturalLife(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetNaturalLife|Pet:GetNaturalLife]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1303</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPet_Count()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetPet_Count|Pet:GetPet_Count]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L352</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetDBCName(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetDBCName|Pet:GetPetDBCName]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L460</small>
| 操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetFightAction()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetFightAction|Pet:GetPetFightAction]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L420</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetGrowLevel(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetGrowLevel|Pet:GetPetGrowLevel]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1213</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetImpactIconNameByIndex(number, number)</code><br /><small style="color:#657078;">number, number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetImpactIconNameByIndex|Pet:GetPetImpactIconNameByIndex]](number, number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4121</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetImpactNum(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetImpactNum|Pet:GetPetImpactNum]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4090</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetIndexByGUID(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetIndexByGUID|Pet:GetPetIndexByGUID]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L444</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetList_Appoint(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetList_Appoint|Pet:GetPetList_Appoint]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L358</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetLocation(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetLocation|Pet:GetPetLocation]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L628</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetPetMedicineHC(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetPetMedicineHC|Pet:GetPetPetMedicineHC]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3855</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetPortraitByIndex(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetPortraitByIndex|Pet:GetPetPortraitByIndex]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4062</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetRelaxAction()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetRelaxAction|Pet:GetPetRelaxAction]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L432</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetSkillBarItemCount()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetSkillBarItemCount|Pet:GetPetSkillBarItemCount]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3450</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetSkillLevelupInfo(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetSkillLevelupInfo|Pet:GetPetSkillLevelupInfo]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3829</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetTypeName(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/GetPetTypeName|Pet:GetPetTypeName]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L669</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPF(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetPF|Pet:GetPF]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1598</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPFAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetPFAptitude|Pet:GetPFAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1457</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPhysicsAttack(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetPhysicsAttack|Pet:GetPhysicsAttack]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1714</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPhysicsRecovery(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetPhysicsRecovery|Pet:GetPhysicsRecovery]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1754</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPotential(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetPotential|Pet:GetPotential]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1660</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetSavvy(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetSavvy|Pet:GetSavvy]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1171</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetSex(number)</code><br /><small style="color:#657078;">number · 1 个返回值</small>
| <code>[[Lua接口/客户端/Pet/GetSex|Pet:GetSex]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1015</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetShootProbability(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetShootProbability|Pet:GetShootProbability]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1795</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetSkillIDbyIndex(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetSkillIDbyIndex|Pet:GetSkillIDbyIndex]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3509</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetSkillPassive(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetSkillPassive|Pet:GetSkillPassive]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4160</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetSta(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetSta|Pet:GetSta]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1618</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetStaAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetStaAptitude|Pet:GetStaAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1517</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetStr(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetStr|Pet:GetStr]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1538</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetStrAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/GetStrAptitude|Pet:GetStrAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1437</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetTakeLevel(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetTakeLevel|Pet:GetTakeLevel]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1112</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetTitleNum(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/GetTitleNum|Pet:GetTitleNum]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L838</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetType(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/GetType|Pet:GetType]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1282</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Go_Fight(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Go_Fight|Pet:Go_Fight]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3095</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Go_Free(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Go_Free|Pet:Go_Free]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3172</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Go_Relax(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Go_Relax|Pet:Go_Relax]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3295</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:HandlePetMenuItem(string, number)</code><br /><small style="color:#657078;">string, number · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/HandlePetMenuItem|Pet:HandlePetMenuItem]](string, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3955</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:HandlePetMenuItemSelf(string)</code><br /><small style="color:#657078;">string · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/HandlePetMenuItemSelf|Pet:HandlePetMenuItemSelf]](string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4198</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:IsPresent(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/IsPresent|Pet:IsPresent]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L277</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:LockPetProcreate()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/LockPetProcreate|Pet:LockPetProcreate]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4289</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:NotifyPetDlgClosed()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/NotifyPetDlgClosed|Pet:NotifyPetDlgClosed]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CLOSE_PET_AGNAME;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1255</small>
| 触发客户端事件 GE_CLOSE_PET_AGNAME;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:NotifySelChange(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/NotifySelChange|Pet:NotifySelChange]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_PET_CHANGE;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L940</small>
| 触发客户端事件 GE_PET_CHANGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:OpenPetSkillStudyMsgBox()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/OpenPetSkillStudyMsgBox|Pet:OpenPetSkillStudyMsgBox]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_OPEN_PETSKILLSTUDY_MSGBOX;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3750</small>
| 触发客户端事件 GE_OPEN_PETSKILLSTUDY_MSGBOX;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetAIType(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetAIType|Pet:Other_GetAIType]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2736</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetAttackTrait(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetAttackTrait|Pet:Other_GetAttackTrait]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2579</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetBasic(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetBasic|Pet:Other_GetBasic]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2370</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetConsort(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetConsort|Pet:Other_GetConsort]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2797</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetCriticalAttack(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetCriticalAttack|Pet:Other_GetCriticalAttack]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2391</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetCriticalDefence(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetCriticalDefence|Pet:Other_GetCriticalDefence]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2559</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetDex(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetDex|Pet:Other_GetDex]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2307</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetDexAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetDexAptitude|Pet:Other_GetDexAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2134</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetExp(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetExp|Pet:Other_GetExp]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2197</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetFoodType(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetFoodType|Pet:Other_GetFoodType]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2612</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetGrowRate(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetGrowRate|Pet:Other_GetGrowRate]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2633</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetHappy(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetHappy|Pet:Other_GetHappy]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2050</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetHP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetHP|Pet:Other_GetHP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2223</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetID(number)</code><br /><small style="color:#657078;">number · 3 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetID|Pet:Other_GetID]](number)</code><br /><small class="lua-muted">3 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1982</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetInt(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetInt|Pet:Other_GetInt]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2286</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetIntAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetIntAptitude|Pet:Other_GetIntAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2155</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetLevel(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetLevel|Pet:Other_GetLevel]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2029</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetLoyalgGade(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetLoyalgGade|Pet:Other_GetLoyalgGade]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2899</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMagicAttack(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMagicAttack|Pet:Other_GetMagicAttack]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2454</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMagicRecovery(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMagicRecovery|Pet:Other_GetMagicRecovery]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2496</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMaxHP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMaxHP|Pet:Other_GetMaxHP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2244</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMaxLife()</code><br /><small style="color:#657078;">无参数 · 1 个返回值</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMaxLife|Pet:Other_GetMaxLife]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2920</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMaxMP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMaxMP|Pet:Other_GetMaxMP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2857</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMiss(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMiss|Pet:Other_GetMiss]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2538</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetMP(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetMP|Pet:Other_GetMP]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2878</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetName(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetName|Pet:Other_GetName]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1957</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetNaturalLife(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetNaturalLife|Pet:Other_GetNaturalLife]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2008</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPet_Count()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPet_Count|Pet:Other_GetPet_Count]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1878</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPetGrowLevel(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPetGrowLevel|Pet:Other_GetPetGrowLevel]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2654</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPetIndexByGUID(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPetIndexByGUID|Pet:Other_GetPetIndexByGUID]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2841</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPetList_Appoint(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPetList_Appoint|Pet:Other_GetPetList_Appoint]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1912</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPetTypeName(number)</code><br /><small style="color:#657078;">number · 2 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPetTypeName|Pet:Other_GetPetTypeName]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2757</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPF(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPF|Pet:Other_GetPF]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2328</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPFAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPFAptitude|Pet:Other_GetPFAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2113</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPhysicsAttack(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPhysicsAttack|Pet:Other_GetPhysicsAttack]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2433</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPhysicsRecovery(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPhysicsRecovery|Pet:Other_GetPhysicsRecovery]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2475</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPotential(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetPotential|Pet:Other_GetPotential]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2412</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetSavvy(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetSavvy|Pet:Other_GetSavvy]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2071</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetSex(number)</code><br /><small style="color:#657078;">number · 1 个返回值</small>
| <code>[[Lua接口/客户端/Pet/Other_GetSex|Pet:Other_GetSex]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2820</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetShootProbability(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetShootProbability|Pet:Other_GetShootProbability]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2517</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetSta(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetSta|Pet:Other_GetSta]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2349</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetStaAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetStaAptitude|Pet:Other_GetStaAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2176</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetStr(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetStr|Pet:Other_GetStr]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2265</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetStrAptitude(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetStrAptitude|Pet:Other_GetStrAptitude]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2092</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetTakeLevel(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetTakeLevel|Pet:Other_GetTakeLevel]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2717</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetType(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Other_GetType|Pet:Other_GetType]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2927</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_IsPresent(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/Other_IsPresent|Pet:Other_IsPresent]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L1884</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_SetModel(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/Other_SetModel|Pet:Other_SetModel]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2696</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:PetAskChangeCurrentTitle(number, number)</code><br /><small style="color:#657078;">number, number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/PetAskChangeCurrentTitle|Pet:PetAskChangeCurrentTitle]](number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L859</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:PetOpenPetJian(number, string)</code><br /><small style="color:#657078;">number, string · 无返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/PetOpenPetJian|Pet:PetOpenPetJian]](number, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_OPEN_PETJIAN_DLG;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3456</small>
| 触发客户端事件 GE_OPEN_PETJIAN_DLG;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:PetOpenTitleList(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/PetOpenTitleList|Pet:PetOpenTitleList]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_OPEN_PET_AGNAME;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L894</small>
| 触发客户端事件 GE_OPEN_PET_AGNAME;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:PetProcreate_Clear()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/PetProcreate_Clear|Pet:PetProcreate_Clear]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4191</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:PetToShelizi(number, number)</code><br /><small style="color:#657078;">number, number · 1 个返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/PetToShelizi|Pet:PetToShelizi]](number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_GAMELOGIN_SYSTEM_INFO_CLOSE;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L550</small>
| 触发客户端事件 GE_GAMELOGIN_SYSTEM_INFO_CLOSE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Select_Pet(number)</code><br /><small style="color:#657078;">number · 1 个返回值</small>
| <code>[[Lua接口/客户端/Pet/Select_Pet|Pet:Select_Pet]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_REPLY_MISSION_PET;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3369</small>
| 触发客户端事件 GE_REPLY_MISSION_PET;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetCanFanzhiPet(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetCanFanzhiPet|Pet:SetCanFanzhiPet]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4395</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetFightPetAsMainTarget()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetFightPetAsMainTarget|Pet:SetFightPetAsMainTarget]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3551</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetModel(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/SetModel|Pet:SetModel]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L2948</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetNullCurTitle(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetNullCurTitle|Pet:SetNullCurTitle]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L916</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetPetLocation(number, number)</code><br /><small style="color:#657078;">number, number · 无返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/SetPetLocation|Pet:SetPetLocation]](number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L650</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetProcreate_Other_Model()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetProcreate_Other_Model|Pet:SetProcreate_Other_Model]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4367</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetProcreate_Self_Model()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetProcreate_Self_Model|Pet:SetProcreate_Self_Model]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4381</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetSelectPetIdx(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/SetSelectPetIdx|Pet:SetSelectPetIdx]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L404</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetSkillLevelupModel(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetSkillLevelupModel|Pet:SetSkillLevelupModel]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3488</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetSkillStudyModel(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 3 处</small>
| <code>[[Lua接口/客户端/Pet/SetSkillStudyModel|Pet:SetSkillStudyModel]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3566</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetStudyNewSkillModel(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SetStudyNewSkillModel|Pet:SetStudyNewSkillModel]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3530</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SetSynModel(number, number)</code><br /><small style="color:#657078;">number, number · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/SetSynModel|Pet:SetSynModel]](number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L489</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ShowMyPetContexMenu()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/ShowMyPetContexMenu|Pet:ShowMyPetContexMenu]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3927</small>
| 触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ShowPetList(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/ShowPetList|Pet:ShowPetList]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_OPEN_PET_LIST、GE_CLOSE_PET_LIST;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3905</small>
| 触发客户端事件 GE_OPEN_PET_LIST、GE_CLOSE_PET_LIST;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ShowTargetPet(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/ShowTargetPet|Pet:ShowTargetPet]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_UPDATE_TARGETPET_PAGE;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3587</small>
| 触发客户端事件 GE_UPDATE_TARGETPET_PAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SkillStudy_Do(number, number, number, number)</code><br /><small style="color:#657078;">number, number, number, number · 1 个返回值 · 脚本使用 6 处</small>
| <code>[[Lua接口/客户端/Pet/SkillStudy_Do|Pet:SkillStudy_Do]](number, number, number, number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3609</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SkillStudy_MenPaiSkill_Clear()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/SkillStudy_MenPaiSkill_Clear|Pet:SkillStudy_MenPaiSkill_Clear]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3740</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SkillStudy_MenPaiSkill_Created(number, number, number)</code><br /><small style="color:#657078;">number, number, number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/SkillStudy_MenPaiSkill_Created|Pet:SkillStudy_MenPaiSkill_Created]](number, number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3720</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:SkillStudyUnlock(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 4 处</small>
| <code>[[Lua接口/客户端/Pet/SkillStudyUnlock|Pet:SkillStudyUnlock]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L3702</small>
| 触发客户端事件 GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Syn_Confirm(number, number)</code><br /><small style="color:#657078;">number, number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Syn_Confirm|Pet:Syn_Confirm]](number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L536</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Syn_Do(number, number)</code><br /><small style="color:#657078;">number, number · 无返回值 · 脚本使用 1 处</small>
| <code>[[Lua接口/客户端/Pet/Syn_Do|Pet:Syn_Do]](number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_PET_SYNC_OPEN;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L508</small>
| 触发客户端事件 GE_PET_SYNC_OPEN;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">Pet:ViewPetDetailData(string)</code><br /><small style="color:#657078;">string · 无返回值 · 脚本使用 2 处</small>
| <code>[[Lua接口/客户端/Pet/ViewPetDetailData|Pet:ViewPetDetailData]](string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_UPDATE_TARGETPET_PAGE;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_Pet.cpp L4343</small>
| 触发客户端事件 GE_UPDATE_TARGETPET_PAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_Pet.cpp</small>
|}
|}


== 多返回值方法 ==
== 多返回值方法 ==
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetAttackTrait</code> → 2 个返回值
* <code>Pet:GetAttackTrait</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetExp</code> → 2 个返回值
* <code>Pet:GetExp</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetGUID</code> → 2 个返回值
* <code>Pet:GetGUID</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetID</code> → 3 个返回值
* <code>Pet:GetID</code> → 3 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetName</code> → 2 个返回值
* <code>Pet:GetName</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetImpactIconNameByIndex</code> → 2 个返回值
* <code>Pet:GetPetImpactIconNameByIndex</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetList_Appoint</code> → 2 个返回值
* <code>Pet:GetPetList_Appoint</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetPetMedicineHC</code> → 2 个返回值
* <code>Pet:GetPetPetMedicineHC</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetSkillLevelupInfo</code> → 2 个返回值
* <code>Pet:GetPetSkillLevelupInfo</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:GetPetTypeName</code> → 2 个返回值
* <code>Pet:GetPetTypeName</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetAttackTrait</code> → 2 个返回值
* <code>Pet:Other_GetAttackTrait</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetExp</code> → 2 个返回值
* <code>Pet:Other_GetExp</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetID</code> → 3 个返回值
* <code>Pet:Other_GetID</code> → 3 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetName</code> → 2 个返回值
* <code>Pet:Other_GetName</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPetList_Appoint</code> → 2 个返回值
* <code>Pet:Other_GetPetList_Appoint</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Pet:Other_GetPetTypeName</code> → 2 个返回值
* <code>Pet:Other_GetPetTypeName</code> → 2 个返回值




== 脚本中的调用 ==
== 脚本中的调用 ==
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
<pre style="white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;padding:12px;background:#f5f7f8;border:1px solid #dbe3e6;">-- Pet:Add_Attribute  ← Pet/Pet.lua
<pre>-- Pet/Pet.lua
-- Pet:Change_Name  ← Pet/Pet.lua
-- Pet/Pet.lua
-- Pet:CheckPetSkillStudyMoreMoneyMode  ← PetSkillStudy/PetSkillStudy.lua
-- PetSkillStudy/PetSkillStudy.lua
-- Pet:CheckRClick  ← OtherPet/OtherPet.lua</pre>
-- OtherPet/OtherPet.lua</pre>




</div>
</div>

2026年9月19日 (六) 17:00的最新版本

首页 · 客户端接口 · Pet · 窗口操作 · 客户端事件

Pet 对象方法
实现类 Pet · 163 个方法

调用方式

对象方法以 Pet:方法名(参数) 形式调用,例如 Pet:ShowPetList(number)。各方法的参数见下表,点方法名进入独立页。 对象名 Pet 是全局对象,可直接使用。

方法列表

方法 说明
Pet:Add_Attribute(number, number, number, number, number, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Change_Name(number, string)
无返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:CheckPetSkillStudyMoreMoneyMode(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:CheckRClick(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ClearSheliziPet()
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ClosePetSkillStudyMsgBox()
无返回值
触发客户端事件 GE_CLOSE_PETSKILLSTUDY_MSGBOX;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ConfirmPetProcreate(number)
无返回值
触发客户端事件 GE_CLOSE_PET_FRAME;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ConfirmPetSkillStudy()
无返回值
触发客户端事件 GE_CONFIRM_PETSKILLSTUDY;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Dome(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:EnumPetSkill(number, number, string)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:EnumPetSkillBarItem(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:EnumTitleByIdx(number, number, string)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Feed(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Free_Confirm(number)
无返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE、GE_PET_FREE_CONFIRM;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetAIType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetAttackTrait(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetBasic(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetConsort(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetCriticalAttack(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetCriticalDefence(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetCurrentTitle(number, string)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetDeathWarrant(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetDex(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetDexAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetExp(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetFoodType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetGrowRate(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetGUID(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetHappy(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetHP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetID(number)
3 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetInt(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetIntAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetIsFighting(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetLevel(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetLoyalgGade(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMagicAttack(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMagicRecovery(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMaxHP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMaxLife()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMaxMP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMiss(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetMP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetName(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetNaturalLife(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPet_Count()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetDBCName(number, number)
1 个返回值
操作客户端界面;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetFightAction()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetGrowLevel(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetImpactIconNameByIndex(number, number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetImpactNum(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetIndexByGUID(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetList_Appoint(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetLocation(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetPetMedicineHC(number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetPortraitByIndex(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetRelaxAction()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetSkillBarItemCount()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetSkillLevelupInfo(number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPetTypeName(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPF(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPFAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPhysicsAttack(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPhysicsRecovery(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPotential(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetSavvy(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetSex(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetShootProbability(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetSkillIDbyIndex(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetSkillPassive(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetSta(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetStaAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetStr(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetStrAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetTakeLevel(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetTitleNum(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Go_Fight(number)
无返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Go_Free(number)
无返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Go_Relax(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:HandlePetMenuItem(string, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:HandlePetMenuItemSelf(string)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:IsPresent(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:LockPetProcreate()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:NotifyPetDlgClosed()
无返回值
触发客户端事件 GE_CLOSE_PET_AGNAME;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:NotifySelChange(number)
无返回值
触发客户端事件 GE_PET_CHANGE;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:OpenPetSkillStudyMsgBox()
无返回值
触发客户端事件 GE_OPEN_PETSKILLSTUDY_MSGBOX;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetAIType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetAttackTrait(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetBasic(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetConsort(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetCriticalAttack(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetCriticalDefence(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetDex(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetDexAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetExp(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetFoodType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetGrowRate(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetHappy(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetHP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetID(number)
3 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetInt(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetIntAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetLevel(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetLoyalgGade(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMagicAttack(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMagicRecovery(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMaxHP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMaxLife()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMaxMP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMiss(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetMP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetName(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetNaturalLife(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPet_Count()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPetGrowLevel(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPetIndexByGUID(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPetList_Appoint(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPetTypeName(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPF(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPFAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPhysicsAttack(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPhysicsRecovery(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetPotential(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetSavvy(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetSex(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetShootProbability(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetSta(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetStaAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetStr(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetStrAptitude(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetTakeLevel(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_GetType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_IsPresent(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Other_SetModel(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:PetAskChangeCurrentTitle(number, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:PetOpenPetJian(number, string)
无返回值
触发客户端事件 GE_OPEN_PETJIAN_DLG;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:PetOpenTitleList(number)
无返回值
触发客户端事件 GE_OPEN_PET_AGNAME;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:PetProcreate_Clear()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:PetToShelizi(number, number)
1 个返回值
触发客户端事件 GE_GAMELOGIN_SYSTEM_INFO_CLOSE;操作客户端界面;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Select_Pet(number)
1 个返回值
触发客户端事件 GE_REPLY_MISSION_PET;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetCanFanzhiPet(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetFightPetAsMainTarget()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetModel(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetNullCurTitle(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetPetLocation(number, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetProcreate_Other_Model()
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetProcreate_Self_Model()
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetSelectPetIdx(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetSkillLevelupModel(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetSkillStudyModel(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetStudyNewSkillModel(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetSynModel(number, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ShowMyPetContexMenu()
无返回值
触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ShowPetList(number)
无返回值
触发客户端事件 GE_OPEN_PET_LIST、GE_CLOSE_PET_LIST;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ShowTargetPet(number)
无返回值
触发客户端事件 GE_UPDATE_TARGETPET_PAGE;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SkillStudy_Do(number, number, number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SkillStudy_MenPaiSkill_Clear()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SkillStudy_MenPaiSkill_Created(number, number, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SkillStudyUnlock(number)
无返回值
触发客户端事件 GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Syn_Confirm(number, number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Syn_Do(number, number)
无返回值
触发客户端事件 GE_PET_SYNC_OPEN;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:ViewPetDetailData(string)
无返回值
触发客户端事件 GE_UPDATE_TARGETPET_PAGE;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp

多返回值方法

  • Pet:GetAttackTrait → 2 个返回值
  • Pet:GetExp → 2 个返回值
  • Pet:GetGUID → 2 个返回值
  • Pet:GetID → 3 个返回值
  • Pet:GetName → 2 个返回值
  • Pet:GetPetImpactIconNameByIndex → 2 个返回值
  • Pet:GetPetList_Appoint → 2 个返回值
  • Pet:GetPetPetMedicineHC → 2 个返回值
  • Pet:GetPetSkillLevelupInfo → 2 个返回值
  • Pet:GetPetTypeName → 2 个返回值
  • Pet:Other_GetAttackTrait → 2 个返回值
  • Pet:Other_GetExp → 2 个返回值
  • Pet:Other_GetID → 3 个返回值
  • Pet:Other_GetName → 2 个返回值
  • Pet:Other_GetPetList_Appoint → 2 个返回值
  • Pet:Other_GetPetTypeName → 2 个返回值


脚本中的调用

以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):

-- Pet/Pet.lua
-- Pet/Pet.lua
-- PetSkillStudy/PetSkillStudy.lua
-- OtherPet/OtherPet.lua