Further the login process
* Matchmaking login locks (created and checked only in memory for now) * Profile reputation temporary implementation * Profiles now no longer initialize if a user with the same username is found * vrMovementMode in presence is now required, falls back to 'Teleport' * Progression implementation began * API routes: Settings, player subscriptions, reputation, progression * cropSquare in image query is not a boolean, rather a number representing a boolean * Hile reporting uses forms, not json * Presence heartbeat and logout * Socket changes: Close event listener (destroy), send message function, targets further started
This commit is contained in:
15
src/data/profile/base/profilemanagerbase.ts
Normal file
15
src/data/profile/base/profilemanagerbase.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
export class ProfileContentManager {
|
||||
|
||||
profileNotSetError = new Error("The profile on this manager is not set.");
|
||||
|
||||
profileId: number | null = null;
|
||||
|
||||
setProfile(id: number) {
|
||||
this.profileId = id;
|
||||
}
|
||||
|
||||
profileIsSet() {
|
||||
return this.profileId !== null;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user