You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.2 KiB
54 lines
1.2 KiB
package model |
|
|
|
const ( |
|
// OpHandshake handshake |
|
OpHandshake = int32(0) |
|
// OpHandshakeReply handshake reply |
|
OpHandshakeReply = int32(1) |
|
|
|
// OpHeartbeat heartbeat |
|
OpHeartbeat = int32(2) |
|
// OpHeartbeatReply heartbeat reply |
|
OpHeartbeatReply = int32(3) |
|
|
|
// OpSendMsg send message. |
|
OpSendMsg = int32(4) |
|
// OpSendMsgReply send message reply |
|
OpSendMsgReply = int32(5) |
|
|
|
// OpDisconnectReply disconnect reply |
|
OpDisconnectReply = int32(6) |
|
|
|
// OpAuth auth connnect |
|
OpAuth = int32(7) |
|
// OpAuthReply auth connect reply |
|
OpAuthReply = int32(8) |
|
|
|
// OpRaw raw message |
|
OpRaw = int32(9) |
|
|
|
// OpProtoReady proto ready |
|
OpProtoReady = int32(10) |
|
// OpProtoFinish proto finish |
|
OpProtoFinish = int32(11) |
|
|
|
// OpChangeRoom change room |
|
OpChangeRoom = int32(12) |
|
// OpChangeRoomReply change room reply |
|
OpChangeRoomReply = int32(13) |
|
|
|
// OpRegister register operation |
|
OpRegister = int32(14) |
|
// OpRegisterReply register operation |
|
OpRegisterReply = int32(15) |
|
|
|
// OpUnregister unregister operation |
|
OpUnregister = int32(16) |
|
// OpUnregisterReply unregister operation reply |
|
OpUnregisterReply = int32(17) |
|
|
|
// MinBusinessOp min business operation |
|
MinBusinessOp = 1000 |
|
// MaxBusinessOp max business operation |
|
MaxBusinessOp = 10000 |
|
)
|
|
|