Show / Hide Table of Contents

Class AnimalTrapComponent

Inheritance
System.Object
WorldObjectComponent
AnimalTrapComponent
Implements
ILinkable
IOwned
IController
IViewController
IHasUniversalID
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.Destroy()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.IconName
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
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
[RequireComponent]
public class AnimalTrapComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions

Constructors

AnimalTrapComponent()

Declaration
public AnimalTrapComponent()

Properties

Enabled

Declaration
public override bool Enabled { get; }
Property Value
Type Description
System.Boolean
Overrides
WorldObjectComponent.Enabled

EnabledTest

Declaration
public Func<Vector3i, bool> EnabledTest { get; set; }
Property Value
Type Description
System.Func<Vector3i, System.Boolean>

FailStatusMessage

Declaration
public LocString FailStatusMessage { get; set; }
Property Value
Type Description
LocString

Storage

Declaration
public PublicStorageComponent Storage { get; }
Property Value
Type Description
PublicStorageComponent

TargetLayers

Declaration
public List<AnimalLayer> TargetLayers { get; }
Property Value
Type Description
System.Collections.Generic.List<AnimalLayer>

Methods

Initialize()

Declaration
public override void Initialize()
Overrides
WorldObjectComponent.Initialize()

Initialize(List<String>)

Declaration
public void Initialize(List<string> layers)
Parameters
Type Name Description
System.Collections.Generic.List<System.String> layers

LayerTick()

Declaration
public void LayerTick()

OnPickup(Player)

Declaration
public override void OnPickup(Player player)
Parameters
Type Name Description
Player player
Overrides
WorldObjectComponent.OnPickup(Player)

UpdateEnabled()

Declaration
public void UpdateEnabled()

UpdateTrappingStatus()

Declaration
public void UpdateTrappingStatus()

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