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;
 }
Example #2
0
 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;
 }
Example #5
0
 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;
 }
Example #7
0
 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;
 }
Example #8
0
 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;
 }
Example #13
0
 public void UseCloud(string cloudAppid, CloudRegionCode code)
 {
     this.HostType = HostingOption.PhotonCloud;
     this.AppID = cloudAppid;
     this.PreferredRegion = code;
 }
Example #14
0
 public void UseCloud(string cloudAppid)
 {
     this.HostType = HostingOption.PhotonCloud;
     this.AppID = cloudAppid;
 }
Example #15
0
 public void UseCloudBestRegion(string cloudAppid)
 {
     this.HostType = HostingOption.BestRegion;
     this.AppID = cloudAppid;
 }
Example #16
0
 public void UseCloudBestResion(string cloudAppid)
 {
     HostType = HostingOption.BestRegion;
     AppID    = cloudAppid;
 }