Lua接口/客户端函数索引/LifeAbility:修订间差异
来自天龙知识库
跳到导航跳到搜索
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件 |
||
| (未显示1个用户的3个中间版本) | |||
| 第1行: | 第1行: | ||
__NOTOC__ | __NOTOC__ | ||
<div class="lua-reference | <div class="lua-reference"> | ||
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/LifeAbility|LifeAbility]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]] | [[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/LifeAbility|LifeAbility]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]] | ||
<div | <div class="lua-lead"> | ||
<div role="heading" aria-level="2" | <div role="heading" aria-level="2" class="lua-h1">LifeAbility 对象方法</div> | ||
<div | <div class="lua-sub">实现类 <code>LifeAbility</code> · 61 个方法</div> | ||
</div> | </div> | ||
== 调用方式 == | == 调用方式 == | ||
对象方法以 <code | 对象方法以 <code>LifeAbility:方法名(参数)</code> 形式调用,例如 <code>LifeAbility:Lock_Packet_Item(number, number)</code>。各方法的参数见下表,点方法名进入独立页。 | ||
对象名 <code | 对象名 <code>LifeAbility</code> 是全局对象,可直接使用。 | ||
== 方法列表 == | == 方法列表 == | ||
{| class="wikitable | {| class="wikitable" | ||
! scope="col" | ! scope="col" class="lua-w46" | 方法 | ||
! scope="col | ! scope="col" | 说明 | ||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Can_Combine|LifeAbility:Can_Combine]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Can_Enchase|LifeAbility:Can_Enchase]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/ClearComposeItems|LifeAbility:ClearComposeItems]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/ClearSlotFour|LifeAbility:ClearSlotFour]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/CloseReIdentifyMsgBox|LifeAbility:CloseReIdentifyMsgBox]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CLOSE_RE_IDENTIFY_MSGBOX;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/CloseStrengthMsgBox|LifeAbility:CloseStrengthMsgBox]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_CLOSE_STRENGTH_MSGBOX;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Compound_Preparation|LifeAbility:Compound_Preparation]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Do_Combine|LifeAbility:Do_Combine]](number, number, number, number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Do_Enchase|LifeAbility:Do_Enchase]](number, number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Do_Enchase_Four|LifeAbility:Do_Enchase_Four]](number, number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Do_SeparateGem|LifeAbility:Do_SeparateGem]](number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Enchase_CloseMsgBox|LifeAbility:Enchase_CloseMsgBox]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_ENCHASE_CLOSE_MSGBOX;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Enchase_Confirm|LifeAbility:Enchase_Confirm]](number, number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_ENCHASE_CONFIRM;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Enchase_Four_Confirm|LifeAbility:Enchase_Four_Confirm]](number, number, number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_ENCHASE_FOUR_CONFIRM;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Enchase_Preparation|LifeAbility:Enchase_Preparation]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Enhance_Cost|LifeAbility:Get_Enhance_Cost]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Equip_CurStrengthLevel|LifeAbility:Get_Equip_CurStrengthLevel]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Equip_Exterior|LifeAbility:Get_Equip_Exterior]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Equip_Level|LifeAbility:Get_Equip_Level]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Equip_Point|LifeAbility:Get_Equip_Point]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Equip_StrengthLevel|LifeAbility:Get_Equip_StrengthLevel]](number)</code><br /><small class="lua-muted">2 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Equip_VisualID|LifeAbility:Get_Equip_VisualID]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Gem_Level|LifeAbility:Get_Gem_Level]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_OtherPlayerEquip_VisualID|LifeAbility:Get_OtherPlayerEquip_VisualID]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_Test_Prescr_Item|LifeAbility:Get_Test_Prescr_Item]](number, number)</code><br /><small class="lua-muted">2 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_UserEquip_Current_Durability|LifeAbility:Get_UserEquip_Current_Durability]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_UserEquip_Maximum_Durability|LifeAbility:Get_UserEquip_Maximum_Durability]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Get_UserEquip_VisualID|LifeAbility:Get_UserEquip_VisualID]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetEquip_Gem|LifeAbility:GetEquip_Gem]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetEquip_GemCount|LifeAbility:GetEquip_GemCount]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetEquip_GemLevel|LifeAbility:GetEquip_GemLevel]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetEquip_HoleCount|LifeAbility:GetEquip_HoleCount]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetItem_Class|LifeAbility:GetItem_Class]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetLifeAbility_LimitExp|LifeAbility:GetLifeAbility_LimitExp]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetLifeAbility_Number|LifeAbility:GetLifeAbility_Number]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetNpcId|LifeAbility:GetNpcId]]()</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Consume_ContriAttr|LifeAbility:GetPrescr_Consume_ContriAttr]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Consume_Vigor_Energy|LifeAbility:GetPrescr_Consume_Vigor_Energy]](number)</code><br /><small class="lua-muted">2 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Explain|LifeAbility:GetPrescr_Explain]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Item_IsNeedSpecial|LifeAbility:GetPrescr_Item_IsNeedSpecial]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Item_Maximum|LifeAbility:GetPrescr_Item_Maximum]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Material|LifeAbility:GetPrescr_Material]](number)</code><br /><small class="lua-muted">2 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Material_Consume|LifeAbility:GetPrescr_Material_Consume]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Material_Hold_Count|LifeAbility:GetPrescr_Material_Hold_Count]](number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Material_Number|LifeAbility:GetPrescr_Material_Number]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescr_Material_Tooltip|LifeAbility:GetPrescr_Material_Tooltip]](number)</code><br /><small class="lua-muted">3 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescription_Kind|LifeAbility:GetPrescription_Kind]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetPrescrList_Item_FromNum|LifeAbility:GetPrescrList_Item_FromNum]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetQuestUI_Demand|LifeAbility:GetQuestUI_Demand]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetQuestUI_Reward|LifeAbility:GetQuestUI_Reward]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetSplitGem_Gem|LifeAbility:GetSplitGem_Gem]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/GetSplitGem_GemEx|LifeAbility:GetSplitGem_GemEx]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Is_SlotFour|LifeAbility:Is_SlotFour]](number, number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_GAMELOGIN_SYSTEM_INFO_OK;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Lock_Packet_Item|LifeAbility:Lock_Packet_Item]](number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Open_Compose_Gem_Page|LifeAbility:Open_Compose_Gem_Page]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_OPEN_COMPOSE_GEM;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/ShowSuperToolTip|LifeAbility:ShowSuperToolTip]](number, boolean, number, number, number, number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 触发客户端事件 GE_SUPERTOOLTIP;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/SplitGem_Update|LifeAbility:SplitGem_Update]](number)</code><br /><small class="lua-muted">1 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Stiletto_Preparation|LifeAbility:Stiletto_Preparation]](number, number)</code><br /><small class="lua-muted">4 个返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Update_Equip_VisualID|LifeAbility:Update_Equip_VisualID]]()</code><br /><small class="lua-muted">无返回值</small> | |||
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Update_Synthesize|LifeAbility:Update_Synthesize]](number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_UPDATE_COMPOSE_ITEM;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|- | |- | ||
| <code>[[Lua接口/客户端/LifeAbility/Wear_Equip_VisualID|LifeAbility:Wear_Equip_VisualID]](number, number)</code><br /><small class="lua-muted">无返回值</small> | |||
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMGameInterface_Script_LifeAbility.cpp</small> | |||
|} | |} | ||
== 多返回值方法 == | == 多返回值方法 == | ||
* <code | * <code>LifeAbility:Get_Equip_StrengthLevel</code> → 2 个返回值 | ||
* <code | * <code>LifeAbility:Get_Test_Prescr_Item</code> → 2 个返回值 | ||
* <code | * <code>LifeAbility:GetPrescr_Consume_Vigor_Energy</code> → 2 个返回值 | ||
* <code | * <code>LifeAbility:GetPrescr_Material</code> → 2 个返回值 | ||
* <code | * <code>LifeAbility:GetPrescr_Material_Tooltip</code> → 3 个返回值 | ||
* <code | * <code>LifeAbility:Stiletto_Preparation</code> → 4 个返回值 | ||
== 脚本中的调用 == | == 脚本中的调用 == | ||
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索): | 以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索): | ||
<pre | <pre>-- Materalcompose/MaterialCompound.lua | ||
-- Stiletto_Four/Stiletto_Four.lua | -- Stiletto_Four/Stiletto_Four.lua | ||
-- Identify/Identify.lua | -- Identify/Identify.lua | ||
2026年9月19日 (六) 17:00的最新版本
首页 · 客户端接口 · LifeAbility · 窗口操作 · 客户端事件
LifeAbility 对象方法
实现类
LifeAbility · 61 个方法调用方式
对象方法以 LifeAbility:方法名(参数) 形式调用,例如 LifeAbility:Lock_Packet_Item(number, number)。各方法的参数见下表,点方法名进入独立页。
对象名 LifeAbility 是全局对象,可直接使用。
方法列表
| 方法 | 说明 |
|---|---|
LifeAbility:Can_Combine(number, number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Can_Enchase(number, number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:ClearComposeItems()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:ClearSlotFour()无返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:CloseReIdentifyMsgBox()无返回值 |
触发客户端事件 GE_CLOSE_RE_IDENTIFY_MSGBOX;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:CloseStrengthMsgBox()无返回值 |
触发客户端事件 GE_CLOSE_STRENGTH_MSGBOX;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Compound_Preparation(number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Do_Combine(number, number, number, number, number, number)无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Do_Enchase(number, number, number, number)无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Do_Enchase_Four(number, number, number, number)无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Do_SeparateGem(number, number, number)无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Enchase_CloseMsgBox()无返回值 |
触发客户端事件 GE_ENCHASE_CLOSE_MSGBOX;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Enchase_Confirm(number, number, number, number)无返回值 |
触发客户端事件 GE_ENCHASE_CONFIRM;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Enchase_Four_Confirm(number, number, number, number)无返回值 |
触发客户端事件 GE_ENCHASE_FOUR_CONFIRM;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Enchase_Preparation(number, number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Enhance_Cost(number, number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Equip_CurStrengthLevel(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Equip_Exterior(number, number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Equip_Level(number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Equip_Point(number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Equip_StrengthLevel(number)2 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Equip_VisualID(number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Gem_Level(number, number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_OtherPlayerEquip_VisualID(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_Test_Prescr_Item(number, number)2 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_UserEquip_Current_Durability(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_UserEquip_Maximum_Durability(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Get_UserEquip_VisualID(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetEquip_Gem(number, number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetEquip_GemCount(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetEquip_GemLevel(number, number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetEquip_HoleCount(number)1 个返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetItem_Class(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetLifeAbility_LimitExp(number, number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetLifeAbility_Number(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetNpcId()1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Consume_ContriAttr(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Consume_Vigor_Energy(number)2 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Explain(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Item_IsNeedSpecial(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Item_Maximum(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Material(number)2 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Material_Consume(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Material_Hold_Count(number, number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Material_Number(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescr_Material_Tooltip(number)3 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescription_Kind(number)1 个返回值 |
实现体未体现明确的外部效果 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetPrescrList_Item_FromNum(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetQuestUI_Demand(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetQuestUI_Reward(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetSplitGem_Gem(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:GetSplitGem_GemEx(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Is_SlotFour(number, number, number)1 个返回值 |
触发客户端事件 GE_GAMELOGIN_SYSTEM_INFO_OK;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Lock_Packet_Item(number, number)无返回值 |
触发客户端事件 GE_PACKAGE_ITEM_CHANGED;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Open_Compose_Gem_Page(number)无返回值 |
触发客户端事件 GE_OPEN_COMPOSE_GEM;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:ShowSuperToolTip(number, boolean, number, number, number, number)1 个返回值 |
触发客户端事件 GE_SUPERTOOLTIP;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:SplitGem_Update(number)1 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Stiletto_Preparation(number, number)4 个返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Update_Equip_VisualID()无返回值 |
读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Update_Synthesize(number)无返回值 |
触发客户端事件 GE_UPDATE_COMPOSE_ITEM;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
LifeAbility:Wear_Equip_VisualID(number, number)无返回值 |
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据 Game/Interface/GMGameInterface_Script_LifeAbility.cpp |
多返回值方法
LifeAbility:Get_Equip_StrengthLevel→ 2 个返回值LifeAbility:Get_Test_Prescr_Item→ 2 个返回值LifeAbility:GetPrescr_Consume_Vigor_Energy→ 2 个返回值LifeAbility:GetPrescr_Material→ 2 个返回值LifeAbility:GetPrescr_Material_Tooltip→ 3 个返回值LifeAbility:Stiletto_Preparation→ 4 个返回值
脚本中的调用
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
-- Materalcompose/MaterialCompound.lua -- Stiletto_Four/Stiletto_Four.lua -- Identify/Identify.lua -- CoupleQuestion/CoupleQuestion.lua