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