|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
| delegate void | ClientStateEvent () |
| void | SetEvents (params Bind_Event[] bindEvents) |
| void | BeginConnection () |
| void | TryRegisteringEvents (Bind_Event[] theEvents) |
| void | RegisterGame (string name, string displayName, IconColor iconColor) |
| void | RemoveGame (string name) |
| void | EndConnection () |
| void | SendEvent (string fullEventJson) |
| void | SendEvent (string upperCaseEventName, int value) |
| void | RegisterEvent (string upperCaseEventName, int minValue=0, int maxValue=100, EventIconId iconId=0) |
Public Attributes | |
| string | GameName |
| string | GameDisplayName |
| IconColor | IconColor |
| ClientStateEvent | OnConnectionBecameActive |
| ClientStateEvent | OnConnectionBecameInactive |
Private Member Functions | |
| void | _addGUIDefinedEvents () |
| void | RegisterEvents (Bind_Event[] theEvents) |
| void | _gamesenseWrk () |
| void | _setClientState (ClientState state) |
| void | _sendMsg (QueueMsg msg) |
| void | SendJson (Uri uri, string data, bool isCritical) |
| void | _initializeUris () |
| void | _sendServer (Uri uri, string data) |
| string | _toJSON< T > (T obj) |
| bool | _isClientActive () |
Static Private Member Functions | |
| static void | _logException (string msg, Exception e) |
| static void | _logWarning (string msg) |
| static void | _logDbgMsg (string msg) |
| static void | _logErrorMsg (string msg) |
| static string | _getPropsPath () |
| static string | _readProps () |
| static string | _getServerPort () |
Private Attributes | |
| Bind_Event[] | Events |
| Thread | _gameSenseThread |
| bool | _mGameSenseWrkShouldRun |
| Uri | _uriBase |
| LocklessQueue< QueueMsg > | _mMsgQueue |
| ClientState | _mClientState |
| string | _mServerPort |
| fsSerializer | _mSerializer |
| HttpWebRequest | _currentRequest |
Static Private Attributes | |
| const string | _SceneObjName = "GameSenseManager_Auto" |
| const string | _GameSenseObjName = "GameSenseManager" |
| const uint | _MsgQueueSize = 100u |
| const int | _ServerProbeInterval = 5000 |
| const int | _MsgCheckInterval = 10 |
| const long | _MaxIdleTimeBeforeHeartbeat = 1000L |
Definition at line 14 of file GameSenseConnection.cs.