-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathConfigResource.gd
44 lines (34 loc) · 1.63 KB
/
ConfigResource.gd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
extends Resource
class_name ConfigResource
enum MODE { DEVELOPMENT, DEPLOYMENT }
@export_group("Global Configuration")
@export var mode: MODE = MODE.DEVELOPMENT
@export var use_tls: bool = false
@export var minimize_on_start: bool = true
@export var gateway_fps: int = 30
@export var server_fps: int = 20
@export var client_fps: int = 30
@export_group("Gateway Server Server Configuration")
@export var gateway_server_server_bind_address: String = "*"
@export var gateway_server_server_port: int = 9071
@export var gateway_server_certh_path: String = ""
@export var gateway_server_key_path: String = ""
@export_group("Gateway Client Server Configuration")
@export var gateway_client_server_bind_address: String = "*"
@export var gateway_client_server_port: int = 9072
@export var gateway_client_certh_path: String = ""
@export var gateway_client_key_path: String = ""
@export_group("Server Client Server Configuration")
@export var server_client_server_bind_address: String = "*"
@export var server_client_server_port: int = 9073
@export var server_client_certh_path: String = ""
@export var server_client_key_path: String = ""
@export_group("Client Gateway Configuration")
@export var server_gateway_client_address: String = "ws://localhost:9071"
@export_group("Client Gateway Configuration")
@export var client_gateway_client_address: String = "ws://localhost:9072"
@export_group("Client Server Configuration")
@export var client_server_client_address: String = "ws://localhost:9073"
@export_group("Database Configuration")
@export var database_backend: Database.BACKENDS = Database.BACKENDS.JSON
@export var json_backend_file: String = "res://data/users.json"