Table of Contents

Class BreakActionWeapon

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

Constructors

BreakActionWeapon()

public BreakActionWeapon()

Fields

Barrels

public BreakActionWeapon.BreakActionBarrel[] Barrels

Field Value

BreakActionBarrel[]

EjectOffset

public float EjectOffset

Field Value

float

EjectSpeed

public float EjectSpeed

Field Value

float

Ejector

public Transform Ejector

Field Value

Transform

EjectorRange

public Vector2 EjectorRange

Field Value

Vector2

FireAllBarrels

public bool FireAllBarrels

Field Value

bool

HasTriggerReset

public bool HasTriggerReset

Field Value

bool

Hinge

public HingeJoint Hinge

Field Value

HingeJoint

HingeEjectLimit

public float HingeEjectLimit

Field Value

float

HingeLimit

public float HingeLimit

Field Value

float

IsLatchHeldOpen

public bool IsLatchHeldOpen

Field Value

bool

Latch

public Transform Latch

Field Value

Transform

MaxRotExtent

public float MaxRotExtent

Field Value

float

OnlyOneShotSound

public bool OnlyOneShotSound

Field Value

bool

TriggerAxis

public FVRPhysicalObject.Axis TriggerAxis

Field Value

FVRPhysicalObject.Axis

TriggerInterpStyle

public FVRPhysicalObject.InterpStyle TriggerInterpStyle

Field Value

FVRPhysicalObject.InterpStyle

TriggerPulled

public float TriggerPulled

Field Value

float

TriggerUnpulled

public float TriggerUnpulled

Field Value

float

Triggers

public Transform[] Triggers

Field Value

Transform[]

UsesManuallyCockedHammers

public bool UsesManuallyCockedHammers

Field Value

bool

m_hasLatch

public bool m_hasLatch

Field Value

bool

Properties

IsLatched

public bool IsLatched { get; }

Property Value

bool

Methods

Awake()

protected override void Awake()

CockAllHammers()

public void CockAllHammers()

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(int, bool, int)

public bool Fire(int b, bool FireAllBarrels, int index)

Parameters

b int
FireAllBarrels bool
index int

Returns

bool

GetChamberRoundList()

public override List<FireArmRoundClass> GetChamberRoundList()

Returns

List<FireArmRoundClass>

GetFlagDic()

public override Dictionary<string, string> GetFlagDic()

Returns

Dictionary<string, string>

GetMuzzle()

public override Transform GetMuzzle()

Returns

Transform

PopOutEmpties()

public void PopOutEmpties()

PopOutRound(FVRFireArmChamber)

public void PopOutRound(FVRFireArmChamber chamber)

Parameters

chamber FVRFireArmChamber

SetEjectOnOpen(bool)

public void SetEjectOnOpen(bool b)

Parameters

b bool

SetHasLatchButton(bool)

public void SetHasLatchButton(bool b)

Parameters

b bool

SetIsExternallyUnlatched(bool)

public void SetIsExternallyUnlatched(bool b)

Parameters

b bool

SetLoadedChambers(List<FireArmRoundClass>)

public override void SetLoadedChambers(List<FireArmRoundClass> rounds)

Parameters

rounds List<FireArmRoundClass>

Unlatch()

public void Unlatch()

UpdateInteraction(FVRViveHand)

public override void UpdateInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand