Show / Hide Table of Contents

Class Constants

Inheritance
System.Object
Constants
Namespace: Eco.Shared.Networking
Assembly: Eco.Shared.dll
Syntax
public static class Constants : Object

Fields

AccountsServerAddress

Declaration
public static string AccountsServerAddress
Field Value
Type Description
System.String

AuthServerAddress

Declaration
public static string AuthServerAddress
Field Value
Type Description
System.String

AuthType

Declaration
public static readonly Constants.AuthBranch AuthType
Field Value
Type Description
Constants.AuthBranch

ClientServerProtocolVersion

Declaration
public const byte ClientServerProtocolVersion = 2
Field Value
Type Description
System.Byte

ConnectionRetryInterval

Declaration
public const int ConnectionRetryInterval = 3
Field Value
Type Description
System.Int32

MasterServerAddress

Declaration
public const string MasterServerAddress = "masterserver.eco.strangeloopgames.com"
Field Value
Type Description
System.String

MasterServerAddressForClient

Declaration
public const string MasterServerAddressForClient = "masterserver-eco.strangeloopgames.com"
Field Value
Type Description
System.String

MasterServerPort

Declaration
public const int MasterServerPort = 3000
Field Value
Type Description
System.Int32

MasterServerProtocolVersion

Declaration
public const byte MasterServerProtocolVersion = 3
Field Value
Type Description
System.Byte

MasterServerRestApiUrl

REST API url of Master Server for server listing.

Declaration
public static readonly string MasterServerRestApiUrl
Field Value
Type Description
System.String

MasterServerTimeoutSeconds

Declaration
public const int MasterServerTimeoutSeconds = 105
Field Value
Type Description
System.Int32

MaxConnectionAttempts

Declaration
public const int MaxConnectionAttempts = 5
Field Value
Type Description
System.Int32

MetaFileName

Declaration
public static readonly string MetaFileName
Field Value
Type Description
System.String

PingAttemptIntervalSeconds

Declaration
public const double PingAttemptIntervalSeconds = 1
Field Value
Type Description
System.Double

PingMaxAttempts

Declaration
public const int PingMaxAttempts = 10
Field Value
Type Description
System.Int32

PingTimeoutSeconds

Declaration
public const double PingTimeoutSeconds = 30
Field Value
Type Description
System.Double

PlayFabTitleId

Declaration
public const string PlayFabTitleId = "984BD"
Field Value
Type Description
System.String

StrangeCloudServerHeartbeatTime

Declaration
public const int StrangeCloudServerHeartbeatTime = 90
Field Value
Type Description
System.Int32

StrangeCloudUserHeartbeatTime

Declaration
public const int StrangeCloudUserHeartbeatTime = 180
Field Value
Type Description
System.Int32

TwitchEbsAddress

Declaration
public static string TwitchEbsAddress
Field Value
Type Description
System.String

Properties

ConnectionTimeoutSeconds

Declaration
public static int ConnectionTimeoutSeconds { get; }
Property Value
Type Description
System.Int32

MasterServerEndPoint

Declaration
public static IPEndPoint MasterServerEndPoint { get; }
Property Value
Type Description
System.Net.IPEndPoint

StrangeCloudAddress

Declaration
public static string StrangeCloudAddress { get; }
Property Value
Type Description
System.String

UseLocalStrangeCloud

Declaration
public static bool UseLocalStrangeCloud { get; }
Property Value
Type Description
System.Boolean
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾