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