sharp-chat/SharpChat.Common/Users/UserPermissions.cs

26 lines
862 B
C#
Raw Normal View History

2022-08-30 15:00:58 +00:00
using System;
2022-08-30 15:05:29 +00:00
namespace SharpChat.Users {
2022-08-30 15:00:58 +00:00
[Flags]
2022-08-30 15:05:29 +00:00
public enum UserPermissions : int {
2022-08-30 15:00:58 +00:00
KickUser = 0x00000001,
BanUser = 0x00000002,
SilenceUser = 0x00000004,
Broadcast = 0x00000008,
SetOwnNickname = 0x00000010,
SetOthersNickname = 0x00000020,
CreateChannel = 0x00000040,
DeleteChannel = 0x00010000,
SetChannelPermanent = 0x00000080,
SetChannelPassword = 0x00000100,
SetChannelHierarchy = 0x00000200,
JoinAnyChannel = 0x00020000,
SendMessage = 0x00000400,
DeleteOwnMessage = 0x00000800,
DeleteAnyMessage = 0x00001000,
EditOwnMessage = 0x00002000,
EditAnyMessage = 0x00004000,
SeeIPAddress = 0x00008000,
}
}