public void UseMyServer(string serverAddress, int serverPort, string application) { this.HostType = HostingOption.SelfHosted; this.AppID = (application != null) ? application : DefaultAppID; this.ServerAddress = serverAddress; this.ServerPort = serverPort; }
public void UseCloud(string cloudAppid) { this.HostType = HostingOption.PhotonCloud; this.AppID = cloudAppid; this.ServerAddress = DefaultCloudServerUrl; this.ServerPort = DefaultMasterPort; }
public void UseCloud(string cloudAppid, int regionIndex) { this.HostType = HostingOption.PhotonCloud; this.AppID = cloudAppid; this.ServerAddress = FindServerAddressForRegion(regionIndex); this.ServerPort = DefaultMasterPort; }
public void UseMyServer(string serverAddress, int serverPort, string application) { this.HostType = HostingOption.SelfHosted; this.AppID = (application == null) ? "master" : application; this.ServerAddress = serverAddress; this.ServerPort = serverPort; }
public void UseMyServer(string serverAddress, int serverPort, string application) { HostType = HostingOption.SelfHosted; AppID = application == null ? "master" : application; ServerAddress = serverAddress; ServerPort = serverPort; }
public void UseMyServer(string serverAddress, int serverPort, string application) { this.HostType = HostingOption.SelfHosted; this.AppID = (application != null) ? application : "master"; //if (StaticHostIP.Equals("")) this.ServerAddress = serverAddress; //else //this.ServerAddress = StaticHostIP; this.ServerPort = serverPort; }
public void UseCloud(string cloudAppid, CloudRegionCode code) { this.HostType = HostingOption.PhotonCloud; this.AppID = cloudAppid; this.PreferredRegion = code; }
public void UseCloud(string cloudAppid) { this.HostType = HostingOption.PhotonCloud; this.AppID = cloudAppid; }
public void UseCloudBestRegion(string cloudAppid) { this.HostType = HostingOption.BestRegion; this.AppID = cloudAppid; }
public void UseCloudBestResion(string cloudAppid) { HostType = HostingOption.BestRegion; AppID = cloudAppid; }