public void UseMyServer(string serverAddress, int serverPort, string application) { this.HostType = ServerSettings.HostingOption.SelfHosted; this.AppID = ((application == null) ? "master" : application); this.ServerAddress = serverAddress; this.ServerPort = serverPort; }
public void UseCloud(string cloudAppid, CloudRegionCode code) { this.HostType = ServerSettings.HostingOption.PhotonCloud; this.AppID = cloudAppid; this.PreferredRegion = code; }
public void UseCloudBestResion(string cloudAppid) { this.HostType = ServerSettings.HostingOption.BestRegion; this.AppID = cloudAppid; }
public void UseCloud(string cloudAppid) { this.HostType = ServerSettings.HostingOption.PhotonCloud; this.AppID = cloudAppid; }