Skip to content

Gun Enums

DerpyNewbie edited this page Jul 18, 2024 · 4 revisions

FireMode

Name Value Description
Unknown 255 Unknown or out of range FireMode
Safety 0
SemiAuto 1
FullAuto 2
TwoRoundsBurst 3 Two-point burst
ThreeRoundsBurst 4 Three-point burst
FourRoundsBurst 5 Four-point burst
FiveRoundsBurst 6 Five-point burst

State

Name Value Description
Unknown 255 When GunState conversion (byte to GunState) failed.
Idle 0 When it's in idle state. If both Gun#HasBulletInChamber and Gun#HasCocked are true, Able to shoot.
InCockingPull 1 When it's cocking handle is in pulling state. Unable to shoot.
InCockingPush 2 When it's cocking handle is in pushing state. Unable to shoot.
InCockingTwisting 3 When it's cocking handle is in twisting state. Unable to shoot.