Show / Hide Table of Contents

Class SharedDisposalUnitSystem

Inheritance
System.Object
SharedDisposalUnitSystem
DisposalUnitSystem
DisposalUnitSystem
Namespace: Content.Shared.Disposal
Assembly: Content.Shared.dll
Syntax
public abstract class SharedDisposalUnitSystem : EntitySystem

Fields

| Improve this Doc View Source

ExitAttemptDelay

Declaration
protected static TimeSpan ExitAttemptDelay
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

GameTiming

Declaration
protected readonly IGameTiming GameTiming
Field Value
Type Description
Robust.Shared.Timing.IGameTiming
| Improve this Doc View Source

Joints

Declaration
protected readonly SharedJointSystem Joints
Field Value
Type Description
Robust.Shared.Physics.Systems.SharedJointSystem
| Improve this Doc View Source

Metadata

Declaration
protected readonly MetaDataSystem Metadata
Field Value
Type Description
MetaDataSystem
| Improve this Doc View Source

PressurePerSecond

Declaration
public const float PressurePerSecond = null
Field Value
Type Description
System.Single

Methods

| Improve this Doc View Source

CanInsert(EntityUid, SharedDisposalUnitComponent, EntityUid)

Declaration
public virtual bool CanInsert(EntityUid uid, SharedDisposalUnitComponent component, EntityUid entity)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
EntityUid entity
Returns
Type Description
System.Boolean
| Improve this Doc View Source

DoInsertDisposalUnit(EntityUid, EntityUid, EntityUid, SharedDisposalUnitComponent)

TODO: Proper prediction

Declaration
public abstract void DoInsertDisposalUnit(EntityUid uid, EntityUid toInsert, EntityUid user, SharedDisposalUnitComponent disposal = null)
Parameters
Type Name Description
EntityUid uid
EntityUid toInsert
EntityUid user
SharedDisposalUnitComponent disposal
| Improve this Doc View Source

GetPressure(EntityUid, SharedDisposalUnitComponent, Nullable<MetaDataComponent>)

Declaration
public float GetPressure(EntityUid uid, SharedDisposalUnitComponent component, MetaDataComponent? metadata = null)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
System.Nullable<MetaDataComponent> metadata
Returns
Type Description
System.Single
| Improve this Doc View Source

GetState(EntityUid, SharedDisposalUnitComponent, Nullable<MetaDataComponent>)

Gets the current pressure state of a disposals unit.

Declaration
public DisposalsPressureState GetState(EntityUid uid, SharedDisposalUnitComponent component, MetaDataComponent? metadata = null)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
System.Nullable<MetaDataComponent> metadata
Returns
Type Description
DisposalsPressureState
| Improve this Doc View Source

HasDisposals(Nullable<EntityUid>)

Declaration
public abstract bool HasDisposals(EntityUid? uid)
Parameters
Type Name Description
System.Nullable<EntityUid> uid
Returns
Type Description
System.Boolean
| Improve this Doc View Source

OnCanDragDropOn(EntityUid, SharedDisposalUnitComponent, ref CanDropTargetEvent)

Declaration
protected void OnCanDragDropOn(EntityUid uid, SharedDisposalUnitComponent component, ref CanDropTargetEvent args)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
CanDropTargetEvent args
| Improve this Doc View Source

OnEmagged(EntityUid, SharedDisposalUnitComponent, ref GotEmaggedEvent)

Declaration
protected void OnEmagged(EntityUid uid, SharedDisposalUnitComponent component, ref GotEmaggedEvent args)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
Content.Shared.Emag.Systems.GotEmaggedEvent args
| Improve this Doc View Source

OnPreventCollide(EntityUid, SharedDisposalUnitComponent, ref PreventCollideEvent)

Declaration
protected void OnPreventCollide(EntityUid uid, SharedDisposalUnitComponent component, ref PreventCollideEvent args)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
Robust.Shared.Physics.Events.PreventCollideEvent args
| Improve this Doc View Source

ResolveDisposals(EntityUid, ref SharedDisposalUnitComponent)

Declaration
public abstract bool ResolveDisposals(EntityUid uid, ref SharedDisposalUnitComponent component)
Parameters
Type Name Description
EntityUid uid
SharedDisposalUnitComponent component
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾