mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Add some sessions (#5052)
* Add AccountEdit * Add PasswordChange * Cleanup * Add SessionService.accountImage * Add SessionService.message * Add SessionService.getUserInfo * Lint
This commit is contained in:
parent
34d70980e8
commit
e2ab8db958
8 changed files with 190 additions and 0 deletions
|
|
@ -144,4 +144,24 @@ export class SessionPersistence {
|
|||
static resetPasswordFailed() {
|
||||
ServerDispatch.resetPasswordFailed();
|
||||
}
|
||||
|
||||
static accountPasswordChange(): void {
|
||||
console.log('accountPassword');
|
||||
}
|
||||
|
||||
static accountEditChanged(realName?: string, email?: string, country?: string): void {
|
||||
console.log('accountEditChange');
|
||||
}
|
||||
|
||||
static accountImageChanged(): void {
|
||||
console.log('accountImageChanged');
|
||||
}
|
||||
|
||||
static directMessageSent(userName: string, message: string): void {
|
||||
console.log('directMessageSent');
|
||||
}
|
||||
|
||||
static getUserInfo(userInfo: string) {
|
||||
console.log('getUserInfo');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue