docs.unity.cn
    Show / Hide Table of Contents

    Struct TestStruct

    Namespace: Unity.Netcode.RuntimeTests
    Syntax
    public struct TestStruct : INetworkSerializable, IEquatable<TestStruct>

    Fields

    NetworkSerializeCalledOnRead

    Declaration
    public static bool NetworkSerializeCalledOnRead
    Field Value
    Type Description
    Boolean

    NetworkSerializeCalledOnWrite

    Declaration
    public static bool NetworkSerializeCalledOnWrite
    Field Value
    Type Description
    Boolean

    SomeBool

    Declaration
    public bool SomeBool
    Field Value
    Type Description
    Boolean

    SomeInt

    Declaration
    public uint SomeInt
    Field Value
    Type Description
    UInt32

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(TestStruct)

    Declaration
    public bool Equals(TestStruct other)
    Parameters
    Type Name Description
    TestStruct other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    NetworkSerialize<T>(BufferSerializer<T>)

    Declaration
    public void NetworkSerialize<T>(BufferSerializer<T> serializer)
        where T : IReaderWriter
    Parameters
    Type Name Description
    BufferSerializer<T> serializer
    Type Parameters
    Name Description
    T
    Implements
    INetworkSerializable.NetworkSerialize<T>(BufferSerializer<T>)
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 21, 2023
    Terms of use