Lua接口/客户端函数索引/Pet

来自天龙知识库
雪舞留言 | 贡献2026年9月19日 (六) 09:05的版本 (新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件)
跳到导航跳到搜索

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

Pet 对象方法
实现类 Pet · 163 个方法
本页信息由客户端 C++ 绑定源码与 230 个界面脚本自动整理:参数取实现体的 args[n] 取值点(对象方法已扣除 self 占用的栈位),调用示例取脚本中的真实调用,未经运行验证;用途摘要按实现体归纳,仅供参考。

调用方式

对象方法以 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