Struct FragmentationPipelineStage
Inherited Members
Namespace: Unity.Networking.Transport
Syntax
[BurstCompile]
public struct FragmentationPipelineStage : INetworkPipelineStage
Properties
StaticSize
Gets the value of the static size
Declaration
public readonly int StaticSize { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
Implements
Methods
StaticInitialize(Byte*, Int32, NetworkSettings)
Statics the initialize using the specified static instance buffer
Declaration
public NetworkPipelineStage StaticInitialize(byte *staticInstanceBuffer, int staticInstanceBufferLength, NetworkSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| Byte* | staticInstanceBuffer | The static instance buffer |
| Int32 | staticInstanceBufferLength | The static instance buffer length |
| NetworkSettings | settings | The NetworkSettings |
Returns
| Type | Description |
|---|---|
| NetworkPipelineStage | The network pipeline stage |
Implements
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Please specify a FragmentationUtility.Parameters with a PayloadCapacity greater than MTU, which is {NetworkParameterConstants.MTU} |