Struct NetworkStreamRequestListenResult
Optional cleanup component that can be added to the NetworkStreamRequestListen entity when the request is created. Used to monitor the state of the request. When present, the component is update by the NetworkStreamListenSystem system when the request is handled.
Implements
ICleanupComponentData
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Unity.NetCode
Assembly: Unity.NetCode.dll
Syntax
public struct NetworkStreamRequestListenResult : ICleanupComponentData, IComponentData, IQueryTypeParameter
Remarks
Being a cleanup component it is responsibility of the request creator to proper handle the request entity life-cycle.
Fields
Endpoint
The remote server address for that request/.
Declaration
public NetworkEndpoint Endpoint
Field Value
Type | Description |
---|---|
NetworkEndpoint |
RequestState
The request status.
Declaration
public NetworkStreamRequestListenResult.State RequestState
Field Value
Type | Description |
---|---|
NetworkStreamRequestListenResult.State |
Implements
Unity.Entities.ICleanupComponentData
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter