SparkRealtimeServer
Provides the details of the realtime server on which a match will be played out
e.g.
var server = Spark.getMultiplayer().loadMatch(matchId).getServer();
getHost
signature getHost()
returns string
validity All Scripts
returns
The hostname of the server
example
var host = server.getHost()
getPort
signature getPort()
returns number
validity All Scripts
returns
The port to connect to on the server
example
var port = server.getPort()