Show / Hide Table of Contents

Class SurfaceComponent

Defines surfaces that can have things put on them.

Inheritance
System.Object
WorldObjectComponent
SurfaceComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
IPickupConfirmationComponent
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.Initialize()
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.Destroy()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.IconName
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.Enabled
WorldObjectComponent.IsDestroyed
WorldObjectComponent.Availability
WorldObjectComponent.ShouldRequestEverything
WorldObjectComponent.Owners
WorldObjectComponent.ControllerID
WorldObjectComponent.IOwned.Deed
WorldObjectComponent.Subscriptions
WorldObjectComponent.PropertyChanged
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
[AlwaysMayBeComponent]
public class SurfaceComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IPickupConfirmationComponent

Constructors

SurfaceComponent()

Declaration
public SurfaceComponent()

Properties

AttachedObjects

Declaration
public IEnumerable<WorldObjectHandle> AttachedObjects { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<WorldObjectHandle>

AttachedTo

Declaration
public WorldObjectHandle AttachedTo { get; }
Property Value
Type Description
WorldObjectHandle

Methods

AllAttachedRecursive()

Returns all objects attached to us, as well as to attached to an attached object, etc

Declaration
public IEnumerable<WorldObject> AllAttachedRecursive()
Returns
Type Description
System.Collections.Generic.IEnumerable<WorldObject>

AttachTo(WorldObject)

Declaration
public void AttachTo(WorldObject other)
Parameters
Type Name Description
WorldObject other

Explicit Interface Implementations

IPickupConfirmationComponent.GetComponentPickupConfirmation()

Declaration
LocString IPickupConfirmationComponent.GetComponentPickupConfirmation()
Returns
Type Description
LocString

Implements

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

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
☀
☾