Show / Hide Table of Contents

Class SharedLinkComponent

This link component uses parent owner's shared link settings if provided alias has full access to the property. In other words, users with full access can change linked objects and expect that other owners will also receive these changes. Currently used for stores.

Inheritance
System.Object
WorldObjectComponent
LinkComponent
SharedLinkComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
Inherited Members
LinkComponent.MaxConnectRadius
LinkComponent.LinkedComponents(Player)
LinkComponent.Initialize(Single)
LinkComponent.Initialize()
LinkComponent.SetConnectRadius(Single)
LinkComponent.GetSortedLinkedInventoriesAndUser(Player)
LinkComponent.GetSortedLinkedInventories(IAlias)
LinkComponent.GetSortedLinkedComponents(IAlias, Boolean, Boolean)
LinkComponent.GetSortedLinkedEnabledStorages(IAlias)
LinkComponent.GetEnabledLinkedStorages(IAlias)
LinkComponent.GetLinkedStorages<T>(IAlias)
LinkComponent.GetLinkedStoragesWithSettings(IAlias)
LinkComponent.GetAuthorizedLinkedObjects(IAlias)
LinkComponent.GetAllLinkedStacks(IAlias, Boolean, Boolean)
LinkComponent.Relink()
LinkComponent.OnAfterObjectMoved()
LinkComponent.Destroy()
LinkComponent.GetLinkSettings(IAlias, StorageComponent)
LinkComponent.GetLinkSettings(IAlias, WorldObject, Type)
LinkComponent.NewDefaultLinkSettings(IAlias, WorldObject, Type)
LinkComponent.SetObjectPriority(Player, StorageComponent, Int32)
LinkComponent.SetObjectPriority(User, StorageComponent, Int32)
LinkComponent.SetObjectExpanded(Player, StorageComponent, Boolean)
LinkComponent.SetObjectExpanded(User, StorageComponent, Boolean)
LinkComponent.SetObjectEnabled(User, StorageComponent, Boolean)
LinkComponent.SetObjectInput(Player, StorageComponent, Boolean)
LinkComponent.SetAllObjectsInput(Player, Boolean)
LinkComponent.SetObjectInput(User, StorageComponent, Boolean)
LinkComponent.SetObjectOutput(Player, StorageComponent, Boolean)
LinkComponent.SetAllObjectsOutput(Player, Boolean)
LinkComponent.SetObjectOutput(User, StorageComponent, Boolean)
LinkComponent.ConsolidateLinkedInventory(User)
LinkComponent.ConnectionRadiusModifier
LinkComponent.DefaultConnectionRadius
LinkComponent.LinkedObjects
LinkComponent.Availability
LinkComponent.BaseConnectionRadius
LinkComponent.ObjectConnectionRadius
LinkComponent.Hidden
LinkComponent.OnLinked
LinkComponent.OnDelinked
LinkComponent.OnInventoryContentsChanged
LinkComponent.LinkedInventoryChangeEvent
LinkComponent.AutoLink
LinkComponent.IconName
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.Enabled
WorldObjectComponent.IsDestroyed
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
public class SharedLinkComponent : LinkComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions

Constructors

SharedLinkComponent()

Declaration
public SharedLinkComponent()

Methods

HasFullAccess(IAlias)

Checks whether this alias has full access to the property.

Declaration
protected bool HasFullAccess(IAlias alias)
Parameters
Type Name Description
IAlias alias
Returns
Type Description
System.Boolean

LinkSettingsAlias(IAlias)

Overrides provided alias if it has full access (replaces it with parent owner).

Declaration
protected override IAlias LinkSettingsAlias(IAlias alias)
Parameters
Type Name Description
IAlias alias
Returns
Type Description
IAlias
Overrides
LinkComponent.LinkSettingsAlias(IAlias)

Implements

ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾