docs.unity3d.com
    Show / Hide Table of Contents

    Struct NetworkListEvent<T>

    Struct containing event information about changes to a NetworkList.

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Netcode
    Syntax
    public struct NetworkListEvent<T>
    Type Parameters
    Name Description
    T

    The type for the list that the event is about

    Fields

    Index

    the index changed, added or removed if available

    Declaration
    public int Index
    Field Value
    Type Description
    Int32

    PreviousValue

    The previous value when "Value" has changed, if available.

    Declaration
    public T PreviousValue
    Field Value
    Type Description
    T

    Type

    Enum representing the operation made to the list.

    Declaration
    public NetworkListEvent<T>.EventType Type
    Field Value
    Type Description
    NetworkListEvent.EventType<>

    Value

    The value changed, added or removed if available.

    Declaration
    public T Value
    Field Value
    Type Description
    T
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023