forked from zombieb/galvanic-corrosion-rewrite
rooooms are mostly dooone, misc routes, instance management stubs, and matchmaking base
This commit is contained in:
7
src/server/matchmaking/base.ts
Normal file
7
src/server/matchmaking/base.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { ServerContentBase } from "../ContentBase.ts";
|
||||
|
||||
export class ServerMatchmakingBase extends ServerContentBase {
|
||||
|
||||
|
||||
|
||||
}
|
||||
36
src/server/matchmaking/types.ts
Normal file
36
src/server/matchmaking/types.ts
Normal file
@@ -0,0 +1,36 @@
|
||||
enum MatchmakingErrorCode {
|
||||
Success,
|
||||
NoSuchGame,
|
||||
PlayerNotOnline,
|
||||
InsufficientSpace,
|
||||
EventNotStarted,
|
||||
EventAlreadyFinished,
|
||||
EventCreatorNotReady,
|
||||
BlockedFromRoom,
|
||||
ProfileLocked,
|
||||
NoBirthday,
|
||||
MarkedForDelete,
|
||||
JuniorNotAllowed,
|
||||
Banned,
|
||||
AlreadyInBestInstance,
|
||||
InsufficientRelationship,
|
||||
UpdateRequired = 16,
|
||||
AlreadyInTargetInstance,
|
||||
RegistrationRequired,
|
||||
UGCNotAllowed,
|
||||
NoSuchRoom,
|
||||
RoomCreatorNotReady,
|
||||
RoomIsNotActive,
|
||||
RoomBlockedByCreator,
|
||||
RoomBlockingCreator,
|
||||
RoomIsPrivate,
|
||||
RoomInstanceIsPrivate,
|
||||
DeviceClassNotSupported = 30,
|
||||
DeviceClassNotSupportedByRoomOwner,
|
||||
VRMovementModeNotSupportedByRoomOwner,
|
||||
EventIsPrivate = 35,
|
||||
RoomInviteExpired = 40,
|
||||
NoAvailableRegion = 45,
|
||||
NotorietyTooPoor = 50,
|
||||
BannedFromRoom = 55
|
||||
}
|
||||
Reference in New Issue
Block a user