Show / Hide Table of Contents

Class ToolSystem

Inheritance
System.Object
SharedToolSystem
ToolSystem
Implements
EntitySystem
Namespace: Content.Server.Tools
Assembly: Content.Server.dll
Syntax
public sealed class ToolSystem : SharedToolSystem, EntitySystem

Methods

| Improve this Doc View Source

GetWelderFuelAndCapacity(EntityUid, WelderComponent, SolutionContainerManagerComponent)

Declaration
public (FixedPoint2 fuel, FixedPoint2 capacity) GetWelderFuelAndCapacity(EntityUid uid, WelderComponent welder = null, SolutionContainerManagerComponent solutionContainer = null)
Parameters
Type Name Description
EntityUid uid
WelderComponent welder
SolutionContainerManagerComponent solutionContainer
Returns
Type Description
System.ValueTuple<FixedPoint2, FixedPoint2>
| Improve this Doc View Source

Initialize()

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

InitializeWelders()

Declaration
public void InitializeWelders()
| Improve this Doc View Source

IsWelder(EntityUid)

Declaration
protected override bool IsWelder(EntityUid uid)
Parameters
Type Name Description
EntityUid uid
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryToggleWelder(EntityUid, Nullable<EntityUid>, WelderComponent, SolutionContainerManagerComponent, ItemComponent, Nullable<SharedPointLightComponent>, Nullable<AppearanceComponent>)

Declaration
public bool TryToggleWelder(EntityUid uid, EntityUid? user, WelderComponent welder = null, SolutionContainerManagerComponent solutionContainer = null, ItemComponent item = null, SharedPointLightComponent? light = null, AppearanceComponent? appearance = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> user
WelderComponent welder
SolutionContainerManagerComponent solutionContainer
ItemComponent item
System.Nullable<SharedPointLightComponent> light
System.Nullable<AppearanceComponent> appearance
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryTurnWelderOff(EntityUid, Nullable<EntityUid>, WelderComponent, ItemComponent, Nullable<SharedPointLightComponent>, Nullable<AppearanceComponent>)

Declaration
public bool TryTurnWelderOff(EntityUid uid, EntityUid? user, WelderComponent welder = null, ItemComponent item = null, SharedPointLightComponent? light = null, AppearanceComponent? appearance = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> user
WelderComponent welder
ItemComponent item
System.Nullable<SharedPointLightComponent> light
System.Nullable<AppearanceComponent> appearance
Returns
Type Description
System.Boolean
| Improve this Doc View Source

TryTurnWelderOn(EntityUid, Nullable<EntityUid>, WelderComponent, SolutionContainerManagerComponent, ItemComponent, Nullable<SharedPointLightComponent>, Nullable<AppearanceComponent>, Nullable<TransformComponent>)

Declaration
public bool TryTurnWelderOn(EntityUid uid, EntityUid? user, WelderComponent welder = null, SolutionContainerManagerComponent solutionContainer = null, ItemComponent item = null, SharedPointLightComponent? light = null, AppearanceComponent? appearance = null, TransformComponent? transform = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> user
WelderComponent welder
SolutionContainerManagerComponent solutionContainer
ItemComponent item
System.Nullable<SharedPointLightComponent> light
System.Nullable<AppearanceComponent> appearance
System.Nullable<TransformComponent> transform
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime

Implements

EntitySystem
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾