Initial commit for testing/fixing a deprecated godot-colyseus addon

This commit is contained in:
2026-01-10 11:12:02 -05:00
commit 081a5fcf1a
76 changed files with 3456 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
extends RefCounted
var clients: int
var created_at: String
var max_clients: int
var name: String
var process_id: String
var room_id: String
func _init(dic):
clients = dic.get('clients')
created_at = dic.get('createdAt')
var num = dic.get('maxClients')
if num != null:
max_clients = num
name = dic.get('name')
process_id = dic.get('processId')
room_id = dic.get('roomId')