Class LAPD2019
- Namespace
- FistVR
- Assembly
- Assembly-CSharp.dll
public class LAPD2019 : FVRFireArm
- Inheritance
-
LAPD2019
- Inherited Members
-
Constructors
LAPD2019()
Fields
BatteryPrefab
public FVRObject BatteryPrefab
Field Value
- FVRObject
BatteryWellTrigger
public LAPD2019BatteryTriggerWell BatteryWellTrigger
Field Value
- LAPD2019BatteryTriggerWell
BoltForward
public Transform BoltForward
Field Value
- Transform
BoltHandle
public LAPD2019BoltHandle BoltHandle
Field Value
- LAPD2019BoltHandle
BoltRearward
public Transform BoltRearward
Field Value
- Transform
CanSpin
Field Value
- bool
CapacitorCharge
public AudioEvent CapacitorCharge
Field Value
- AudioEvent
Chambers
public FVRFireArmChamber[] Chambers
Field Value
- FVRFireArmChamber[]
Chirp_DeadBattery
public AudioEvent Chirp_DeadBattery
Field Value
- AudioEvent
Chirp_FreshBattery
public AudioEvent Chirp_FreshBattery
Field Value
- AudioEvent
Chirp_FullyCharged
public AudioEvent Chirp_FullyCharged
Field Value
- AudioEvent
Chirp_LowBattery
public AudioEvent Chirp_LowBattery
Field Value
- AudioEvent
Color_Emissive_Green
public Color Color_Emissive_Green
Field Value
- Color
Color_Emissive_Red
public Color Color_Emissive_Red
Field Value
- Color
Cylinder
public LAPD2019Cylinder Cylinder
Field Value
- LAPD2019Cylinder
CylinderArm
public Transform CylinderArm
Field Value
- Transform
public Transform CylinderReleaseButton
Field Value
- Transform
public Transform CylinderReleaseButtonForwardPos
Field Value
- Transform
public Transform CylinderReleaseButtonRearPos
Field Value
- Transform
CylinderRotRange
public Vector2 CylinderRotRange
Field Value
- Vector2
FauxBattery
public GameObject FauxBattery
Field Value
- GameObject
GlowingParts
public Renderer[] GlowingParts
Field Value
- Renderer[]
GravityRotsCylinderPositive
public bool GravityRotsCylinderPositive
Field Value
- bool
Hammer
Field Value
- Transform
LED_FauxBattery_Side
public Renderer LED_FauxBattery_Side
Field Value
- Renderer
LED_FauxBattery_Under
public Renderer LED_FauxBattery_Under
Field Value
- Renderer
LED_Rear
Field Value
- Renderer
LaserSystem
public LAPD2019Laser LaserSystem
Field Value
- LAPD2019Laser
PSystem_SparksShot1
public ParticleSystem PSystem_SparksShot1
Field Value
- ParticleSystem
PSystem_SparksShot2
public ParticleSystem PSystem_SparksShot2
Field Value
- ParticleSystem
PSystem_ThermalSteam
public ParticleSystem PSystem_ThermalSteam
Field Value
- ParticleSystem
PSystem_ThermalSteam2
public ParticleSystem PSystem_ThermalSteam2
Field Value
- ParticleSystem
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
ProxMalfunctionPrefab
public GameObject[] ProxMalfunctionPrefab
Field Value
- GameObject[]
ProxyClipRenderer
public Renderer ProxyClipRenderer
Field Value
- Renderer
ThermalClipEjectPos
public Transform ThermalClipEjectPos
Field Value
- Transform
ThermalClipLoadTrigger
public GameObject ThermalClipLoadTrigger
Field Value
- GameObject
ThermalClipPrefab
public FVRObject ThermalClipPrefab
Field Value
- FVRObject
ThermalClipProxy
public GameObject ThermalClipProxy
Field Value
- GameObject
ThermalClip_Eject
public AudioEvent ThermalClip_Eject
Field Value
- AudioEvent
ThermalClip_In
public AudioEvent ThermalClip_In
Field Value
- AudioEvent
Trigger1
public Transform Trigger1
Field Value
- Transform
Trigger2
public Transform Trigger2
Field Value
- Transform
TriggerFireThreshold
public float TriggerFireThreshold
Field Value
- float
TriggerResetThreshold
public float TriggerResetThreshold
Field Value
- float
UsesAltPoseSwitch
public bool UsesAltPoseSwitch
Field Value
- bool
Properties
CurChamber
public int CurChamber { get; set; }
Property Value
- int
HasBattery
public bool HasBattery { get; }
Property Value
- bool
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
public override void ConfigureFromFlagDic(Dictionary<string, string> f)
Parameters
f
Dictionary<string, string>
EjectChambers()
public void EjectChambers()
EjectThermalClip()
public void EjectThermalClip()
EndInteraction(FVRViveHand)
public override void EndInteraction(FVRViveHand hand)
Parameters
hand
FVRViveHand
ExtractBattery(FVRViveHand)
public float ExtractBattery(FVRViveHand hand)
Parameters
hand
FVRViveHand
Returns
- float
FVRFixedUpdate()
protected override void FVRFixedUpdate()
FVRUpdate()
protected override void FVRUpdate()
GetChamberRoundList()
public override List<FireArmRoundClass> GetChamberRoundList()
Returns
- List<FireArmRoundClass>
GetFlagDic()
public override Dictionary<string, string> GetFlagDic()
Returns
- Dictionary<string, string>
LoadBattery(LAPD2019Battery)
public bool LoadBattery(LAPD2019Battery battery)
Parameters
battery
LAPD2019Battery
Returns
- bool
LoadThermalClip(float)
public bool LoadThermalClip(float heat)
Parameters
heat
float
Returns
- bool
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