docs.unity3d.com
Search Results for

    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.

    Implements
    ICleanupComponentData
    IComponentData
    IQueryTypeParameter
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)