Show / Hide Table of Contents

Struct SyncVar<T>

Implements
IEquatable<T>
IEquatable<SyncVar<T>>
Namespace: LiteEntitySystem
Assembly: LiteEntitySystem.dll
Syntax
public struct SyncVar<T> : IEquatable<T>, IEquatable<SyncVar<T>> where T : unmanaged
Type Parameters
Name Description
T

Properties

Value

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

Methods

Equals(SyncVar<T>)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(SyncVar<T> tv)
Parameters
Type Name Description
SyncVar<T> tv
Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Indicates whether this instance and a specified object are equal.

Declaration
public override bool Equals(object o)
Parameters
Type Name Description
object o
Returns
Type Description
bool

true if obj and this instance are the same type and represent the same value; otherwise, false.

Overrides
System.ValueType.Equals(object)

Equals(T)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(T v)
Parameters
Type Name Description
T v
Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Returns the hash code for this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A 32-bit signed integer that is the hash code for this instance.

Overrides
System.ValueType.GetHashCode()

ToString()

Returns the fully qualified type name of this instance.

Declaration
public override string ToString()
Returns
Type Description
string

The fully qualified type name.

Overrides
System.ValueType.ToString()

Operators

operator ==(SyncVar<T>, SyncVar<T>)

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

operator ==(SyncVar<T>, T)

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

operator ==(T, SyncVar<T>)

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

implicit operator T(SyncVar<T>)

Declaration
public static implicit operator T(SyncVar<T> sv)
Parameters
Type Name Description
SyncVar<T> sv
Returns
Type Description
T

operator !=(SyncVar<T>, SyncVar<T>)

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

operator !=(SyncVar<T>, T)

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

operator !=(T, SyncVar<T>)

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

Implements

IEquatable<T>
IEquatable<T>
In this article
Back to top Generated by DocFX