Class ClosedBoltWeapon
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class ClosedBoltWeapon : FVRFireArm
- Inheritance
-
ClosedBoltWeapon
- Inherited Members
-
Constructors
ClosedBoltWeapon()
public ClosedBoltWeapon()
Fields
Bolt
Field Value
- ClosedBolt
BoltCatch
public Transform BoltCatch
Field Value
- Transform
BoltCatchInterp
public FVRPhysicalObject.InterpStyle BoltCatchInterp
Field Value
- FVRPhysicalObject.InterpStyle
BoltCatch_Caught
public Vector3 BoltCatch_Caught
Field Value
- Vector3
BoltCatch_Released
public Vector3 BoltCatch_Released
Field Value
- Vector3
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 ClosedBoltWeapon.FireSelectorMode[] FireSelector_Modes
Field Value
- FireSelectorMode[]
FireSelector_Modes2
public ClosedBoltWeapon.FireSelectorMode[] FireSelector_Modes2
Field Value
- FireSelectorMode[]
ForeHandle
public ClosedBoltForeHandle ForeHandle
Field Value
- ClosedBoltForeHandle
Handle
public ClosedBoltHandle Handle
Field Value
- ClosedBoltHandle
public bool HasBoltCatchButton
Field Value
- bool
public bool HasBoltReleaseButton
Field Value
- bool
HasBoltReleaseVisual
public bool HasBoltReleaseVisual
Field Value
- bool
public bool HasFireSelectorButton
Field Value
- bool
HasForeHandle
public bool HasForeHandle
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
public Transform MagMountTransformOverride
Field Value
- Transform
MagReleaseInterp
public FVRPhysicalObject.InterpStyle MagReleaseInterp
Field Value
- FVRPhysicalObject.InterpStyle
MagReleasePressed
public Vector3 MagReleasePressed
Field Value
- Vector3
MagReleaseUnpressed
public Vector3 MagReleaseUnpressed
Field Value
- Vector3
public Transform MagazineReleaseButton
Field Value
- Transform
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
StickyChargeUpSpeed
public float StickyChargeUpSpeed
Field Value
- float
StickyDetonateSound
public AudioEvent StickyDetonateSound
Field Value
- AudioEvent
StickyForceMult
public float StickyForceMult
Field Value
- float
StickyMaxMultBonus
public float StickyMaxMultBonus
Field Value
- float
StickyRotRange
public Vector2 StickyRotRange
Field Value
- Vector2
StickyScreen
public Renderer StickyScreen
Field Value
- Renderer
StickyTrigger
public Transform StickyTrigger
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
public bool UsesMagMountTransformOverride
Field Value
- bool
UsesStickyDetonation
public bool UsesStickyDetonation
Field Value
- bool
m_chargeSound
public AudioSource m_chargeSound
Field Value
- AudioSource
Properties
FireSelectorModeIndex
public int FireSelectorModeIndex { get; }
Property Value
- int
IsHammerCocked
public bool IsHammerCocked { get; }
Property Value
- bool
Methods
Awake()
protected override void Awake()
BeginChamberingRound()
public void BeginChamberingRound()
ChamberRound()
public bool ChamberRound()
Returns
- bool
CockHammer(bool)
public void CockHammer(bool playPrefireSound = false)
Parameters
playPrefireSound
bool
public override void ConfigureFromFlagDic(Dictionary<string, string> f)
Parameters
f
Dictionary<string, string>
Detonate()
DropHammer()
public void EjectExtractedRound()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
FVRFixedUpdate()
protected override void FVRFixedUpdate()
FVRUpdate()
protected override void FVRUpdate()
Fire()
Returns
- bool
GetChamberRoundList()
public override List<FireArmRoundClass> GetChamberRoundList()
Returns
- List<FireArmRoundClass>
GetFlagDic()
public override Dictionary<string, string> GetFlagDic()
Returns
- Dictionary<string, string>
public override Transform GetMagMountingTransform()
Returns
- Transform
GetTutorialState()
public override int GetTutorialState()
Returns
- int
public bool HasExtractedRound()
Returns
- bool
IsWeaponOnSafe()
public bool IsWeaponOnSafe()
Returns
- bool
LoadMag(FVRFireArmMagazine)
public override void LoadMag(FVRFireArmMagazine mag)
Parameters
mag
FVRFireArmMagazine
RegisterStickyBomb(MF2_StickyBomb)
public void RegisterStickyBomb(MF2_StickyBomb sb)
Parameters
sb
MF2_StickyBomb
ReleaseMag()
ResetCamBurst()
public void ResetCamBurst()
SecondaryFireSelectorClicked()
public void SecondaryFireSelectorClicked()
SetLoadedChambers(List<FireArmRoundClass>)
public override void SetLoadedChambers(List<FireArmRoundClass> rounds)
Parameters
rounds
List<FireArmRoundClass>
ToggleFireSelector()
protected virtual void ToggleFireSelector()
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand