Lua接口/客户端/LifeAbility/ShowSuperToolTip
来自天龙知识库
跳到导航跳到搜索
首页 · 客户端接口 · LifeAbility
LifeAbility:ShowSuperToolTip
触发客户端事件 GE_SUPERTOOLTIP;读取客户端本地数据 · 实现于 Game/Interface/GMGameInterface_Script_LifeAbility.cpp
调用方式
LifeAbility:ShowSuperToolTip(number, boolean, number, number, number, number)
对象名 LifeAbility 是全局对象,可直接使用。
界面脚本中共 3 处调用,实参个数出现过:1 个(1 处)、2 个(1 处)、6 个(1 处)。
参数
| 序号 | 类型 | 说明 |
|---|---|---|
| 1 | number
|
调用点实参:1(1 处)、itemID(1 处)、resultid(1 处)
|
| 2 | boolean
|
调用点实参:false(1 处)、true(1 处)可省略:实际调用中出现过少传实参的情形 |
| 3 | number
|
调用点实参:left(1 处)可省略:实际调用中出现过少传实参的情形 |
| 4 | number
|
调用点实参:top(1 处)可省略:实际调用中出现过少传实参的情形 |
| 5 | number
|
调用点实参:right(1 处)可省略:实际调用中出现过少传实参的情形 |
| 6 | number
|
调用点实参:bottom(1 处)可省略:实际调用中出现过少传实参的情形 |
返回值
返回 1 个值。
脚本中的调用
以下是界面脚本里的真实调用点(同一形态只列一次):
-- Synthesize/Synthesize.lua LifeAbility:ShowSuperToolTip(resultid) -- Synthesize/Synthesize.lua LifeAbility:ShowSuperToolTip(itemID, true, left, top, right, bottom) -- Synthesize/Synthesize.lua LifeAbility:ShowSuperToolTip(1, false)
关联
- 触发客户端事件:
GE_SUPERTOOLTIP,见客户端事件 - 读取或修改客户端本地数据