Class Revolver
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class Revolver : FVRFireArm
- Inheritance
-
Revolver
- Inherited Members
-
Constructors
Revolver()
Fields
AllowsSuppressor
public bool AllowsSuppressor
Field Value
- bool
AngInvert
Field Value
- bool
CanFan
Field Value
- bool
CanManuallyCockHammer
public bool CanManuallyCockHammer
Field Value
- bool
CanSpin
Field Value
- bool
ChamberOffset
Field Value
- int
Chambers
public FVRFireArmChamber[] Chambers
Field Value
- FVRFireArmChamber[]
Cylinder
public RevolverCylinder Cylinder
Field Value
- RevolverCylinder
CylinderArm
public Transform CylinderArm
Field Value
- Transform
public Transform CylinderReleaseButton
Field Value
- Transform
public Vector3 CylinderReleaseButtonForwardPos
Field Value
- Vector3
public Vector3 CylinderReleaseButtonRearPos
Field Value
- Vector3
CylinderRotRange
public Vector2 CylinderRotRange
Field Value
- Vector2
DoesFiringRecock
public bool DoesFiringRecock
Field Value
- bool
DoesTriggerBlockHammer
public bool DoesTriggerBlockHammer
Field Value
- bool
GravityRotsCylinderPositive
public bool GravityRotsCylinderPositive
Field Value
- bool
Hammer
Field Value
- Transform
HammerFanDir
public Transform HammerFanDir
Field Value
- Transform
HoldingLatch
public Transform HoldingLatch
Field Value
- Transform
HoldingLatchAxis
public FVRPhysicalObject.Axis HoldingLatchAxis
Field Value
- FVRPhysicalObject.Axis
HoldingLatchInterp
public FVRPhysicalObject.InterpStyle HoldingLatchInterp
Field Value
- FVRPhysicalObject.InterpStyle
HoldingLatchRange
public Vector2 HoldingLatchRange
Field Value
- Vector2
IsCylinderArmY
public bool IsCylinderArmY
Field Value
- bool
IsCylinderArmZ
public bool IsCylinderArmZ
Field Value
- bool
IsCylinderRotClockwise
public bool IsCylinderRotClockwise
Field Value
- bool
IsDoubleActionTrigger
public bool IsDoubleActionTrigger
Field Value
- bool
Muzzle
Field Value
- Transform
PoseSpinHolder
public Transform PoseSpinHolder
Field Value
- Transform
Pose_Main
public Transform Pose_Main
Field Value
- Transform
Pose_Reloading
public Transform Pose_Reloading
Field Value
- Transform
RecockingPiece
public Transform RecockingPiece
Field Value
- Transform
RecockingPoint_Forward
public Transform RecockingPoint_Forward
Field Value
- Transform
RecockingPoint_Rearward
public Transform RecockingPoint_Rearward
Field Value
- Transform
RecockingSpeeds
public Vector2 RecockingSpeeds
Field Value
- Vector2
RequiresManualEject
public bool RequiresManualEject
Field Value
- bool
ShotLoudnessMult
public float ShotLoudnessMult
Field Value
- float
TPieces
public List<Revolver.TriggerPiece> TPieces
Field Value
- List<Revolver.TriggerPiece>
Trigger
Field Value
- Transform
TroundClipArmClamp
public Vector2 TroundClipArmClamp
Field Value
- Vector2
TroundEjectPoint
public Transform TroundEjectPoint
Field Value
- Transform
TroundMagTrigger
public GameObject TroundMagTrigger
Field Value
- GameObject
UsesAltPoseSwitch
public bool UsesAltPoseSwitch
Field Value
- bool
UsesCylinderArm
public bool UsesCylinderArm
Field Value
- bool
UsesHoldingLatch
public bool UsesHoldingLatch
Field Value
- bool
UsesSpeedLoadedEjection
public bool UsesSpeedLoadedEjection
Field Value
- bool
UsesTroundSystem
public bool UsesTroundSystem
Field Value
- bool
isChiappa
Field Value
- bool
isChiappaHammer
public bool isChiappaHammer
Field Value
- bool
isCyclinderReleaseARot
public bool isCyclinderReleaseARot
Field Value
- bool
isOTS
Field Value
- bool
m_hammerBackwardRot
public float m_hammerBackwardRot
Field Value
- float
m_triggerBackwardRot
public float m_triggerBackwardRot
Field Value
- float
Properties
CurChamber
public int CurChamber { get; set; }
Property Value
- int
isCylinderArmLocked
public bool isCylinderArmLocked { get; }
Property Value
- bool
Methods
AddCylinderCloseVel(float)
public void AddCylinderCloseVel(float f)
Parameters
f
float
Awake()
protected override void Awake()
BeginInteraction(FVRViveHand)
public override void BeginInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
EjectChambers()
public void EjectChambers()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
FVRFixedUpdate()
protected override void FVRFixedUpdate()
FVRUpdate()
protected override void FVRUpdate()
GetChamberRoundList()
public override List<FireArmRoundClass> GetChamberRoundList()
Returns
- List<FireArmRoundClass>
GetTutorialState()
public override int GetTutorialState()
Returns
- int
SetLoadedChambers(List<FireArmRoundClass>)
public override void SetLoadedChambers(List<FireArmRoundClass> rounds)
Parameters
rounds
List<FireArmRoundClass>
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand