blob: 08d6bece023f58381da1cbe096aedf16b7e07b5e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
using System;
namespace InnerNet
{
public static class Tags
{
public const byte HostGame = 0;
public const byte JoinGame = 1;
public const byte StartGame = 2;
public const byte RemoveGame = 3;
public const byte RemovePlayer = 4;
public const byte GameData = 5;
public const byte GameDataTo = 6;
public const byte JoinedGame = 7;
public const byte EndGame = 8;
public const byte GetGameList = 9;
public const byte AlterGame = 10;
public const byte KickPlayer = 11;
public const byte WaitForHost = 12;
public const byte Redirect = 13;
}
/* 当类型是GameData或GameDataTo时的subtag
internal const byte DataFlag = 1;
internal const byte RpcFlag = 2;
internal const byte SpawnFlag = 4;
internal const byte DespawnFlag = 5;
internal const byte SceneChangeFlag = 6;
internal const byte ReadyFlag = 7;
internal const byte ChangeSettingsFlag = 8;
*/
}
|