Show / Hide Table of Contents

Class ModularVehicleComponent

Inheritance
System.Object
WorldObjectComponent
ModularVehicleComponent
Implements
ILinkable
IOwned
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<ThreadSafeSubscriptions>
ISubscriptions
IHasInteractions
IInventoryWorldObjectComponent
IPermanentDestroyHandler
ISyncRotationValue
IController
IViewController
IHasUniversalID
IModularVehicleState
Inherited Members
WorldObjectComponent.IsRPCAuthorized(IWorldObserver, AccessType, Object[])
WorldObjectComponent.Initialize()
WorldObjectComponent.PostInitialize()
WorldObjectComponent.OnCreate()
WorldObjectComponent.Tick()
WorldObjectComponent.LateTick()
WorldObjectComponent.OnPickup(Player)
WorldObjectComponent.OnBeforeObjectMoved()
WorldObjectComponent.OnAfterObjectMoved()
WorldObjectComponent.OnLinkClicked(TooltipOrigin, TooltipClickContext, User)
WorldObjectComponent.UILinkContent()
WorldObjectComponent.Parent
WorldObjectComponent.Name
WorldObjectComponent.ForceActiveTab
WorldObjectComponent.ComponentPrefabName
WorldObjectComponent.ComponentTabName
WorldObjectComponent.Enabled
WorldObjectComponent.IsDestroyed
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 ModularVehicleComponent : WorldObjectComponent, ILinkable, IOwned, IHasSerializableID, IRPCAuthChecks, INotifyPropertyChanged, IThreadSafeSubscriptions, ISubscriptions<ThreadSafeSubscriptions>, ISubscriptions, IHasInteractions, IInventoryWorldObjectComponent, IPermanentDestroyHandler, ISyncRotationValue, IController, IViewController, IHasUniversalID, IModularVehicleState

Constructors

ModularVehicleComponent()

Declaration
public ModularVehicleComponent()

Properties

Attachments

Declaration
public AuthorizationInventory Attachments { get; set; }
Property Value
Type Description
AuthorizationInventory

AttachmentTypesString

Declaration
public string AttachmentTypesString { get; }
Property Value
Type Description
System.String

Availability

Declaration
public override WorldObjectComponentClientAvailability Availability { get; }
Property Value
Type Description
WorldObjectComponentClientAvailability
Overrides
WorldObjectComponent.Availability

IconName

Declaration
public override string IconName { get; }
Property Value
Type Description
System.String
Overrides
WorldObjectComponent.IconName

Inventory

Declaration
public Inventory Inventory { get; }
Property Value
Type Description
Inventory

Rotation

Declaration
public Quaternion Rotation { get; set; }
Property Value
Type Description
Quaternion

Segments

Declaration
public AuthorizationInventory Segments { get; set; }
Property Value
Type Description
AuthorizationInventory

SegmentTypesString

Declaration
public string SegmentTypesString { get; }
Property Value
Type Description
System.String

State

Declaration
public ModularVehicleToolState State { get; set; }
Property Value
Type Description
ModularVehicleToolState

VehicleToolItem

Declaration
public VehicleToolItem VehicleToolItem { get; }
Property Value
Type Description
VehicleToolItem

Methods

Destroy()

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

Initialize(Int32, Int32, Type[], Type[])

Declaration
public void Initialize(int segmentSlots, int attachmentSlots, Type[] segmentTypes, Type[] attachTypes)
Parameters
Type Name Description
System.Int32 segmentSlots
System.Int32 attachmentSlots
System.Type[] segmentTypes
System.Type[] attachTypes

OnVehicleMoved()

Declaration
public void OnVehicleMoved()

SetRotation(Quaternion)

Declaration
public void SetRotation(Quaternion value)
Parameters
Type Name Description
Quaternion value

SetState(ModularVehicleToolState)

Declaration
public void SetState(ModularVehicleToolState value)
Parameters
Type Name Description
ModularVehicleToolState value

TryPickup(Player, InventoryChangeSet, Inventory, Boolean)

Declaration
public override InventoryMoveResult TryPickup(Player player, InventoryChangeSet playerInvChanges, Inventory targetInventory, bool force)
Parameters
Type Name Description
Player player
InventoryChangeSet playerInvChanges
Inventory targetInventory
System.Boolean force
Returns
Type Description
InventoryMoveResult
Overrides
WorldObjectComponent.TryPickup(Player, InventoryChangeSet, Inventory, Boolean)

UpdateVehicleToolItem()

Declaration
public void UpdateVehicleToolItem()

Implements

ILinkable
IOwned
IHasSerializableID
IRPCAuthChecks
System.ComponentModel.INotifyPropertyChanged
IThreadSafeSubscriptions
ISubscriptions<TSubscriptionsList>
ISubscriptions
IHasInteractions
IInventoryWorldObjectComponent
IPermanentDestroyHandler
ISyncRotationValue
IController
IViewController
IHasUniversalID
IModularVehicleState

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