Class AttachableClosedBoltWeapon
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class AttachableClosedBoltWeapon : AttachableFirearm
- Inheritance
-
AttachableClosedBoltWeapon
- Inherited Members
-
Constructors
AttachableClosedBoltWeapon()
public AttachableClosedBoltWeapon()
Fields
Bolt
public AttachableClosedBolt Bolt
Field Value
- AttachableClosedBolt
BoltDropsWhenMagazineInserted
public bool BoltDropsWhenMagazineInserted
Field Value
- bool
BoltLocksWhenNoMagazineFound
public bool BoltLocksWhenNoMagazineFound
Field Value
- bool
Chamber
public FVRFireArmChamber Chamber
Field Value
- FVRFireArmChamber
DelinkerSystem
public ParticleSystem DelinkerSystem
Field Value
- ParticleSystem
DoesClipEntryRequireBoltBack
public bool DoesClipEntryRequireBoltBack
Field Value
- bool
EjectionSpeed
public Vector3 EjectionSpeed
Field Value
- Vector3
EjectionSpin
public Vector3 EjectionSpin
Field Value
- Vector3
EjectsMagazineOnEmpty
public bool EjectsMagazineOnEmpty
Field Value
- bool
FireSelectorSwitch
public Transform FireSelectorSwitch
Field Value
- Transform
FireSelectorSwitch2
public Transform FireSelectorSwitch2
Field Value
- Transform
FireSelector_Axis
public FVRPhysicalObject.Axis FireSelector_Axis
Field Value
- FVRPhysicalObject.Axis
FireSelector_Axis2
public FVRPhysicalObject.Axis FireSelector_Axis2
Field Value
- FVRPhysicalObject.Axis
FireSelector_InterpStyle
public FVRPhysicalObject.InterpStyle FireSelector_InterpStyle
Field Value
- FVRPhysicalObject.InterpStyle
FireSelector_InterpStyle2
public FVRPhysicalObject.InterpStyle FireSelector_InterpStyle2
Field Value
- FVRPhysicalObject.InterpStyle
FireSelector_Modes
public AttachableClosedBoltWeapon.FireSelectorMode[] FireSelector_Modes
Field Value
- FireSelectorMode[]
FireSelector_Modes2
public AttachableClosedBoltWeapon.FireSelectorMode[] FireSelector_Modes2
Field Value
- FireSelectorMode[]
Handle
public ClosedBoltHandle Handle
Field Value
- ClosedBoltHandle
public bool HasBoltCatchButton
Field Value
- bool
public bool HasBoltReleaseButton
Field Value
- bool
public bool HasFireSelectorButton
Field Value
- bool
HasHandle
Field Value
- bool
public bool HasMagReleaseButton
Field Value
- bool
HasTrigger
Field Value
- bool
public bool IsBoltCatchButtonHeld
Field Value
- bool
public bool IsBoltReleaseButtonHeld
Field Value
- bool
public bool IsMagReleaseButtonHeld
Field Value
- bool
ReciprocatesOnShot
public bool ReciprocatesOnShot
Field Value
- bool
RoundPos_Ejecting
public Transform RoundPos_Ejecting
Field Value
- Transform
RoundPos_Ejection
public Transform RoundPos_Ejection
Field Value
- Transform
RoundPos_MagazinePos
public Transform RoundPos_MagazinePos
Field Value
- Transform
Trigger
Field Value
- Transform
TriggerAxis
public FVRPhysicalObject.Axis TriggerAxis
Field Value
- FVRPhysicalObject.Axis
TriggerDualStageThreshold
public float TriggerDualStageThreshold
Field Value
- float
TriggerFiringThreshold
public float TriggerFiringThreshold
Field Value
- float
TriggerInterpStyle
public FVRPhysicalObject.InterpStyle TriggerInterpStyle
Field Value
- FVRPhysicalObject.InterpStyle
TriggerResetThreshold
public float TriggerResetThreshold
Field Value
- float
Trigger_ForwardValue
public float Trigger_ForwardValue
Field Value
- float
Trigger_RearwardValue
public float Trigger_RearwardValue
Field Value
- float
UsesDelinker
Field Value
- bool
UsesDualStageFullAuto
public bool UsesDualStageFullAuto
Field Value
- bool
Properties
FireSelectorModeIndex
public int FireSelectorModeIndex { get; }
Property Value
- int
IsHammerCocked
public bool IsHammerCocked { get; }
Property Value
- bool
Methods
Awake()
public override void Awake()
BeginChamberingRound()
public void BeginChamberingRound()
ChamberRound()
public bool ChamberRound()
Returns
- bool
CockHammer()
DropHammer(bool)
public void DropHammer(bool firedFromInterface)
Parameters
firedFromInterface
bool
public void EjectExtractedRound()
Fire(bool)
public void Fire(bool firedFromInterface)
Parameters
firedFromInterface
bool
public bool HasExtractedRound()
Returns
- bool
IsWeaponOnSafe()
public bool IsWeaponOnSafe()
Returns
- bool
LoadMag(FVRFireArmMagazine)
public override void LoadMag(FVRFireArmMagazine mag)
Parameters
mag
FVRFireArmMagazine
public override void ProcessInput(FVRViveHand hand, bool fromInterface, FVRInteractiveObject o)
Parameters
hand
FVRViveHand
fromInterface
bool
o
FVRInteractiveObject
ReleaseMag()
ResetCamBurst()
public void ResetCamBurst()
SecondaryFireSelectorClicked()
public void SecondaryFireSelectorClicked()
ToggleFireSelector()
protected virtual void ToggleFireSelector()
Update()
public override void Update()