mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
Admin persistence changes (#5086)
This commit is contained in:
parent
090a48515c
commit
b111f0921c
9 changed files with 148 additions and 10 deletions
|
|
@ -8,6 +8,15 @@ export interface User {
|
|||
avatarBmp?: Uint8Array;
|
||||
}
|
||||
|
||||
export enum UserLevelFlag {
|
||||
IsNothing = 0,
|
||||
IsUser = 1,
|
||||
IsRegistered = 2,
|
||||
IsModerator = 4,
|
||||
IsAdmin = 8,
|
||||
IsJudge = 16,
|
||||
}
|
||||
|
||||
export enum UserPrivLevel {
|
||||
NONE = 0,
|
||||
VIP = 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue