Class SharedGravityGeneratorComponent.SwitchGeneratorMessage
Sent to the server to set whether the generator should be on or off
Inheritance
System.Object
SharedGravityGeneratorComponent.SwitchGeneratorMessage
Namespace: Content.Shared.Gravity
Assembly: Content.Shared.dll
Syntax
public sealed class SwitchGeneratorMessage : BoundUserInterfaceMessage
Constructors
| Improve this Doc View SourceSwitchGeneratorMessage(Boolean)
Declaration
public SwitchGeneratorMessage(bool on)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | on |
Fields
| Improve this Doc View SourceOn
Declaration
public bool On
Field Value
Type | Description |
---|---|
System.Boolean |