forked from jerodev/php-irc-client
-
Notifications
You must be signed in to change notification settings - Fork 2
/
UserMode.php
45 lines (42 loc) · 1.2 KB
/
UserMode.php
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
<?php
declare(strict_types=1);
namespace Jerodev\PhpIrcClient;
/**
* Map of user modes.
* @see http://docs.dal.net/docs/modes.html
* @psalm-suppress UnusedClass
*/
enum UserMode: string
{
//case Deaf = 'd';
case FloodControlExempt = 'F';
case Helpful = 'h';
case HideServerInfo = 'I';
case Invisible = 'i';
case IrcOperator = 'o';
case IrcOperatorLocal = 'O';
case MaskedHostname = 'H';
case Registered = 'r';
case RegisteredOnly = 'R';
case ReceiveNetworkMessages = 'w';
case ReceiveServerMessages = 's';
case SameChannel = 'C';
case Secure = 'S';
case ServicesAdministrator = 'a';
case ServerAdministrator = 'A';
case Squelch = 'x';
case SilentSquelch = 'X';
case Unprotected = 'P';
case ViewCommands = 'y';
case ViewConnectNotices = 'c';
case ViewDebugNotices = 'd';
case ViewFloodNotices = 'f';
case ViewGlobopMessages = 'g';
case ViewKillMessages = 'k';
case ViewKillMessageFromULinedServers = 'K';
case ViewOperChatopMessages = 'b';
case ViewRejectedDroneConnectionNotices = 'j';
case ViewServerRoutingNotices = 'n';
case ViewSpambotReports = 'm';
case ViewStoppedFileTransfers = 'e';
}