Class NetworkClient
Inheritance
NetworkClient
Assembly: Xareus.Scenarios.Unity.dll
Syntax
public class NetworkClient : MonoBehaviour
Fields
Scenarios
Declaration
[HideInInspector]
[NonSerialized]
public List<Scenario> Scenarios
Field Value
ServerAddress
The address of the server to connect to
Declaration
public string ServerAddress
Field Value
ServerPort
The port of the server to connect to
Declaration
Field Value
tcpClient
Declaration
protected NetSocketTcpScenarioReceiver tcpClient
Field Value
Methods
Dispose()
Declaration
Dispose(bool)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
bool |
disposing |
|
LinkToScenarioListReceived(object, string[])
Declaration
protected void LinkToScenarioListReceived(object sender, string[] scenarioInstancesIds)
Parameters
Type |
Name |
Description |
object |
sender |
|
string[] |
scenarioInstancesIds |
|
ReceivedRemoteScenario(object, ScenarioLoadedEventArgs)
Declaration
protected void ReceivedRemoteScenario(object sender, ScenarioLoadedEventArgs args)
Parameters