Class ToolSystem
Inheritance
System.Object
ToolSystem
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
Returns
|
Improve this Doc
View Source
Initialize()
Declaration
public override void Initialize()
Overrides
|
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
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
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