Lua接口/客户端/FlashTeamButton
来自天龙知识库
跳到导航跳到搜索
FlashTeamButton
闪烁按钮. · 实现于 Game/Interface/GMGameInterface_Script.cpp
调用方式
FlashTeamButton(number)
作为全局函数直接按名称调用。
界面脚本中共 6 处调用,实参个数出现过:1 个(6 处)。
参数
| 序号 | 类型 | 说明 |
|---|---|---|
| 1 | number
|
调用点实参:0(2 处)、1(2 处)、2(1 处)
|
返回值
无返回值(实现体 return 0)。被赋给变量时得到 nil,与返回数字 0 不同。
实现体注释
以下注释取自实现体原文,仅收录可确认属原作者的部分:
- 得到打开队友信息的类型.
- 0 : 打开队伍信息
- 1 : 有人申请加入队伍
脚本中的调用
以下是界面脚本里的真实调用点(同一形态只列一次):
-- TeamFrame/TeamFrame.lua FlashTeamButton(0) -- TeamFrame/TeamFrame.lua FlashTeamButton(1) -- TeamFrame/TeamFrame.lua FlashTeamButton(2) -- TeamFrame/TeamFrame.lua FlashTeamButton(3)
关联
- 触发客户端事件:
GE_TEAM_NOTIFY_APPLY,见客户端事件 - 读取或修改客户端本地数据