2022-08-30 15:00:58 +00:00
|
|
|
|
using System;
|
|
|
|
|
|
|
|
|
|
namespace SharpChat {
|
|
|
|
|
[Flags]
|
2024-05-19 02:17:51 +00:00
|
|
|
|
public enum UserPermissions : int {
|
2024-05-20 23:00:47 +00:00
|
|
|
|
KickUser = 0x00000001,
|
|
|
|
|
BanUser = 0x00000002,
|
2024-05-24 03:44:20 +00:00
|
|
|
|
//SilenceUser = 0x00000004,
|
2024-05-20 23:00:47 +00:00
|
|
|
|
Broadcast = 0x00000008,
|
|
|
|
|
SetOwnNickname = 0x00000010,
|
|
|
|
|
SetOthersNickname = 0x00000020,
|
|
|
|
|
CreateChannel = 0x00000040,
|
|
|
|
|
DeleteChannel = 0x00010000,
|
2022-08-30 15:00:58 +00:00
|
|
|
|
SetChannelPermanent = 0x00000080,
|
2024-05-20 23:00:47 +00:00
|
|
|
|
SetChannelPassword = 0x00000100,
|
2022-08-30 15:00:58 +00:00
|
|
|
|
SetChannelHierarchy = 0x00000200,
|
2024-05-20 23:00:47 +00:00
|
|
|
|
JoinAnyChannel = 0x00020000,
|
|
|
|
|
SendMessage = 0x00000400,
|
|
|
|
|
DeleteOwnMessage = 0x00000800,
|
|
|
|
|
DeleteAnyMessage = 0x00001000,
|
|
|
|
|
EditOwnMessage = 0x00002000,
|
|
|
|
|
EditAnyMessage = 0x00004000,
|
|
|
|
|
SeeIPAddress = 0x00008000,
|
|
|
|
|
ViewLogs = 0x00040000,
|
2022-08-30 15:00:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|