Class NetworkClientConnectionData
The high-level network client connection data. Can be used to accept/deny new connection.
Inheritance
System.Object
NetworkClientConnectionData
Namespace: FlaxEngine.Networking
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class NetworkClientConnectionData : ValueType
Fields
Architecture
Client platform architecture (can be different that current one when using cross-play).
Declaration
public ArchitectureType Architecture
Field Value
ArchitectureType
|
Client
PayloadData
Custom data to send from client to server as part of connection initialization and verification. Can contain game build info, platform data or certificate needed upon joining the game.
Declaration
public byte[] PayloadData
Field Value
System.Byte[]
|
Platform
Client platform type (can be different that current one when using cross-play).
Declaration
public PlatformType Platform
Field Value
PlatformType
|
Result
0 if accept new connection, error code otherwise. Send back to the client.
Declaration
public int Result
Field Value
System.Int32
|