Update .gitignore to exclude TypeScript build info and add dist directory. Expand README with project overview, technology stack, prerequisites, and instructions for running and testing the application.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
namespace HSchool.Protocol;
|
||||
|
||||
/// <summary>
|
||||
/// First byte of every frame. Client-to-server ids live in 0x00-0x7F,
|
||||
/// server-to-client ids in 0x80-0xFF, so a misrouted frame is obvious.
|
||||
/// </summary>
|
||||
public enum MessageType : byte
|
||||
{
|
||||
None = 0x00,
|
||||
|
||||
ClientHello = 0x01,
|
||||
ClientInput = 0x02,
|
||||
ClientPing = 0x03,
|
||||
|
||||
ServerWelcome = 0x81,
|
||||
ServerSnapshot = 0x82,
|
||||
ServerPong = 0x83,
|
||||
}
|
||||
Reference in New Issue
Block a user