-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9471a65
commit 8f4004a
Showing
4 changed files
with
54 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package network7 | ||
|
||
const ( | ||
MaxClients = 64 | ||
|
||
MsgCtrlKeepAlive ControlMsg = 0x00 | ||
MsgCtrlConnect ControlMsg = 0x01 | ||
MsgCtrlAccept ControlMsg = 0x02 | ||
MsgCtrlToken ControlMsg = 0x05 | ||
MsgCtrlClose ControlMsg = 0x04 | ||
|
||
MsgSysMapChange NetMsg = 2 | ||
MsgSysConReady NetMsg = 5 | ||
MsgSysSnapSingle NetMsg = 8 | ||
|
||
MsgGameSvMotd NetMsg = 1 | ||
MsgGameSvChat NetMsg = 3 | ||
MsgGameReadyToEnter NetMsg = 8 | ||
MsgGameSvClientInfo NetMsg = 18 | ||
MsgGameClStartInfo NetMsg = 27 | ||
) | ||
|
||
type ControlMsg int | ||
type NetMsg int | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters