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