# Function: onMatchStart
▸ onMatchStart(this: void, handler: MatchStartEventHandler): void
监听匹配开始
# 参数:
| 属性 | 类型 | 描述 |
|---|---|---|
this | void | - |
handler | MatchStartEventHandler | 事件触发的回调方法 |
MatchStartEventHandler: MogsEventHandler‹MatchStartEvent›
MatchStartEvent结构
| 属性 | 类型 | 描述 |
|---|---|---|
matchStartTime | Date | 开始发起匹配的时间 |
type | MatchStart | 事件类型,由具体的事件构造时提供 |
# 返回值:
void