Class RailTater
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class RailTater : FVRFireArm
- Inheritance
-
RailTater
- Inherited Members
-
Constructors
RailTater()
Fields
BoltHandle
public RailTater_Handle BoltHandle
Field Value
- RailTater_Handle
BoltLerp
Field Value
- float
BoltMovingForward
public bool BoltMovingForward
Field Value
- bool
Chamber
public FVRFireArmChamber Chamber
Field Value
- FVRFireArmChamber
CockType
public RailTater.HammerCockType CockType
Field Value
- RailTater.HammerCockType
CurBoltHandleState
public RailTater_Handle.RailTaterHandleState CurBoltHandleState
Field Value
- RailTater_Handle.RailTaterHandleState
EjectionPos
public Transform EjectionPos
Field Value
- Transform
EjectsMagazineOnEmpty
public bool EjectsMagazineOnEmpty
Field Value
- bool
public FVRTailSoundClass ExtraTail
Field Value
- FVRTailSoundClass
public Transform Extraction_ChamberPos
Field Value
- Transform
public Transform Extraction_Ejecting
Field Value
- Transform
public Transform Extraction_MagazinePos
Field Value
- Transform
FireSelector_Axis
public FVRPhysicalObject.Axis FireSelector_Axis
Field Value
- FVRPhysicalObject.Axis
FireSelector_Axis_Secondary
public FVRPhysicalObject.Axis FireSelector_Axis_Secondary
Field Value
- FVRPhysicalObject.Axis
FireSelector_Display
public Transform FireSelector_Display
Field Value
- Transform
FireSelector_Display_Secondary
public Transform FireSelector_Display_Secondary
Field Value
- Transform
FireSelector_InterpStyle
public FVRPhysicalObject.InterpStyle FireSelector_InterpStyle
Field Value
- FVRPhysicalObject.InterpStyle
FireSelector_InterpStyle_Secondary
public FVRPhysicalObject.InterpStyle FireSelector_InterpStyle_Secondary
Field Value
- FVRPhysicalObject.InterpStyle
FireSelector_Modes
public RailTater.FireSelectorMode[] FireSelector_Modes
Field Value
- FireSelectorMode[]
FireSelector_Modes_Secondary
public RailTater.FireSelectorMode[] FireSelector_Modes_Secondary
Field Value
- FireSelectorMode[]
Hammer
Field Value
- Transform
HammerCocked
public float HammerCocked
Field Value
- float
HammerUncocked
public float HammerUncocked
Field Value
- float
public bool HasFireSelectorButton
Field Value
- bool
public bool HasMagEjectionButton
Field Value
- bool
HasReciprocatingBarrel
public bool HasReciprocatingBarrel
Field Value
- bool
HasVisualHammer
public bool HasVisualHammer
Field Value
- bool
LastBoltHandleState
public RailTater_Handle.RailTaterHandleState LastBoltHandleState
Field Value
- RailTater_Handle.RailTaterHandleState
MagReleaseAxis
public FVRPhysicalObject.Axis MagReleaseAxis
Field Value
- FVRPhysicalObject.Axis
public Transform MagReleaseButton_Display
Field Value
- Transform
MagReleaseInterpStyle
public FVRPhysicalObject.InterpStyle MagReleaseInterpStyle
Field Value
- FVRPhysicalObject.InterpStyle
MagReleasePressedValue
public float MagReleasePressedValue
Field Value
- float
MagReleaseUnpressedValue
public float MagReleaseUnpressedValue
Field Value
- float
Muzzle
Field Value
- Transform
PSystem_SparksShot1
public ParticleSystem PSystem_SparksShot1
Field Value
- ParticleSystem
PSystem_SparksShot2
public ParticleSystem PSystem_SparksShot2
Field Value
- ParticleSystem
PSystem_ThermalSteam1
public ParticleSystem PSystem_ThermalSteam1
Field Value
- ParticleSystem
PSystem_ThermalSteam2
public ParticleSystem PSystem_ThermalSteam2
Field Value
- ParticleSystem
public bool PlaysExtraTailOnShot
Field Value
- bool
RecoilSystem
public G11RecoilingSystem RecoilSystem
Field Value
- G11RecoilingSystem
ReloadTriggerWell
public GameObject ReloadTriggerWell
Field Value
- GameObject
Rend
Field Value
- MeshRenderer
RequiresHammerUncockedToToggleFireSelector
public bool RequiresHammerUncockedToToggleFireSelector
Field Value
- bool
RightwardEjectionForce
public float RightwardEjectionForce
Field Value
- float
StatMat_Check
public Material StatMat_Check
Field Value
- Material
StatMat_NoPotat
public Material StatMat_NoPotat
Field Value
- Material
TriggerFiringThreshold
public float TriggerFiringThreshold
Field Value
- float
TriggerInterpStyle
public FVRPhysicalObject.InterpStyle TriggerInterpStyle
Field Value
- FVRPhysicalObject.InterpStyle
TriggerInterpStyle2
public FVRPhysicalObject.InterpStyle TriggerInterpStyle2
Field Value
- FVRPhysicalObject.InterpStyle
TriggerResetThreshold
public float TriggerResetThreshold
Field Value
- float
Trigger_Display
public Transform Trigger_Display
Field Value
- Transform
Trigger_Display2
public Transform Trigger_Display2
Field Value
- Transform
Trigger_ForwardValue
public float Trigger_ForwardValue
Field Value
- float
Trigger_ForwardValue2
public float Trigger_ForwardValue2
Field Value
- float
Trigger_RearwardValue
public float Trigger_RearwardValue
Field Value
- float
Trigger_RearwardValue2
public float Trigger_RearwardValue2
Field Value
- float
UpwardEjectionForce
public float UpwardEjectionForce
Field Value
- float
UsesSecondFireSelectorChange
public bool UsesSecondFireSelectorChange
Field Value
- bool
YSpinEjectionTorque
public float YSpinEjectionTorque
Field Value
- float
Properties
IsHammerCocked
public bool IsHammerCocked { get; }
Property Value
- bool
Methods
Awake()
protected override void Awake()
BeginInteraction(FVRViveHand)
public override void BeginInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
CanBoltMove()
public bool CanBoltMove()
Returns
- bool
CockHammer()
public override void ConfigureFromFlagDic(Dictionary<string, string> f)
Parameters
f
Dictionary<string, string>
DropHammer()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
FVRFixedUpdate()
protected override void FVRFixedUpdate()
FVRUpdate()
protected override void FVRUpdate()
Fire()
Returns
- bool
FiringSystem()
protected virtual void FiringSystem()
GetChamberRoundList()
public override List<FireArmRoundClass> GetChamberRoundList()
Returns
- List<FireArmRoundClass>
GetFiringMode()
public RailTater.FireSelectorMode GetFiringMode()
Returns
- RailTater.FireSelectorMode
GetFlagDic()
public override Dictionary<string, string> GetFlagDic()
Returns
- Dictionary<string, string>
GetSignedAngle(Vector2, Vector2)
public float GetSignedAngle(Vector2 from, Vector2 to)
Parameters
from
Vector2
to
Vector2
Returns
- float
GetTutorialState()
public override int GetTutorialState()
Returns
- int
public bool HasExtractedRound()
Returns
- bool
ReleaseMag()
SetHasTriggeredUp()
public void SetHasTriggeredUp()
SetLoadedChambers(List<FireArmRoundClass>)
public override void SetLoadedChambers(List<FireArmRoundClass> rounds)
Parameters
rounds
List<FireArmRoundClass>
ToggleFireSelector()
protected virtual void ToggleFireSelector()
UpdateBolt(RailTaterHandleState, float, bool)
public FVRFireArmRound UpdateBolt(RailTater_Handle.RailTaterHandleState State, float lerp, bool isCatchHeld)
Parameters
State
RailTater_Handle.RailTaterHandleState
lerp
float
isCatchHeld
bool
Returns
- FVRFireArmRound
UpdateInteraction(FVRViveHand)
public override void UpdateInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand