rooooms are mostly dooone, misc routes, instance management stubs, and matchmaking base
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
import type KV from "../../persistence/kv.ts";
|
||||
import { type ServerBase } from "../../server.ts";
|
||||
import type Profile from "../profile.ts";
|
||||
|
||||
class ProfileContentManager {
|
||||
|
||||
protected profile: Profile;
|
||||
protected kv: KV;
|
||||
constructor(profile: Profile, kv: KV) {
|
||||
protected server: ServerBase
|
||||
constructor(server: ServerBase, profile: Profile, kv: KV) {
|
||||
this.profile = profile;
|
||||
this.kv = kv;
|
||||
this.server = server;
|
||||
profile.managers.push(this);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user