the numbers mason
This commit is contained in:
parent
a59c119de6
commit
1e6d5da3e2
@ -322,13 +322,13 @@ func read_p2p_packet() -> void:
|
|||||||
|
|
||||||
func register_node(node: Node) -> String:
|
func register_node(node: Node) -> String:
|
||||||
var uuid = generate_uuid()
|
var uuid = generate_uuid()
|
||||||
uuid_counter += 1
|
node_map[uuid] = node
|
||||||
return uuid
|
return uuid
|
||||||
|
|
||||||
|
|
||||||
func generate_uuid() -> String:
|
func generate_uuid() -> String:
|
||||||
var uuid = str(Time.get_unix_time_from_system()) + "-" + str(Time.get_ticks_msec())
|
uuid_counter += 1
|
||||||
return uuid
|
return uuid_counter
|
||||||
|
|
||||||
|
|
||||||
func request_player_avatar(user_id: int, size: int = 128) -> void:
|
func request_player_avatar(user_id: int, size: int = 128) -> void:
|
||||||
|
Loading…
Reference in New Issue
Block a user