namespace SharpChat.SQLite;

[Flags]
public enum SQLiteUserPermissions : long {
    SendMessage = 0x1L,
    DeleteOwnMessage = 0x2L,
    DeleteAnyMessage = 0x4L,
    EditOwnMessage = 0x8L,
    EditAnyMessage = 0x10L,
    SendBroadcast = 0x20L,
    ViewLogs = 0x40L,
    KickUser = 0x80L,
    BanUser = 0x100L,
    PardonUser = 0x200L,
    PardonIPAddress = 0x400L,
    ViewIPAddress = 0x800L,
    ViewBanList = 0x1000L,
    CreateChannel = 0x2000L,
    SetChannelPermanent = 0x4000L,
    SetChannelPassword = 0x8000L,
    SetChannelMinimumRank = 0x10000L,
    DeleteChannel = 0x20000L,
    JoinAnyChannel = 0x40000L,
    SetOwnNickname = 0x80000L,
    SetOthersNickname = 0x100000L,
}