@@ -17,18 +17,18 @@ public static class MLAPIConstants
1717 public const byte MLAPI_DESTROY_OBJECT = 6 ;
1818 public const byte MLAPI_SWITCH_SCENE = 7 ;
1919 public const byte MLAPI_CLIENT_SWITCH_SCENE_COMPLETED = 8 ;
20- public const byte MLAPI_CHANGE_OWNER = 11 ;
21- public const byte MLAPI_ADD_OBJECTS = 12 ;
22- public const byte MLAPI_TIME_SYNC = 13 ;
23- public const byte MLAPI_NETWORKED_VAR_DELTA = 14 ;
24- public const byte MLAPI_NETWORKED_VAR_UPDATE = 15 ;
25- public const byte MLAPI_SERVER_RPC = 16 ;
26- public const byte MLAPI_SERVER_RPC_REQUEST = 17 ;
27- public const byte MLAPI_SERVER_RPC_RESPONSE = 18 ;
28- public const byte MLAPI_CLIENT_RPC = 19 ;
29- public const byte MLAPI_CLIENT_RPC_REQUEST = 20 ;
30- public const byte MLAPI_CLIENT_RPC_RESPONSE = 21 ;
31- public const byte MLAPI_CUSTOM_MESSAGE = 22 ;
20+ public const byte MLAPI_CHANGE_OWNER = 9 ;
21+ public const byte MLAPI_ADD_OBJECTS = 10 ;
22+ public const byte MLAPI_TIME_SYNC = 11 ;
23+ public const byte MLAPI_NETWORKED_VAR_DELTA = 12 ;
24+ public const byte MLAPI_NETWORKED_VAR_UPDATE = 13 ;
25+ public const byte MLAPI_SERVER_RPC = 14 ;
26+ public const byte MLAPI_SERVER_RPC_REQUEST = 15 ;
27+ public const byte MLAPI_SERVER_RPC_RESPONSE = 16 ;
28+ public const byte MLAPI_CLIENT_RPC = 17 ;
29+ public const byte MLAPI_CLIENT_RPC_REQUEST = 18 ;
30+ public const byte MLAPI_CLIENT_RPC_RESPONSE = 19 ;
31+ public const byte MLAPI_CUSTOM_MESSAGE = 20 ;
3232 public const byte INVALID = 32 ;
3333
3434 public static readonly string [ ] MESSAGE_NAMES = {
@@ -41,16 +41,14 @@ public static class MLAPIConstants
4141 "MLAPI_DESTROY_OBJECT" ,
4242 "MLAPI_SWITCH_SCENE" ,
4343 "MLAPI_CLIENT_SWITCH_SCENE_COMPLETED" ,
44- "MLAPI_SPAWN_POOL_OBJECT" ,
45- "MLAPI_DESTROY_POOL_OBJECT" ,
4644 "MLAPI_CHANGE_OWNER" ,
4745 "MLAPI_ADD_OBJECTS" ,
4846 "MLAPI_TIME_SYNC" ,
4947 "MLAPI_NETWORKED_VAR_DELTA" ,
5048 "MLAPI_NETWORKED_VAR_UPDATE" ,
51- "MLAPI_SERVER_RPC" , // 16
49+ "MLAPI_SERVER_RPC" ,
5250 "MLAPI_SERVER_RPC_REQUEST" ,
53- "MLAPI_SERVER_RPC_RESPONSE" ,
51+ "MLAPI_SERVER_RPC_RESPONSE" , // 16
5452 "MLAPI_CLIENT_RPC" ,
5553 "MLAPI_CLIENT_RPC_REQUEST" ,
5654 "MLAPI_CLIENT_RPC_RESPONSE" ,
@@ -64,6 +62,8 @@ public static class MLAPIConstants
6462 "" ,
6563 "" ,
6664 "" ,
65+ "" ,
66+ "" ,
6767 "INVALID" // 32
6868 } ;
6969#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
0 commit comments