Click or drag to resize

NetworkConfig Fields

[This is preliminary documentation and is subject to change.]

The NetworkConfig type exposes the following members.

Fields
  NameDescription
Public fieldAllowPassthroughMessages
Wheter or not to allow any type of passthrough messages
Public fieldChannels
Channels used by the NetworkedTransport
Public fieldClientConnectionBufferTimeout
The amount of seconds to wait for handshake to complete before timing out a client
Public fieldConnectAddress
The address to connect to
Public fieldConnectionApproval
Wheter or not to use connection approval
Public fieldConnectionData
The data to send during connection which can be used to decide on if a client should get accepted
Public fieldConnectPort
The port for the NetworkTransport to use when connecting
Public fieldEnableEncryption
Wheter or not to enable encryption
Public fieldEnableSceneSwitching
Wheter or not to enable scene switching
Public fieldEnableTimeResync
If your logic uses the NetwokrTime, this should probably be turned off. If however it's needed to maximize accuracy, this is recommended to be turned on
Public fieldEventTickrate
The amount of times per second internal frame events will occur, examples include SyncedVar send checking.
Public fieldHandleObjectSpawning
Wheter or not to make the library handle object spawning
Public fieldMaxConnections
The max amount of Clients that can connect.
Public fieldMaxReceiveEventsPerTickRate
The max amount of messages to process per ReceiveTickrate. This is to prevent flooding.
Public fieldMessageBufferSize
The size of the receive message buffer. This is the max message size.
Public fieldMessageTypes
Registered MessageTypes
Public fieldNetworkedPrefabs
A list of spawnable prefabs
Public fieldProtocolVersion
The protocol version. Different versions doesn't talk to each other.
Public fieldReceiveTickrate
Amount of times per second the receive queue is emptied and all messages inside are processed.
Public fieldRegisteredScenes
A list of SceneNames that can be used during networked games.
Public fieldRSAPrivateKey
Private RSA XML key to use for signing key exchange
Public fieldRSAPublicKey
Public RSA XML key to use for signing key exchange
Public fieldSecondsHistory
The amount of seconds to keep a lag compensation position history
Public fieldSendTickrate
The amount of times per second every pending message will be sent away.
Public fieldServerTransports
The transport hosts the sever uses
Public fieldSignKeyExchange
Wheter or not to enable signed diffie hellman key exchange.
Top
See Also