Show / Hide Table of Contents

# Struct SyncVarWithNotify<T>

###### Namespace: LiteEntitySystem

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public struct SyncVarWithNotify<T>
        where T : struct

##### Type Parameters

Name | Description
--- | ---
T |

### Constructors

#### SyncVarWithNotify(T)

##### Declaration

    public SyncVarWithNotify(T value)

##### Parameters

Type | Name | Description
--- | --- | ---
T | value |

### Fields

#### Value

##### Declaration

    public T Value

##### Field Value

Type | Description
--- | ---
T |

### Methods

#### Equals(Object)

##### Declaration

    public override bool Equals(object o)

##### Parameters

Type | Name | Description
--- | --- | ---
Object | o |

##### Returns

Type | Description
--- | ---
Boolean |

##### Overrides

System.ValueType.Equals(System.Object)

#### GetHashCode()

##### Declaration

    public override int GetHashCode()

##### Returns

Type | Description
--- | ---
Int32 |

##### Overrides

System.ValueType.GetHashCode()

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
String |

##### Overrides

System.ValueType.ToString()

### Operators

#### Equality(T, SyncVarWithNotify<T>)

##### Declaration

    public static bool operator ==(T a, SyncVarWithNotify<T> b)

##### Parameters

Type | Name | Description
--- | --- | ---
T | a |
SyncVarWithNotify<T> | b |

##### Returns

Type | Description
--- | ---
Boolean |

#### Equality(SyncVar<T>, SyncVarWithNotify<T>)

##### Declaration

    public static bool operator ==(SyncVar<T> a, SyncVarWithNotify<T> b)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVar<T> | a |
SyncVarWithNotify<T> | b |

##### Returns

Type | Description
--- | ---
Boolean |

#### Equality(SyncVarWithNotify<T>, SyncVarWithNotify<T>)

##### Declaration

    public static bool operator ==(SyncVarWithNotify<T> a, SyncVarWithNotify<T> b)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVarWithNotify<T> | a |
SyncVarWithNotify<T> | b |

##### Returns

Type | Description
--- | ---
Boolean |

#### Implicit(T to SyncVarWithNotify<T>)

##### Declaration

    public static implicit operator SyncVarWithNotify<T>(T v)

##### Parameters

Type | Name | Description
--- | --- | ---
T | v |

##### Returns

Type | Description
--- | ---
SyncVarWithNotify<T> |

#### Implicit(SyncVar<T> to SyncVarWithNotify<T>)

##### Declaration

    public static implicit operator SyncVarWithNotify<T>(SyncVar<T> v)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVar<T> | v |

##### Returns

Type | Description
--- | ---
SyncVarWithNotify<T> |

#### Implicit(SyncVarWithNotify<T> to T)

##### Declaration

    public static implicit operator T(SyncVarWithNotify<T> sv)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVarWithNotify<T> | sv |

##### Returns

Type | Description
--- | ---
T |

#### Implicit(SyncVarWithNotify<T> to SyncVar<T>)

##### Declaration

    public static implicit operator SyncVar<T>(SyncVarWithNotify<T> sv)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVarWithNotify<T> | sv |

##### Returns

Type | Description
--- | ---
SyncVar<T> |

#### Inequality(T, SyncVarWithNotify<T>)

##### Declaration

    public static bool operator !=(T a, SyncVarWithNotify<T> b)

##### Parameters

Type | Name | Description
--- | --- | ---
T | a |
SyncVarWithNotify<T> | b |

##### Returns

Type | Description
--- | ---
Boolean |

#### Inequality(SyncVar<T>, SyncVarWithNotify<T>)

##### Declaration

    public static bool operator !=(SyncVar<T> a, SyncVarWithNotify<T> b)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVar<T> | a |
SyncVarWithNotify<T> | b |

##### Returns

Type | Description
--- | ---
Boolean |

#### Inequality(SyncVarWithNotify<T>, SyncVarWithNotify<T>)

##### Declaration

    public static bool operator !=(SyncVarWithNotify<T> a, SyncVarWithNotify<T> b)

##### Parameters

Type | Name | Description
--- | --- | ---
SyncVarWithNotify<T> | a |
SyncVarWithNotify<T> | b |

##### Returns

Type | Description
--- | ---
Boolean |