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 {
|
2022-08-30 15:00:58 +00:00
|
|
|
|
KickUser = 0x00000001,
|
|
|
|
|
BanUser = 0x00000002,
|
2023-07-23 21:36:22 +00:00
|
|
|
|
//SilenceUser = 0x00000004,
|
2022-08-30 15:00:58 +00:00
|
|
|
|
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,
|
2023-02-22 00:28:53 +00:00
|
|
|
|
ViewLogs = 0x00040000,
|
2022-08-30 15:00:58 +00:00
|
|
|
|
}
|
|
|
|
|
}
|