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

来自天龙知识库
Waylee​(留言 | 贡献)2026年10月24日 (六) 14:35的版本 (新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳到导航跳到搜索

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

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

调用方式

对象方法以 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:ClosePetBank()
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
Pet:ClosePetBankView()
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
Pet:ClosePetSkillStudyMsgBox()
无返回值
触发客户端事件 GE_CLOSE_PETSKILLSTUDY_MSGBOX;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:CloseSignalPetProCreate()
无返回值
触发客户端事件 GE_TEAM_PETCREATE_OPENED;读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:CloseTeamPetProCreate()
无返回值
触发客户端事件 GE_SIGNAL_PETCREATE_OPENED;读取客户端本地数据
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:EnableHuanhua()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
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:GetAIType_PetBank(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
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:GetFirstPetPosInBank_PetBank()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
Pet:GetFirstPetPosInPag()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetBank.inl
Pet:GetFoodType(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetGeneration()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetGrowRate(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetGrowRate4()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHuantong.inl
Pet:GetGUID(number)
2 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetHappy(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetHHChangeModel()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:GetHolyInfo()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:GetHP(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetHuanhuaMoney()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:GetHuanTongCost(number, number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetHuantong.inl
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()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetIsPossession(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:GetLastProcreateLevel()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetLevel(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetLixing()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
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:GetPercent_Lx()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:GetPercent_LxUp()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:GetPet_Count()
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:GetPet_Count_PetBank()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
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:GetPetList_Appoint_PetBank(number)
4 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
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:GetPetType()
1 个返回值
读取客户端本地数据
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:GetRate_LxUp()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:GetRemainingProcreateCount()
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:GetYuanbaoBuyState(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:Go_Fight()
无返回值
触发客户端事件 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:HuanhuaOpenPetJian(number)
无返回值
触发客户端事件 GE_OPEN_PETJIAN_DLG;读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:HuantongBeginConfirm()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHuantong.inl
Pet:HuantongCheckConfirm()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHuantong.inl
Pet:HuantongContext()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHuantong.inl
Pet:IsHuantongMaterial(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetHuantong.inl
Pet:IsPetHaveEquip()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:IsPresent()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:IsPresent_PetBank(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
Pet:IsProtect()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:LockPetProcreate()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Lua_GetCooldownRemainTime(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:Lua_GetPetExteriorChangeDataByPetIdx()
1 个返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:Lua_OneKeyUnEquip()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnClearPetSoulExValue()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnClosePetSoulContext(string)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnClosePetSoulInfo(number)
无返回值
触发客户端事件 GE_CLOSE_PETSOUL_INFO、GE_SHOW_PETSOUL_SUPERTOOLTIP;读取客户端本地数据
Game/Interface/PetSoulViews.inl
Pet:LuaFnConfirmPetSoulCandidate(string, number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnConfirmPetSoulInput(string, number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnConfirmPetSoulOperation(string, number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnEnumOtherPetSoulSkillActionOnPet(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnEnumPetSoulSkillActionByListID(number, number)
无返回值
读取客户端本地数据
Game/Interface/PetSoulViews.inl
Pet:LuaFnEnumPetSoulSkillActionOnPet(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetConAptitude_ps()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetDexAptitude_ps()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetEquipPetSoulTableIndex()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetIntAptitude_ps()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulCandidateToken(number, number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulConfirmToken(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulData(number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulDataByListID(number, string)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/PetSoulViews.inl
Pet:LuaFnGetPetSoulDataOnOtherPet(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulDataOnPet()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulDust()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulExDesc(number, number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulExtensionQual(number, number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulHandbookMaxCount()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/PetSoulViews.inl
Pet:LuaFnGetPetSoulInputToken(number, number, number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulLeveldownCost(number, number)
3 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulLevelupCost(number, number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulLevelupData(number, number)
5 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulPerfectExCount(number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulPieceInfo(number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulPossSkillInfo(number, number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulPossSkillInfo_Handbook(number, number)
无返回值
实现体未体现明确的外部效果
Game/Interface/PetSoulViews.inl
Pet:LuaFnGetPetSoulSkillNameOnPet(number, number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulSwallowData(number, number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPetSoulWashData()
5 个返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetPossessionPetIndex()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetSprAptitude_ps()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnGetStrAptitude_ps()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnInitPetSoulHandbookList()
无返回值
实现体未体现明确的外部效果
Game/Interface/PetSoulViews.inl
Pet:LuaFnIsOtherPetEquipPetSoul(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnIsPetEquipPetSoul()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnIsPetSoul(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnIsPetSoulSkillPassiveOnPet(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnOtherGetConAptitude_ps(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnOtherGetDexAptitude_ps(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnOtherGetIntAptitude_ps(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnOtherGetSprAptitude_ps(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnOtherGetStrAptitude_ps(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnResumePetSoulCandidate()
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnSavePetSoulExValue(number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:LuaFnShowOtherPetSoulPossSkillInfo(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/PetSoulViews.inl
Pet:LuaFnShowPetSoulInfo(number, number)
无返回值
触发客户端事件 GE_SHOW_PETSOUL_INFO;读取客户端本地数据
Game/Interface/PetSoulViews.inl
Pet:LuaFnShowPetSoulPossSkillInfo(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/PetSoulViews.inl
Pet:LuaFnShowPetSoulPossSkillInfo_Handbook(number, number)
无返回值
实现体未体现明确的外部效果
Game/Interface/PetSoulViews.inl
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_GetHolyInfo(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHoly.inl
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_GetLixing(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHoly.inl
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_GetPercent_Lx(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHoly.inl
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:PetBank_PetListSelectChange(number, number)
无返回值
触发客户端事件 GE_TOGLE_PETLIST_SELECT_CHNAGE;读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetBank.inl
Pet:PetHHComfirm(number)
1 个返回值
触发客户端事件 GE_PET_HUANHUA_CONFIRM;读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHoly.inl
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:PossessionPet(number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:RestorePet(number)
无返回值
转发给内部模块处理,具体效果由内部实现决定
Game/Interface/GMGameInterface_Script_PetSoul.inl
Pet:SavePetIntoBank_PetBank(number, number, number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
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:SethuantongModel()
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetHuantong.inl
Pet:SetModel(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_Pet.cpp
Pet:SetModel_PetBank(number)
无返回值
读取客户端本地数据
Game/Interface/GMGameInterface_Script_PetBank.inl
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:SetYuanbaoBuyState(number, number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetHoly.inl
Pet:ShowBagSelectPet_PetBank(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
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:ShowTargetPet_PetBank(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMGameInterface_Script_PetBank.inl
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:UpdatePetList()
无返回值
触发客户端事件 GE_UPDATE_PET_LIST;读取客户端本地数据
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:GetPetList_Appoint_PetBank → 4 个返回值
  • Pet:GetPetPetMedicineHC → 2 个返回值
  • Pet:GetPetSkillLevelupInfo → 2 个返回值
  • Pet:GetPetTypeName → 2 个返回值
  • Pet:LuaFnGetPetSoulDataByListID → 2 个返回值
  • Pet:LuaFnGetPetSoulLeveldownCost → 3 个返回值
  • Pet:LuaFnGetPetSoulLevelupCost → 2 个返回值
  • Pet:LuaFnGetPetSoulLevelupData → 5 个返回值
  • Pet:LuaFnGetPetSoulPieceInfo → 2 个返回值
  • Pet:LuaFnGetPetSoulSwallowData → 2 个返回值
  • Pet:LuaFnGetPetSoulWashData → 5 个返回值
  • 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