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