Show / Hide Table of Contents

Class PistonStatus

Describes the current status of the piston.

Inheritance
System.Object
PistonStatus
Namespace: Sandbox.ModAPI.Ingame
Assembly: Sandbox.Common.dll
Syntax
public sealed class PistonStatus : Enum

Fields

Extended

The piston is in its extended position (stationary).

Declaration
public const PistonStatus Extended
Field Value
Type Description
PistonStatus

Extending

The piston is being extended (moving).

Declaration
public const PistonStatus Extending
Field Value
Type Description
PistonStatus

Retracted

The piston is in its retracted position (stationary).

Declaration
public const PistonStatus Retracted
Field Value
Type Description
PistonStatus

Retracting

The piston is being retracted (moving).

Declaration
public const PistonStatus Retracting
Field Value
Type Description
PistonStatus

Stopped

The piston velocity is 0 (stationary).

Declaration
public const PistonStatus Stopped
Field Value
Type Description
PistonStatus

value__

Declaration
public int value__
Field Value
Type Description
System.Int32
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾