docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct ForceNetworkSerializeByMemcpy<T>

    This is a wrapper that adds INetworkSerializeByMemcpy support to existing structs that the developer doesn't have the ability to modify (for example, external structs like Guid).

    Implements
    INetworkSerializeByMemcpy
    IEquatable<ForceNetworkSerializeByMemcpy<T>>
    Inherited Members
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Unity.Netcode
    Assembly: solution.dll
    Syntax
    public struct ForceNetworkSerializeByMemcpy<T> : INetworkSerializeByMemcpy, IEquatable<ForceNetworkSerializeByMemcpy<T>> where T : unmanaged, IEquatable<T>
    Type Parameters
    Name Description
    T

    Constructors

    Name Description
    ForceNetworkSerializeByMemcpy(T)

    The default constructor for ForceNetworkSerializeByMemcpy<T>

    Fields

    Name Description
    Value

    The wrapped value

    Methods

    Name Description
    Equals(object)

    Check if this value is equal to a boxed object value

    Equals(ForceNetworkSerializeByMemcpy<T>)

    Check if wrapped values are equal

    GetHashCode()

    Obtains the wrapped value's hash code

    Operators

    Name Description
    implicit operator T(ForceNetworkSerializeByMemcpy<T>)

    Convert implicitly from the ForceNetworkSerializeByMemcpy wrapper to the underlying value

    implicit operator ForceNetworkSerializeByMemcpy<T>(T)

    Convert implicitly from a T value to a ForceNetworkSerializeByMemcpy wrapper

    In This Article
    Back to top
    Copyright © 2024 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)