mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-22 02:12:14 -07:00
Updating Session Persistence with all valid persistence calls (#5085)
* Updating Session Persistence with all valid persistence calls * Spacing fixes --------- Co-authored-by: Zach H <zahalpern+github@gmail.com>
This commit is contained in:
parent
ef4413633a
commit
cf1f4f12a9
8 changed files with 193 additions and 26 deletions
|
|
@ -1,17 +1,19 @@
|
|||
import { ServerDispatch } from 'store';
|
||||
|
||||
export class AdminPersistence {
|
||||
static adjustMod(userName: string, shouldBeMod: boolean, shouldBeJudge: boolean) {
|
||||
console.log('adjustMod');
|
||||
}
|
||||
|
||||
static reloadConfig() {
|
||||
console.log('reloadConfig');
|
||||
ServerDispatch.reloadConfig();
|
||||
}
|
||||
|
||||
static shutdownServer() {
|
||||
console.log('shutdownServer');
|
||||
ServerDispatch.shutdownServer();
|
||||
}
|
||||
|
||||
static updateServerMessage() {
|
||||
console.log('updateServerMessage');
|
||||
ServerDispatch.updateServerMessage();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue