@@ -40,40 +40,41 @@ namespace Network {
40
40
ClientOk = 0x02 ,
41
41
ClientRefused = 0x03 ,
42
42
43
- ServerClosed = 0x04 ,
43
+ ServerTick = 0x04 ,
44
+ ServerClosed = 0x05 ,
44
45
45
- ChunkData = 0x05 ,
46
- ChunkRequest = 0x06 ,
46
+ ChunkData = 0x06 ,
47
+ ChunkRequest = 0x07 ,
47
48
48
- PlayerPlaceBlock = 0x07 ,
49
- PlayerDigBlock = 0x08 ,
50
- PlayerInvUpdate = 0x09 ,
51
- PlayerPosUpdate = 0x0a ,
52
- PlayerRotUpdate = 0x0b ,
53
- PlayerSpawn = 0x0c ,
54
- PlayerChangeDimension = 0x0d ,
55
- PlayerHeldItemChanged = 0x0e ,
49
+ PlayerPlaceBlock = 0x08 ,
50
+ PlayerDigBlock = 0x09 ,
51
+ PlayerInvUpdate = 0x0a ,
52
+ PlayerPosUpdate = 0x0b ,
53
+ PlayerRotUpdate = 0x0c ,
54
+ PlayerSpawn = 0x0d ,
55
+ PlayerChangeDimension = 0x0e ,
56
+ PlayerHeldItemChanged = 0x0f ,
56
57
57
- BlockUpdate = 0x0f ,
58
- BlockActivated = 0x10 ,
59
- BlockGUIData = 0x11 ,
60
- BlockInvUpdate = 0x12 ,
61
- BlockDataUpdate = 0x13 ,
58
+ BlockUpdate = 0x10 ,
59
+ BlockActivated = 0x11 ,
60
+ BlockGUIData = 0x12 ,
61
+ BlockInvUpdate = 0x13 ,
62
+ BlockDataUpdate = 0x14 ,
62
63
63
- ItemActivated = 0x14 ,
64
+ ItemActivated = 0x15 ,
64
65
65
- RegistryData = 0x15 ,
66
+ RegistryData = 0x16 ,
66
67
67
- ChatMessage = 0x16 ,
68
+ ChatMessage = 0x17 ,
68
69
69
- EntitySpawn = 0x17 ,
70
- EntityDespawn = 0x18 ,
71
- EntityPosition = 0x19 ,
72
- EntityRotation = 0x1a ,
73
- EntityAnimation = 0x1b ,
74
- EntityDrawableDef = 0x1c ,
70
+ EntitySpawn = 0x18 ,
71
+ EntityDespawn = 0x19 ,
72
+ EntityPosition = 0x1a ,
73
+ EntityRotation = 0x1b ,
74
+ EntityAnimation = 0x1c ,
75
+ EntityDrawableDef = 0x1d ,
75
76
76
- KeyPressed = 0x1d ,
77
+ KeyPressed = 0x1e ,
77
78
};
78
79
79
80
std::string commandToString (Command command);
0 commit comments