15 lines
250 B
GDScript3
15 lines
250 B
GDScript3
|
|
class_name GameData extends Node
|
||
|
|
|
||
|
|
|
||
|
|
func _init() -> void:
|
||
|
|
Globals.game_data = self
|
||
|
|
|
||
|
|
|
||
|
|
@rpc("authority", "reliable")
|
||
|
|
func set_game_address(_address: String) -> void:
|
||
|
|
pass
|
||
|
|
|
||
|
|
@rpc("authority", "reliable")
|
||
|
|
func set_game_port(_port: String) -> void:
|
||
|
|
pass
|