docs.unity.cn
    Show / Hide Table of Contents

    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.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.NetCode
    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
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023