Class BoatComponent
Represents a boat. This component should be attached to all boats/vessels. Handles boat moorage posts attachment.
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Eco.Gameplay.Components
Assembly: Eco.Gameplay.dll
Syntax
public class BoatComponent : WorldObjectComponent, ILinkable, IOwned, IController, IViewController, IHasUniversalID, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions
Constructors
BoatComponent()
Declaration
public BoatComponent()
Properties
MoorageAttached
Declaration
public BoatMooragePostComponent MoorageAttached { get; set; }
Property Value
Type | Description |
---|---|
BoatMooragePostComponent |
Size
Declaration
public BoatComponent.BoatSize Size { get; set; }
Property Value
Type | Description |
---|---|
BoatComponent.BoatSize |
Methods
Destroy()
Declaration
public override void Destroy()
Overrides
Initialize()
Declaration
public override void Initialize()
Overrides
ToggleRamp(Player, InteractionTriggerInfo, InteractionTarget)
Declaration
[Interaction]
public void ToggleRamp(Player player, InteractionTriggerInfo trigger, InteractionTarget target)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
InteractionTriggerInfo | trigger | |
InteractionTarget | target |
Implements
System.ComponentModel.INotifyPropertyChanged