mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 05:07:48 +00:00
15 lines
434 B
C#
15 lines
434 B
C#
using Roblox.Grid.Arbiter.Common.Arbiter;
|
|
|
|
namespace Roblox.Grid.Arbiter.Common
|
|
{
|
|
public class ArbiterServiceUtils
|
|
{
|
|
public static ArbiterClient GetService(string Address) => GetService(Address, 64990);
|
|
public static ArbiterClient GetService(string Address, int port)
|
|
{
|
|
if (Address == null) return null;
|
|
return new ArbiterClient("RccServiceMonitor", "http://" + Address + ":" + port.ToString());
|
|
}
|
|
}
|
|
}
|