Class CraneToolComponent
Inheritance
System.Object
CraneToolComponent
Implements
System.ComponentModel.INotifyPropertyChanged
Assembly: Eco.Gameplay.dll
[ChatCommandHandler]
public class CraneToolComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions
Constructors
Declaration
public CraneToolComponent()
Properties
Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Overrides
Declaration
public BuilderInventory ClawInventory { get; set; }
Property Value
Declaration
public int OverrideStackSize { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Declaration
public void Build(Player player, Vector3i min, Vector3i max, int blockRotation)
Parameters
Declaration
[ChatSubCommand]
public static void Cranes(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Declaration
public void Initialize(float joulesPerBuildBlock, int overrideStackSize)
Parameters
Type |
Name |
Description |
System.Single |
joulesPerBuildBlock |
|
System.Int32 |
overrideStackSize |
|
Declaration
public override void OnCreate()
Overrides
Declaration
[ChatCommand]
public static void Test(User user)
Parameters
Type |
Name |
Description |
User |
user |
|
Declaration
public override InventoryMoveResult TryPickup(Player player, InventoryChangeSet playerInvChanges, Inventory targetInventory, bool force)
Parameters
Returns
Overrides
Declaration
public void WorldObjectInteract(Player player, InteractionTarget target, InteractionTriggerInfo triggerInfo)
Parameters
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods