Search Results for

    Show / Hide Table of Contents

    Class NetworkCustomPropertiesProvider

    Provides the NetworkPropertiesTable necessary for NetworkPropertySync<K, V> components.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    NetworkCustomPropertiesProvider
    NetworkPlayerProvider
    NetworkRoomProvider
    Implements
    IDependencyObject
    Inherited Members
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    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 NetworkCustomPropertiesProvider : Component, IDependencyObject

    Properties

    CustomProperties

    Gets the NetworkPropertiesTable.

    Declaration
    public NetworkPropertiesTable CustomProperties { get; }
    Property Value
    Type Description
    NetworkPropertiesTable

    Methods

    CheckMultipleProvidersOfType<T>()

    Checks if there is more than one provider of type T in the Owner entity and raises an exception in that case.

    Declaration
    protected void CheckMultipleProvidersOfType<T>() where T : NetworkCustomPropertiesProvider
    Type Parameters
    Name Description
    T

    The NetworkCustomPropertiesProvider type to be checked.

    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Declaration
    public void Dispose()

    GetCustomProperties(MatchmakingClientService)

    Gets the NetworkPropertiesTable instance.

    Declaration
    protected abstract NetworkPropertiesTable GetCustomProperties(MatchmakingClientService matchmakingClientService)
    Parameters
    Type Name Description
    MatchmakingClientService matchmakingClientService

    The MatchmakingClientService reference.

    Returns
    Type Description
    NetworkPropertiesTable

    The NetworkPropertiesTable instance.

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    Component.OnAttached()

    OnDetach()

    Invoked when the object is detached.

    Declaration
    protected override void OnDetach()
    Overrides
    Component.OnDetach()

    UpdateCustomPropertiesReference()

    Updates the reference to the custom properties.

    Declaration
    protected void UpdateCustomPropertiesReference()

    Events

    CustomPropertiesRefreshed

    Occurs when the CustomProperties property is changed. The previous properties table is received as a parameter.

    Declaration
    public event EventHandler<NetworkPropertiesTable> CustomPropertiesRefreshed
    Event Type
    Type Description
    EventHandler<NetworkPropertiesTable>

    Implements

    IDependencyObject

    Extension Methods

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