Class NetworkBooleanPropertySync<K>
Provides an abstraction to track changes on a bool property contained on a
Network
Inheritance
NetworkBooleanPropertySync<K>
Implements
Inherited Members
Namespace: Evergine.Networking.Components
Assembly: Evergine.Networking.dll
Syntax
public abstract class NetworkBooleanPropertySync<K> : NetworkPropertySync<K, bool>, IDependencyObject where K : struct, IConvertible
Type Parameters
Methods
ReadValue(NetworkPropertiesTable)
Defines a delegate to read the value from the player Network
Declaration
protected override bool ReadValue(NetworkPropertiesTable propertiesTable)
Parameters
Type | Name | Description |
---|---|---|
Network |
propertiesTable | The properties table that contains the player custom properties. |
Returns
Type | Description |
---|---|
bool | The property value. |
Overrides
WriteValue(NetworkPropertiesTable, bool)
Defines a delegate to write the value in the player Network
Declaration
protected override void WriteValue(NetworkPropertiesTable propertiesTable, bool value)
Parameters
Type | Name | Description |
---|---|---|
Network |
propertiesTable | The properties table that contains the player custom properties. |
bool | value | The value to write. |