Lua接口/客户端函数索引/Talk:修订间差异

来自天龙知识库
跳到导航跳到搜索
雪舞留言 | 贡献
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件
Waylee留言 | 贡献
新建客户端 Lua 接口页:全局函数、对象方法、窗口操作与客户端事件
 
(未显示另一用户的1个中间版本)
第1行: 第1行:
__NOTOC__
__NOTOC__
<div class="lua-reference" style="max-width:1200px;margin:0 auto;line-height:1.8;color:#29343a;font-family:Arial,'Microsoft YaHei','PingFang SC',sans-serif;letter-spacing:0;overflow-wrap:anywhere;">
<div class="lua-reference">
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/Talk|Talk]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]]
[[首页|首页]] · [[Lua接口/客户端函数索引|客户端接口]] · [[Lua接口/客户端函数索引/Talk|Talk]] · [[Lua接口/客户端窗口操作|窗口操作]] · [[Lua接口/客户端事件|客户端事件]]


<div style="padding:14px 0;border-top:3px solid #287568;">
<div class="lua-lead">
<div role="heading" aria-level="2" style="font-size:22px;font-weight:bold;color:#193d37;">Talk 对象方法</div>
<div role="heading" aria-level="2" class="lua-h1">Talk 对象方法</div>
<div style="margin-top:6px;color:#657078;">实现类 <code style="white-space:normal;overflow-wrap:anywhere;">Talk</code> · 43 个方法</div>
<div class="lua-sub">实现类 <code>Talk</code> · 43 个方法</div>
</div>
</div>
<div style="margin:10px 0;padding:10px 12px;border-left:3px solid #9a7940;background:#faf7f0;font-size:13px;color:#5f5136;">本页信息由客户端 C++ 绑定源码与 230 个界面脚本自动整理:参数取实现体的 <code>args[n]</code> 取值点(对象方法已扣除 <code>self</code> 占用的栈位),调用示例取脚本中的真实调用,<b>未经运行验证</b>;用途摘要按实现体归纳,仅供参考。</div>
== 调用方式 ==
== 调用方式 ==
对象方法以 <code style="white-space:normal;overflow-wrap:anywhere;">Talk:方法名(参数)</code> 形式调用,例如 <code style="white-space:normal;overflow-wrap:anywhere;">Talk:HandleHistoryAction(string, string, string)</code>。各方法的参数见下表,点方法名进入独立页。
对象方法以 <code>Talk:方法名(参数)</code> 形式调用,例如 <code>Talk:HandleHistoryAction(string, string, string)</code>。各方法的参数见下表,点方法名进入独立页。
对象名 <code style="white-space:normal;overflow-wrap:anywhere;">Talk</code> 是全局对象,可直接使用。
对象名 <code>Talk</code> 是全局对象,可直接使用。


== 方法列表 ==
== 方法列表 ==
{| class="wikitable" style="width:100%;table-layout:fixed;border-collapse:collapse;font-size:13px;"
{| class="wikitable"
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;width:46%;" | 方法
! scope="col" class="lua-w46" | 方法
! scope="col" style="text-align:left;background:#edf3f2;padding:8px;" | 说明
! scope="col" | 说明
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ChangeCurrentChannel|Talk:ChangeCurrentChannel]](string, string, number)</code><br /><small style="color:#657078;">2 个返回值</small>
| <code>[[Lua接口/客户端/Talk/ChangeCurrentChannel|Talk:ChangeCurrentChannel]](string, string, number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ClearTab|Talk:ClearTab]](number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ClearTab|Talk:ClearTab]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ConfigTab|Talk:ConfigTab]](string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ConfigTab|Talk:ConfigTab]](string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_TAB_CONFIG;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_TAB_CONFIG;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ConfigTabFinish|Talk:ConfigTabFinish]](string, string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ConfigTabFinish|Talk:ConfigTabFinish]](string, string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_TAB_CONFIG_FINISH;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_TAB_CONFIG_FINISH;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ContexMenuTalk|Talk:ContexMenuTalk]](string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ContexMenuTalk|Talk:ContexMenuTalk]](string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_CHANGE_PRIVATENAME;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_CHANGE_PRIVATENAME;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/CreateTab|Talk:CreateTab]]()</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/CreateTab|Talk:CreateTab]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_TAB_CREATE;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_TAB_CREATE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/CreateTabFinish|Talk:CreateTabFinish]](string, string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/CreateTabFinish|Talk:CreateTabFinish]](string, string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_TAB_CREATE_FINISH;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_TAB_CREATE_FINISH;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/DelPingBi|Talk:DelPingBi]](number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/DelPingBi|Talk:DelPingBi]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_PINGBI_UPDATE;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_PINGBI_UPDATE;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/DisclosureToGM|Talk:DisclosureToGM]](string, string, string, number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/DisclosureToGM|Talk:DisclosureToGM]](string, string, string, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/EnumChatMood|Talk:EnumChatMood]](number)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/EnumChatMood|Talk:EnumChatMood]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetChannel|Talk:GetChannel]](number)</code><br /><small style="color:#657078;">2 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetChannel|Talk:GetChannel]](number)</code><br /><small class="lua-muted">2 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetChannelHeader|Talk:GetChannelHeader]](string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetChannelHeader|Talk:GetChannelHeader]](string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetChannelNumber|Talk:GetChannelNumber]]()</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetChannelNumber|Talk:GetChannelNumber]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetChannelType|Talk:GetChannelType]](string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetChannelType|Talk:GetChannelType]](string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetCurInputLanguage|Talk:GetCurInputLanguage]]()</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetCurInputLanguage|Talk:GetCurInputLanguage]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 操作客户端界面<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 操作客户端界面<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetCurrentSelectName|Talk:GetCurrentSelectName]]()</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetCurrentSelectName|Talk:GetCurrentSelectName]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetCurTab|Talk:GetCurTab]]()</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetCurTab|Talk:GetCurTab]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetHyperLinkString|Talk:GetHyperLinkString]](string, string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetHyperLinkString|Talk:GetHyperLinkString]](string, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetPingBiName|Talk:GetPingBiName]](number)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetPingBiName|Talk:GetPingBiName]](number)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetPingBiNum|Talk:GetPingBiNum]]()</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetPingBiNum|Talk:GetPingBiNum]]()</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/GetTalkTemplateString|Talk:GetTalkTemplateString]](string, string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/GetTalkTemplateString|Talk:GetTalkTemplateString]](string, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/HandleHistoryAction|Talk:HandleHistoryAction]](string, string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/HandleHistoryAction|Talk:HandleHistoryAction]](string, string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_HISTORY_ACTION;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_HISTORY_ACTION;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/HandleMainBarAction|Talk:HandleMainBarAction]](string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/HandleMainBarAction|Talk:HandleMainBarAction]](string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_MENUBAR_ACTION;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_MENUBAR_ACTION;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/HandleMenuAction|Talk:HandleMenuAction]](string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/HandleMenuAction|Talk:HandleMenuAction]](string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/HideContexMenu4Speaker|Talk:HideContexMenu4Speaker]]()</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/HideContexMenu4Speaker|Talk:HideContexMenu4Speaker]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_HIDE_CONTEXMENU_SPEAKER;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_HIDE_CONTEXMENU_SPEAKER;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/InsertHistory|Talk:InsertHistory]](number, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/InsertHistory|Talk:InsertHistory]](number, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ModifyChatTxt|Talk:ModifyChatTxt]](string, string, string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/ModifyChatTxt|Talk:ModifyChatTxt]](string, string, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/MoveTabHisQue|Talk:MoveTabHisQue]](number, number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/MoveTabHisQue|Talk:MoveTabHisQue]](number, number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/OpenSpeakerDlg|Talk:OpenSpeakerDlg]]()</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/OpenSpeakerDlg|Talk:OpenSpeakerDlg]]()</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_SHOW_SPEAKER_INPUTBOX;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_SHOW_SPEAKER_INPUTBOX;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SaveChatHistory|Talk:SaveChatHistory]](number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SaveChatHistory|Talk:SaveChatHistory]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SaveOldTalkMsg|Talk:SaveOldTalkMsg]](string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SaveOldTalkMsg|Talk:SaveOldTalkMsg]](string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SaveTab|Talk:SaveTab]](number, string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SaveTab|Talk:SaveTab]](number, string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SelectFaceMotion|Talk:SelectFaceMotion]](string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SelectFaceMotion|Talk:SelectFaceMotion]](string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_FACEMOTION_SELECT;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_FACEMOTION_SELECT;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SelectTextColor|Talk:SelectTextColor]](string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SelectTextColor|Talk:SelectTextColor]](string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_TEXTCOLOR_SELECT;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_TEXTCOLOR_SELECT;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SendChatMessage|Talk:SendChatMessage]](string, string)</code><br /><small style="color:#657078;">1 个返回值</small>
| <code>[[Lua接口/客户端/Talk/SendChatMessage|Talk:SendChatMessage]](string, string)</code><br /><small class="lua-muted">1 个返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SetCurTab|Talk:SetCurTab]](number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SetCurTab|Talk:SetCurTab]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_TAB_CHANGED;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_TAB_CHANGED;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SetDisappearTime|Talk:SetDisappearTime]](number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SetDisappearTime|Talk:SetDisappearTime]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SetMaxSaveNumber|Talk:SetMaxSaveNumber]](number)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SetMaxSaveNumber|Talk:SetMaxSaveNumber]](number)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/SetTabCfg|Talk:SetTabCfg]](number, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/SetTabCfg|Talk:SetTabCfg]](number, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 实现体未体现明确的外部效果<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 实现体未体现明确的外部效果<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ShowChatMood|Talk:ShowChatMood]](string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ShowChatMood|Talk:ShowChatMood]](string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_ACT_SELECT;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_ACT_SELECT;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ShowContexMenu|Talk:ShowContexMenu]](string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ShowContexMenu|Talk:ShowContexMenu]](string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ShowContexMenu4Speaker|Talk:ShowContexMenu4Speaker]](string, string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ShowContexMenu4Speaker|Talk:ShowContexMenu4Speaker]](string, string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|-
|-
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | <code style="white-space:normal;overflow-wrap:anywhere;">[[Lua接口/客户端/Talk/ShowPingBi|Talk:ShowPingBi]](string)</code><br /><small style="color:#657078;">无返回值</small>
| <code>[[Lua接口/客户端/Talk/ShowPingBi|Talk:ShowPingBi]](string)</code><br /><small class="lua-muted">无返回值</small>
| style="padding:8px;vertical-align:top;overflow-wrap:anywhere;" | 触发客户端事件 GE_CHAT_PINGBI_LIST;读取客户端本地数据<br /><small style="color:#657078;">Game/Interface/GMInterface_Script_Talk.cpp</small>
| 触发客户端事件 GE_CHAT_PINGBI_LIST;读取客户端本地数据<br /><small class="lua-muted">Game/Interface/GMInterface_Script_Talk.cpp</small>
|}
|}


== 多返回值方法 ==
== 多返回值方法 ==
* <code style="white-space:normal;overflow-wrap:anywhere;">Talk:ChangeCurrentChannel</code> → 2 个返回值
* <code>Talk:ChangeCurrentChannel</code> → 2 个返回值
* <code style="white-space:normal;overflow-wrap:anywhere;">Talk:GetChannel</code> → 2 个返回值
* <code>Talk:GetChannel</code> → 2 个返回值




== 脚本中的调用 ==
== 脚本中的调用 ==
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):
<pre style="white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.7;padding:12px;background:#f5f7f8;border:1px solid #dbe3e6;">-- ChatFrame/ChatFrame.lua
<pre>-- ChatFrame/ChatFrame.lua
-- ChatFrame/ChatFrame.lua
-- ChatFrame/ChatFrame.lua
-- ChatFrame/ChatFrame.lua
-- ChatFrame/ChatFrame.lua

2026年9月19日 (六) 17:00的最新版本

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

Talk 对象方法
实现类 Talk · 43 个方法

调用方式

对象方法以 Talk:方法名(参数) 形式调用,例如 Talk:HandleHistoryAction(string, string, string)。各方法的参数见下表,点方法名进入独立页。 对象名 Talk 是全局对象,可直接使用。

方法列表

方法 说明
Talk:ChangeCurrentChannel(string, string, number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ClearTab(number)
无返回值
读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ConfigTab(string, string)
无返回值
触发客户端事件 GE_CHAT_TAB_CONFIG;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ConfigTabFinish(string, string, string)
无返回值
触发客户端事件 GE_CHAT_TAB_CONFIG_FINISH;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ContexMenuTalk(string)
无返回值
触发客户端事件 GE_CHAT_CHANGE_PRIVATENAME;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:CreateTab()
无返回值
触发客户端事件 GE_CHAT_TAB_CREATE;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:CreateTabFinish(string, string, string)
无返回值
触发客户端事件 GE_CHAT_TAB_CREATE_FINISH;操作客户端界面;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:DelPingBi(number)
无返回值
触发客户端事件 GE_CHAT_PINGBI_UPDATE;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:DisclosureToGM(string, string, string, number)
无返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:EnumChatMood(number)
1 个返回值
读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetChannel(number)
2 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetChannelHeader(string)
1 个返回值
读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetChannelNumber()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetChannelType(string)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetCurInputLanguage()
1 个返回值
操作客户端界面
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetCurrentSelectName()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetCurTab()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetHyperLinkString(string, string)
1 个返回值
读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetPingBiName(number)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetPingBiNum()
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:GetTalkTemplateString(string, string)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:HandleHistoryAction(string, string, string)
无返回值
触发客户端事件 GE_CHAT_HISTORY_ACTION;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:HandleMainBarAction(string, string)
无返回值
触发客户端事件 GE_CHAT_MENUBAR_ACTION;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:HandleMenuAction(string)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:HideContexMenu4Speaker()
无返回值
触发客户端事件 GE_HIDE_CONTEXMENU_SPEAKER;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:InsertHistory(number, string)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ModifyChatTxt(string, string, string)
1 个返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:MoveTabHisQue(number, number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:OpenSpeakerDlg()
无返回值
触发客户端事件 GE_SHOW_SPEAKER_INPUTBOX;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SaveChatHistory(number)
无返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SaveOldTalkMsg(string, string)
无返回值
读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SaveTab(number, string, string)
无返回值
读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SelectFaceMotion(string, string)
无返回值
触发客户端事件 GE_CHAT_FACEMOTION_SELECT;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SelectTextColor(string, string)
无返回值
触发客户端事件 GE_CHAT_TEXTCOLOR_SELECT;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SendChatMessage(string, string)
1 个返回值
触发客户端事件 GE_NEW_DEBUGMESSAGE;操作客户端界面;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SetCurTab(number)
无返回值
触发客户端事件 GE_CHAT_TAB_CHANGED;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SetDisappearTime(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SetMaxSaveNumber(number)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:SetTabCfg(number, string)
无返回值
实现体未体现明确的外部效果
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ShowChatMood(string)
无返回值
触发客户端事件 GE_CHAT_ACT_SELECT;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ShowContexMenu(string)
无返回值
触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ShowContexMenu4Speaker(string, string)
无返回值
触发客户端事件 GE_SHOW_CONTEXMENU;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp
Talk:ShowPingBi(string)
无返回值
触发客户端事件 GE_CHAT_PINGBI_LIST;读取客户端本地数据
Game/Interface/GMInterface_Script_Talk.cpp

多返回值方法

  • Talk:ChangeCurrentChannel → 2 个返回值
  • Talk:GetChannel → 2 个返回值


脚本中的调用

以下是该对象在客户端界面脚本里的调用点(整理为注释,便于检索):

-- ChatFrame/ChatFrame.lua
-- ChatFrame/ChatFrame.lua
-- ChatFrame/ChatFrame.lua
-- ChannelCustomization/ChannelCustomization.lua