Networking
Classes
| Name | Type | Summary |
|---|---|---|
| NetworkEventErrorCode | NetworkEventErrorCode | Error code in network event |
| NsdkNetworking | INetworking | - |
Interfaces
| Name | Type | Summary |
|---|---|---|
| INetworking | IDisposable | Low level networking interface used by the LightshipNetcodeTransport to talk to the NSDK relay servers. This interface allows you to relay a message directly to another user, halfing the latency of Netcode For Gameobject messages which have to be double-relayed by the "Host" client. |
Structs
| Name | Type | Summary |
|---|---|---|
| DataReceivedArgs | ValueType | Event args fired from INetworking.DataReceived. |
| NetworkEventArgs | ValueType | Event args fired from INetworking.NetworkEvent. |
| PeerID | ValueType, IEquatable<PeerID> | Struct that represents the identifiers of other peers in the room. Can be compared with other PeerIDs and used as Keys in Dictionaries. |
| PeerIDArgs | ValueType | Event args fired from INetworking.PeerAdded and INetworking.PeerRemoved. |
Enums
| Name | Type | Summary |
|---|---|---|
| NetworkEvents | byte | Network events that are fired from INetworking.NetworkEvent |
| NetworkState | byte | The current connection state of the device to NSDK rooms. |