Table of Contents

Class BAP

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class BAP : FVRFireArm
Inheritance
BAP
Inherited Members

Constructors

BAP()

public BAP()

Fields

AudClip_InsertBaffle

public AudioEvent AudClip_InsertBaffle

Field Value

AudioEvent

AudClip_InsertCap

public AudioEvent AudClip_InsertCap

Field Value

AudioEvent

AudClip_RemoveBaffle

public AudioEvent AudClip_RemoveBaffle

Field Value

AudioEvent

AudClip_RemoveCap

public AudioEvent AudClip_RemoveCap

Field Value

AudioEvent

BaffleRoot

public GameObject BaffleRoot

Field Value

GameObject

BaffleState

public int BaffleState

Field Value

int

BaffleStates

public List<GameObject> BaffleStates

Field Value

List<GameObject>

Cap

public GameObject Cap

Field Value

GameObject

Chamber

public FVRFireArmChamber Chamber

Field Value

FVRFireArmChamber

EjectionPos

public Transform EjectionPos

Field Value

Transform

Extraction_ChamberPos

public Transform Extraction_ChamberPos

Field Value

Transform

Extraction_Ejecting

public Transform Extraction_Ejecting

Field Value

Transform

Extraction_MagazinePos

public Transform Extraction_MagazinePos

Field Value

Transform

FireSelector_Axis

public FVRPhysicalObject.Axis FireSelector_Axis

Field Value

FVRPhysicalObject.Axis

FireSelector_Display

public Transform FireSelector_Display

Field Value

Transform

FireSelector_InterpStyle

public FVRPhysicalObject.InterpStyle FireSelector_InterpStyle

Field Value

FVRPhysicalObject.InterpStyle

FireSelector_Modes

public BAP.FireSelectorMode[] FireSelector_Modes

Field Value

FireSelectorMode[]

Handle

public BAPHandle Handle

Field Value

BAPHandle

HasBaffle

public bool HasBaffle

Field Value

bool

HasCap

public bool HasCap

Field Value

bool

HasFireSelectorButton

public bool HasFireSelectorButton

Field Value

bool

HasMagEjectionButton

public bool HasMagEjectionButton

Field Value

bool

MagReleaseAxis

public FVRPhysicalObject.Axis MagReleaseAxis

Field Value

FVRPhysicalObject.Axis

MagReleaseButton_Display

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

public Transform Muzzle

Field Value

Transform

PPoint_Baffle

public Transform PPoint_Baffle

Field Value

Transform

PPoint_Cap

public Transform PPoint_Cap

Field Value

Transform

Prefab_Baffle

public GameObject Prefab_Baffle

Field Value

GameObject

Prefab_Cap

public GameObject Prefab_Cap

Field Value

GameObject

ReloadTriggerWell

public GameObject ReloadTriggerWell

Field Value

GameObject

RequiresHammerUncockedToToggleFireSelector

public bool RequiresHammerUncockedToToggleFireSelector

Field Value

bool

RightwardEjectionForce

public float RightwardEjectionForce

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_Display

public Transform Trigger_Display

Field Value

Transform

Trigger_ForwardValue

public float Trigger_ForwardValue

Field Value

float

Trigger_RearwardValue

public float Trigger_RearwardValue

Field Value

float

UpwardEjectionForce

public float UpwardEjectionForce

Field Value

float

YSpinEjectionTorque

public float YSpinEjectionTorque

Field Value

float

Methods

Awake()

protected override void Awake()

CanDetectPiece()

public bool CanDetectPiece()

Returns

bool

CockHammer()

public void CockHammer()

ConfigureFromFlagDic(Dictionary<string, string>)

public override void ConfigureFromFlagDic(Dictionary<string, string> f)

Parameters

f Dictionary<string, string>

DropHammer()

public void DropHammer()

EndInteraction(FVRViveHand)

public override void EndInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand

FVRFixedUpdate()

protected override void FVRFixedUpdate()

Fire()

public bool Fire()

Returns

bool

FiringSystem()

protected virtual void FiringSystem()

GetChamberRoundList()

public override List<FireArmRoundClass> GetChamberRoundList()

Returns

List<FireArmRoundClass>

GetFlagDic()

public override Dictionary<string, string> GetFlagDic()

Returns

Dictionary<string, string>

HasExtractedRound()

public bool HasExtractedRound()

Returns

bool

PlayWellrodGunShot(FVRFireArmRound, FVRSoundEnvironment, float)

public void PlayWellrodGunShot(FVRFireArmRound round, FVRSoundEnvironment TailEnvironment, float globalLoudnessMultiplier = 1)

Parameters

round FVRFireArmRound
TailEnvironment FVRSoundEnvironment
globalLoudnessMultiplier float

ReleaseMag()

public void ReleaseMag()

RemoveThing()

public void RemoveThing()

SetBaffleState(bool, int)

public void SetBaffleState(bool hasB, int s)

Parameters

hasB bool
s int

SetCapState(bool)

public void SetCapState(bool hasC)

Parameters

hasC bool

SetLoadedChambers(List<FireArmRoundClass>)

public override void SetLoadedChambers(List<FireArmRoundClass> rounds)

Parameters

rounds List<FireArmRoundClass>

UpdateBolt(float)

public void UpdateBolt(float BoltLerp)

Parameters

BoltLerp float

UpdateInteraction(FVRViveHand)

public override void UpdateInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand