Table of Contents

Enum CameraButtons

Namespace
RustPlusApi.Data.Cameras
Assembly
RustPlusApi.dll

Bitmask of camera input buttons sent via SendCameraInputAsync. Values mirror the Rust+ protocol (liamcottle/rustplus.js).

[Flags]
public enum CameraButtons

Fields

Backward = 4

Move backward.

Duck = 64

Crouch / duck.

FirePrimary = 1024

Fire primary weapon.

FireSecondary = 2048

Fire secondary (aim down sights / alt-fire).

FireThird = 134217728

Fire tertiary (underbarrel / melee).

Forward = 2

Move forward.

Jump = 32

Jump.

Left = 8

Strafe left.

None = 0

No button pressed.

Reload = 8192

Reload.

Right = 16

Strafe right.

Sprint = 128

Sprint.

Use = 256

Use / interact.