-
Notifications
You must be signed in to change notification settings - Fork 83
Expand file tree
/
Copy pathEnumerations.cs
More file actions
63 lines (54 loc) · 893 Bytes
/
Enumerations.cs
File metadata and controls
63 lines (54 loc) · 893 Bytes
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
56
57
58
59
60
61
62
63
using System;
using System.Collections.Generic;
using System.Text;
namespace Waher.Networking.XMPP.MUC
{
/// <summary>
/// Affiliation enumeration
/// </summary>
public enum Affiliation
{
/// <summary>
/// Owner of room
/// </summary>
Owner = 0,
/// <summary>
/// Administrator of room
/// </summary>
Admin = 1,
/// <summary>
/// Member of room
/// </summary>
Member = 2,
/// <summary>
/// Outcast
/// </summary>
Outcast = 3,
/// <summary>
/// No affiliation
/// </summary>
None = 4
}
/// <summary>
/// Role enumeration
/// </summary>
public enum Role
{
/// <summary>
/// Room moderator
/// </summary>
Moderator = 0,
/// <summary>
/// Room participant
/// </summary>
Participant = 1,
/// <summary>
/// Room visitor
/// </summary>
Visitor = 2,
/// <summary>
/// No role
/// </summary>
None = 3
}
}