Class AtmosCommandUtils
Inheritance
System.Object
AtmosCommandUtils
Namespace: Content.Shared.Atmos
Assembly: Content.Shared.dll
Syntax
public sealed class AtmosCommandUtils : object
Methods
| Improve this Doc View SourceTryParseGasID(String, out Int32)
Gas ID parser for atmospherics commands. This is so there's a central place for this logic for if the Gas enum gets removed.
Declaration
public static bool TryParseGasID(string str, out int x)
Parameters
Type | Name | Description |
---|---|---|
System.String | str | |
System.Int32 | x |
Returns
Type | Description |
---|---|
System.Boolean |