Added SQLite storage backend.
This commit is contained in:
parent
999ce86a27
commit
3f6007922c
21 changed files with 665 additions and 245 deletions
SharpChat.SQLite
26
SharpChat.SQLite/SQLiteUserPermissions.cs
Normal file
26
SharpChat.SQLite/SQLiteUserPermissions.cs
Normal file
|
@ -0,0 +1,26 @@
|
|||
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,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue