Class BoatComponent
Represents a boat. This component should be attached to all boats/vessels.
Handles boat moorage posts attachment.
Inheritance
System.Object
BoatComponent
Implements
System.ComponentModel.INotifyPropertyChanged
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
Properties
IsCarryingVehicles
Declaration
public bool IsCarryingVehicles { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
MoorageAttached
Declaration
public BoatMooragePostComponent MoorageAttached { get; set; }
Property Value
Size
Declaration
public BoatComponent.BoatSize Size { get; set; }
Property Value
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
Implements
System.ComponentModel.INotifyPropertyChanged
Extension Methods