blob: 1db3c500dd301103c99a31056f1d075cab6c7488 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
extends Node
static var login_server: LoginServer
static var character_server: CharacterServer
static var map_server: MapServer
func _ready() -> void:
login_server = LoginServer.new("127.0.0.1")
var grf = GRF.open("res://data/data.grf")
func _process(_delta: float) -> void:
if login_server:
login_server.listen()
if character_server:
character_server.listen()
if map_server:
map_server.listen()
|