Show / Hide Table of Contents

Class PartAssemblySystem

This handles PartAssemblyComponent

Inheritance
System.Object
PartAssemblySystem
Namespace: Content.Shared.Construction
Assembly: Content.Shared.dll
Syntax
public sealed class PartAssemblySystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

IsAssemblyFinished(EntityUid, String, PartAssemblyComponent)

Declaration
public bool IsAssemblyFinished(EntityUid uid, string assemblyId, PartAssemblyComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.String assemblyId
PartAssemblyComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

IsPartValid(EntityUid, EntityUid, String, PartAssemblyComponent)

Checks if the given entity is a valid item for the assembly.

Declaration
public bool IsPartValid(EntityUid uid, EntityUid part, string assemblyId, PartAssemblyComponent component = null)
Parameters
Type Name Description
EntityUid uid
EntityUid part
System.String assemblyId
PartAssemblyComponent component
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryInsertPart(EntityUid, EntityUid, PartAssemblyComponent)

Attempts to insert a part into the current assembly, starting one if there is none.

Declaration
public bool TryInsertPart(EntityUid part, EntityUid uid, PartAssemblyComponent component = null)
Parameters
Type Name Description
EntityUid part
EntityUid uid
PartAssemblyComponent component
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾