Files
bo3-js/js/instances/Player.js

11 lines
321 B
JavaScript
Raw Normal View History

2025-10-23 20:58:19 +02:00
import { Instance } from "./Instance.js";
export class Player extends Instance {
constructor( id, name, ws ) {
super("Player");
this.InstanceId = id; // To fix jank with replication system
this.UserId = id; // For compatibility
this.Name = name;
this.ws = ws; // WebSocket or client reference
}
}