Lua接口/客户端/SendChatMessage
来自天龙知识库
SendChatMessage
实现体未体现明确的外部效果 · 实现于 Game/Interface/GMGameInterface_Script.cpp
本页信息由客户端 C++ 绑定源码与 230 个界面脚本自动整理:参数取实现体的
args[n] 取值点(对象方法已扣除 self 占用的栈位),调用示例取脚本中的真实调用,未经运行验证;用途摘要按实现体归纳,仅供参考。调用方式
SendChatMessage(string, string, number, number, number)
作为全局函数直接按名称调用。
现有界面脚本中没有检索到该函数的调用点。
参数
| 序号 | 类型 | 说明 |
|---|---|---|
| 1 | string
|
源码注释:消息字符串 |
| 2 | string
|
源码注释:目标名字字符串 |
| 3 | number
|
源码注释:频道id |
| 4 | number
|
源码注释:消息类型 |
| 5 | number
|
源码注释:团队id |
返回值
无返回值(实现体 return 0)。被赋给变量时得到 nil,与返回数字 0 不同。
参数与返回值由实现体的取值点推断(对象方法已扣除
self 占用的栈位),调用示例取自 230 个界面脚本;均为静态整理,未在游戏内执行验证。