Swarm/Networking/Networking.gd
2024-03-23 16:18:30 +01:00

21 lines
390 B
GDScript

extends Node
func create_enet_server(port: int) -> void:
# use timer to send udp broadcast packets to notify other LAN clients
pass
func connect_with_webrtc() -> void:
pass
func connect_with_enet() -> void:
pass
func lan_mode() -> void:
pass
func online_mode() -> void:
pass
func offline_mode() -> void:
multiplayer.multiplayer_peer = OfflineMultiplayerPeer.new()
pass