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

来自天龙知识库
跳到导航跳到搜索
雪舞留言 | 贡献
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件
 
雪舞留言 | 贡献
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件
第5行: 第5行:
<div style="padding:14px 0;border-top:3px solid #287568;">
<div style="padding:14px 0;border-top:3px solid #287568;">
<div role="heading" aria-level="2" style="font-size:22px;font-weight:bold;color:#193d37;">TargetPet 对象方法</div>
<div role="heading" aria-level="2" style="font-size:22px;font-weight:bold;color:#193d37;">TargetPet 对象方法</div>
<div style="margin-top:6px;color:#657078;">实现类 <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet</code> · 48 个方法 · 脚本使用 131 处</div>
<div style="margin-top:6px;color:#657078;">实现类 <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet</code> · 48 个方法</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>
<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>
第17行: 第17行:
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;" | 说明
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;" | 说明
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:CopyMyPet(number)</code><br /><small style="color:#657078;">number · 无返回值 · 脚本使用 1 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:CopyMyPet(number)</code><br /><small style="color:#657078;">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L629</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetAIType()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetAIType()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L863</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetAttackTrait()</code><br /><small style="color:#657078;">无参数 · 2 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetAttackTrait()</code><br /><small style="color:#657078;">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L918</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetBasic()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetBasic()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L491</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetConsort()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetConsort()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L157</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetCriticalAttack()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetCriticalAttack()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L649</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetCriticalDefence()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetCriticalDefence()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L661</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetDeathWarrant()</code><br /><small style="color:#657078;">无参数 · 1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetDeathWarrant()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L849</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetDex()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetDex()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L450</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetDexAptitude()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetDexAptitude()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L381</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetExp()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 4 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetExp()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L518</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetFoodType()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetFoodType()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L876</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetGrowRate()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 4 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetGrowRate()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L956</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetHappy()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 3 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetHappy()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L233</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetHP()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 4 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetHP()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L297</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetID()</code><br /><small style="color:#657078;">无参数 · 3 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetID()</code><br /><small style="color:#657078;">3 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L193</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetInt()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetInt()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L437</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetIntAptitude()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetIntAptitude()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L395</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetIsFighting()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetIsFighting()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L828</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetLevel()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 4 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetLevel()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L219</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetLoyalgGade()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 1 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetLoyalgGade()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L283</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMagicAttack()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMagicAttack()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L545</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMagicRecovery()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMagicRecovery()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L573</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMaxHP()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 4 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMaxHP()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L325</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMaxLife()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMaxLife()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L275</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMaxMP()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 1 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMaxMP()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L339</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMiss()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMiss()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L601</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMP()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 1 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetMP()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L311</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetName()</code><br /><small style="color:#657078;">无参数 · 2 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetName()</code><br /><small style="color:#657078;">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L131</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetNaturalLife()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetNaturalLife()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L261</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPetGrowLevel(number)</code><br /><small style="color:#657078;">number · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPetGrowLevel(number)</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L969</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPetTypeName()</code><br /><small style="color:#657078;">无参数 · 2 个返回值 · 脚本使用 3 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPetTypeName()</code><br /><small style="color:#657078;">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L69</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPF()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPF()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L463</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPFAptitude()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPFAptitude()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L367</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPhysicsAttack()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPhysicsAttack()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L532</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPhysicsRecovery()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPhysicsRecovery()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L559</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPotential()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetPotential()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L505</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetSavvy()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetSavvy()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L943</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetSex()</code><br /><small style="color:#657078;">无参数 · 1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetSex()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L178</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetShootProbability()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetShootProbability()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L587</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetSta()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetSta()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L477</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetStaAptitude()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetStaAptitude()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L409</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetStr()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetStr()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L423</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetStrAptitude()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 2 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetStrAptitude()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L353</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetTakeLevel()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetTakeLevel()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L901</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetType()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 1 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:GetType()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L247</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:IsPresent()</code><br /><small style="color:#657078;">无参数 · 1 个返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:IsPresent()</code><br /><small style="color:#657078;">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L41</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:SetModel()</code><br /><small style="color:#657078;">无参数 · 无返回值 · 脚本使用 6 处</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">TargetPet:SetModel()</code><br /><small style="color:#657078;">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp L615</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMGameInterface_Script_TargetPet.cpp</small>
|}
|}



2026年9月19日 (六) 08:13的版本

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

TargetPet 对象方法
实现类 TargetPet · 48 个方法
本页参数与返回值由客户端 C++ 绑定源码自动推断(参数取自 args[n]lua_is* 的实际取值点,返回项数取自 return n),未经运行验证;用途摘要按实现体归纳,仅供参考。

调用方式

调用形式:TargetPet:CopyMyPet(number) 对象名 TargetPet 是全局对象,可直接使用。

方法列表

方法 说明
TargetPet:CopyMyPet(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetAIType()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetAttackTrait()
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetBasic()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetConsort()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetCriticalAttack()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetCriticalDefence()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetDeathWarrant()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetDex()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetDexAptitude()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetExp()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetFoodType()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetGrowRate()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetHappy()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetHP()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetID()
3 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetInt()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetIntAptitude()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetIsFighting()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetLevel()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetLoyalgGade()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMagicAttack()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMagicRecovery()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMaxHP()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMaxLife()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMaxMP()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMiss()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetMP()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetName()
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetNaturalLife()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPetGrowLevel(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPetTypeName()
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPF()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPFAptitude()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPhysicsAttack()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPhysicsRecovery()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetPotential()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetSavvy()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetSex()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetShootProbability()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetSta()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetStaAptitude()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetStr()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetStrAptitude()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetTakeLevel()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:GetType()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:IsPresent()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp
TargetPet:SetModel()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_TargetPet.cpp

多返回值方法

  • TargetPet:GetAttackTrait → 2 个返回值
  • TargetPet:GetID → 3 个返回值
  • TargetPet:GetName → 2 个返回值
  • TargetPet:GetPetTypeName → 2 个返回值


脚本中的调用

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

-- TargetPet:CopyMyPet  ← TargetPet/TargetPet.lua
-- Pet:GetAIType  ← Pet/Pet.lua
-- Pet:GetAttackTrait  ← Pet/Pet.lua
-- Pet:GetBasic  ← Pet/Pet.lua