Search Results for

    Show / Hide Table of Contents

    Class SyncVarNetworkBehaviour<T>

    Inheritance
    Object
    SyncObject
    SyncVar<UInt64>
    SyncVarNetworkBehaviour<T>
    Implements
    IEquatable<UInt64>
    Inherited Members
    SyncVar<UInt64>.ClearChanges()
    SyncVar<UInt64>.Reset()
    SyncVar<UInt64>.Equals(UInt64)
    SyncVar<UInt64>.ToString()
    SyncObject.OnDirty
    SyncObject.IsRecording
    Namespace: Mirror
    Assembly: doc.dll
    Syntax
    public class SyncVarNetworkBehaviour<T> : SyncVar<ulong> where T : NetworkBehaviour
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    SyncVarNetworkBehaviour(T)

    Declaration
    public SyncVarNetworkBehaviour(T value = null)
    Parameters
    Type Name Description
    T value

    Properties

    | Improve this Doc View Source

    Value

    Declaration
    public T Value { get; set; }
    Property Value
    Type Description
    T

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    | Improve this Doc View Source

    InvokeCallback(UInt64, UInt64)

    Declaration
    protected override void InvokeCallback(ulong oldValue, ulong newValue)
    Parameters
    Type Name Description
    UInt64 oldValue
    UInt64 newValue
    Overrides
    Mirror.SyncVar<System.UInt64>.InvokeCallback(System.UInt64, System.UInt64)
    | Improve this Doc View Source

    OnDeserializeAll(NetworkReader)

    Declaration
    public override void OnDeserializeAll(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Overrides
    Mirror.SyncVar<System.UInt64>.OnDeserializeAll(Mirror.NetworkReader)
    | Improve this Doc View Source

    OnDeserializeDelta(NetworkReader)

    Declaration
    public override void OnDeserializeDelta(NetworkReader reader)
    Parameters
    Type Name Description
    NetworkReader reader
    Overrides
    Mirror.SyncVar<System.UInt64>.OnDeserializeDelta(Mirror.NetworkReader)
    | Improve this Doc View Source

    OnSerializeAll(NetworkWriter)

    Declaration
    public override void OnSerializeAll(NetworkWriter writer)
    Parameters
    Type Name Description
    NetworkWriter writer
    Overrides
    Mirror.SyncVar<System.UInt64>.OnSerializeAll(Mirror.NetworkWriter)
    | Improve this Doc View Source

    OnSerializeDelta(NetworkWriter)

    Declaration
    public override void OnSerializeDelta(NetworkWriter writer)
    Parameters
    Type Name Description
    NetworkWriter writer
    Overrides
    Mirror.SyncVar<System.UInt64>.OnSerializeDelta(Mirror.NetworkWriter)

    Events

    | Improve this Doc View Source

    Callback

    Declaration
    public event Action<T, T> Callback
    Event Type
    Type Description
    Action<T, T>

    Operators

    | Improve this Doc View Source

    Equality(T, SyncVarNetworkBehaviour<T>)

    Declaration
    public static bool operator ==(T a, SyncVarNetworkBehaviour<T> b)
    Parameters
    Type Name Description
    T a
    SyncVarNetworkBehaviour<T> b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equality(NetworkBehaviour, SyncVarNetworkBehaviour<T>)

    Declaration
    public static bool operator ==(NetworkBehaviour a, SyncVarNetworkBehaviour<T> b)
    Parameters
    Type Name Description
    NetworkBehaviour a
    SyncVarNetworkBehaviour<T> b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equality(SyncVarNetworkBehaviour<T>, T)

    Declaration
    public static bool operator ==(SyncVarNetworkBehaviour<T> a, T b)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> a
    T b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equality(SyncVarNetworkBehaviour<T>, NetworkBehaviour)

    Declaration
    public static bool operator ==(SyncVarNetworkBehaviour<T> a, NetworkBehaviour b)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> a
    NetworkBehaviour b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Equality(SyncVarNetworkBehaviour<T>, SyncVarNetworkBehaviour<T>)

    Declaration
    public static bool operator ==(SyncVarNetworkBehaviour<T> a, SyncVarNetworkBehaviour<T> b)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> a
    SyncVarNetworkBehaviour<T> b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Implicit(T to SyncVarNetworkBehaviour<T>)

    Declaration
    public static implicit operator SyncVarNetworkBehaviour<T>(T value)
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    SyncVarNetworkBehaviour<T>
    | Improve this Doc View Source

    Implicit(SyncVarNetworkBehaviour<T> to T)

    Declaration
    public static implicit operator T(SyncVarNetworkBehaviour<T> field)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> field
    Returns
    Type Description
    T
    | Improve this Doc View Source

    Inequality(T, SyncVarNetworkBehaviour<T>)

    Declaration
    public static bool operator !=(T a, SyncVarNetworkBehaviour<T> b)
    Parameters
    Type Name Description
    T a
    SyncVarNetworkBehaviour<T> b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(NetworkBehaviour, SyncVarNetworkBehaviour<T>)

    Declaration
    public static bool operator !=(NetworkBehaviour a, SyncVarNetworkBehaviour<T> b)
    Parameters
    Type Name Description
    NetworkBehaviour a
    SyncVarNetworkBehaviour<T> b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(SyncVarNetworkBehaviour<T>, T)

    Declaration
    public static bool operator !=(SyncVarNetworkBehaviour<T> a, T b)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> a
    T b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(SyncVarNetworkBehaviour<T>, NetworkBehaviour)

    Declaration
    public static bool operator !=(SyncVarNetworkBehaviour<T> a, NetworkBehaviour b)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> a
    NetworkBehaviour b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    Inequality(SyncVarNetworkBehaviour<T>, SyncVarNetworkBehaviour<T>)

    Declaration
    public static bool operator !=(SyncVarNetworkBehaviour<T> a, SyncVarNetworkBehaviour<T> b)
    Parameters
    Type Name Description
    SyncVarNetworkBehaviour<T> a
    SyncVarNetworkBehaviour<T> b
    Returns
    Type Description
    Boolean

    Implements

    IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX