(msgId: number, msg: string)
| 64 | } |
| 65 | |
| 66 | sendMsg(msgId: number, msg: string): void { |
| 67 | const useRawIntMsgId = this.serverVersion() >= MIN_SERVER_VER_PROTOBUF |
| 68 | const fullMsg = makeMsg(msgId, useRawIntMsgId, msg) |
| 69 | this.conn!.sendMsg(fullMsg) |
| 70 | } |
| 71 | |
| 72 | sendMsgProtoBuf(msgId: number, msg: Buffer): void { |
| 73 | const fullMsg = makeMsgProto(msgId, msg) |
no test coverage detected