Search Results for

    Show / Hide Table of Contents

    Class NetworkLongIntegerPropertySync<K>

    Provides an abstraction to track changes on a long property contained in a NetworkPropertiesTable. A NetworkPropertiesTable component is needed in the same entity or any of its parents.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    NetworkPropertySync<K, long>
    NetworkLongIntegerPropertySync<K>
    Implements
    IDependencyObject
    Inherited Members
    NetworkPropertySync<K, long>.propertiesTableProvider
    NetworkPropertySync<K, long>.PropertyKeyByte
    NetworkPropertySync<K, long>.PropertyKey
    NetworkPropertySync<K, long>.IsReady
    NetworkPropertySync<K, long>.IsLocalPlayerProvider
    NetworkPropertySync<K, long>.ProviderFilter
    NetworkPropertySync<K, long>.HasValue
    NetworkPropertySync<K, long>.PropertyValue
    NetworkPropertySync<K, long>.OnAttached()
    NetworkPropertySync<K, long>.OnActivated()
    NetworkPropertySync<K, long>.OnDeactivated()
    NetworkPropertySync<K, long>.OnDetach()
    NetworkPropertySync<K, long>.OnPropertyReadyToSet()
    NetworkPropertySync<K, long>.OnPropertyAddedOrChanged()
    NetworkPropertySync<K, long>.OnPropertyRemoved()
    NetworkPropertySync<K, long>.ReadValue(NetworkPropertiesTable)
    NetworkPropertySync<K, long>.WriteValue(NetworkPropertiesTable, long)
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnAttached()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDetach()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    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

    The type of the property key. Must be byte or Enum.

    Methods

    ReadValue(NetworkPropertiesTable)

    Defines a delegate to read the value from the player's NetworkPropertiesTable.

    Declaration
    protected override long ReadValue(NetworkPropertiesTable propertiesTable)
    Parameters
    Type Name Description
    NetworkPropertiesTable propertiesTable

    The properties table that contains the player's custom properties.

    Returns
    Type Description
    long

    The property value.

    Overrides
    NetworkPropertySync<K, long>.ReadValue(NetworkPropertiesTable)

    WriteValue(NetworkPropertiesTable, long)

    Defines a delegate to write the value in the player's NetworkPropertiesTable.

    Declaration
    protected override void WriteValue(NetworkPropertiesTable propertiesTable, long value)
    Parameters
    Type Name Description
    NetworkPropertiesTable propertiesTable

    The properties table that contains the player's custom properties.

    long value

    The value to write.

    Overrides
    NetworkPropertySync<K, long>.WriteValue(NetworkPropertiesTable, long)

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX