-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZilyHeaderFlag.cs
55 lines (46 loc) · 1.36 KB
/
ZilyHeaderFlag.cs
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
45
46
47
48
49
50
51
52
53
54
55
using System;
using System.Collections.Generic;
using System.Text;
namespace SAPTeam.Zily
{
/// <summary>
/// Represents header flags for identifying zily packets.
/// </summary>
public class ZilyHeaderFlag
{
/// <summary>
/// An unknown state.
/// </summary>
public const int Unknown = 0;
/// <summary>
/// Indicates a normal state
/// </summary>
public const int Ok = 1;
/// <summary>
/// Indicates an abnormal state. The error text must be sent with this header flag.
/// </summary>
public const int Fail = 2;
/// <summary>
/// Indicates a potential abnormal state.
/// </summary>
public const int Warn = 3;
/// <summary>
/// Indicates an established connection.
/// </summary>
public const int Connected = 4;
/// <summary>
/// Indicates an refused connection.
/// </summary>
public const int Disconnected = 5;
/// <summary>
/// Contains a packet with Side information.
/// </summary>
public const int SideIdentifier = 6;
public const int AesKey = 7;
public const int AesIV = 8;
/// <summary>
/// Contains a packet with console message.
/// </summary>
public const int Write = 9;
}
}