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:
@@ -10,9 +10,9 @@ class MatchmakingBase {
|
||||
}
|
||||
|
||||
lockMatches(prof: Profile, lock: string) {
|
||||
const maybeLock = loginLocks.get(prof.getId());
|
||||
if (maybeLock) return maybeLock == lock;
|
||||
else return false;
|
||||
const checkLock = loginLocks.get(prof.getId());
|
||||
if (checkLock) return checkLock == lock;
|
||||
else return null;
|
||||
}
|
||||
|
||||
deleteLoginLock(prof: Profile) {
|
||||
|
||||
Reference in New Issue
Block a user