Table of Contents

Class FVRFireArmClip

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class FVRFireArmClip : FVRPhysicalObject
Inheritance
FVRFireArmClip
Inherited Members

Constructors

FVRFireArmClip()

public FVRFireArmClip()

Fields

AffixClip

public AudioEvent AffixClip

Field Value

AudioEvent

CanManuallyEjectRounds

public bool CanManuallyEjectRounds

Field Value

bool

ClipType

public FireArmClipType ClipType

Field Value

FireArmClipType

DefaultLoadingPattern

public FVRFireArmClip.FVRClipLoadingPattern DefaultLoadingPattern

Field Value

FVRFireArmClip.FVRClipLoadingPattern

DisplayBullets

public GameObject[] DisplayBullets

Field Value

GameObject[]

DisplayMeshFilters

public MeshFilter[] DisplayMeshFilters

Field Value

MeshFilter[]

DisplayRenderers

public Renderer[] DisplayRenderers

Field Value

Renderer[]

EjectFromClip

public AudioEvent EjectFromClip

Field Value

AudioEvent

EjectionSpeed

public float EjectionSpeed

Field Value

float

FireArm

public FVRFireArm FireArm

Field Value

FVRFireArm

Guide

public Transform Guide

Field Value

Transform

GuidePositions

public Vector3[] GuidePositions

Field Value

Vector3[]

InsertOntoClip

public AudioEvent InsertOntoClip

Field Value

AudioEvent

Interface

public FVRFireArmClipInterface Interface

Field Value

FVRFireArmClipInterface

IsDropInLoadable

public bool IsDropInLoadable

Field Value

bool

IsExtractable

public bool IsExtractable

Field Value

bool

IsInfinite

public bool IsInfinite

Field Value

bool

LoadFromClipToMag

public AudioEvent LoadFromClipToMag

Field Value

AudioEvent

LoadedRounds

public FVRFireArmClip.FVRLoadedRound[] LoadedRounds

Field Value

FVRLoadedRound[]

RemoveClip

public AudioEvent RemoveClip

Field Value

AudioEvent

RoundEjectionPos

public Transform RoundEjectionPos

Field Value

Transform

RoundType

public FireArmRoundType RoundType

Field Value

FireArmRoundType

State

public FVRFireArmClip.ClipState State

Field Value

FVRFireArmClip.ClipState

UsesGuide

public bool UsesGuide

Field Value

bool

m_capacity

public int m_capacity

Field Value

int

m_numRounds

public int m_numRounds

Field Value

int

Properties

TimeSinceRoundInserted

public float TimeSinceRoundInserted { get; }

Property Value

float

Methods

AddRound(FVRFireArmRound, bool, bool)

public void AddRound(FVRFireArmRound round, bool makeSound, bool updateDisplay)

Parameters

round FVRFireArmRound
makeSound bool
updateDisplay bool

AddRound(FireArmRoundClass, bool, bool)

public void AddRound(FireArmRoundClass rClass, bool makeSound, bool updateDisplay)

Parameters

rClass FireArmRoundClass
makeSound bool
updateDisplay bool

Awake()

protected override void Awake()

DuplicateFromSpawnLock(FVRViveHand)

public override GameObject DuplicateFromSpawnLock(FVRViveHand hand)

Parameters

hand FVRViveHand

Returns

GameObject

FVRFixedUpdate()

protected override void FVRFixedUpdate()

HasARound()

public bool HasARound()

Returns

bool

IsFull()

public bool IsFull()

Returns

bool

IsInteractable()

public override bool IsInteractable()

Returns

bool

Load(FVRFireArm)

public void Load(FVRFireArm fireArm)

Parameters

fireArm FVRFireArm

LoadOneRoundFromClipToMag()

public void LoadOneRoundFromClipToMag()

Release()

public void Release()

ReloadClipWithList(List<FireArmRoundClass>)

public void ReloadClipWithList(List<FireArmRoundClass> list)

Parameters

list List<FireArmRoundClass>

ReloadClipWithType(FireArmRoundClass)

public void ReloadClipWithType(FireArmRoundClass rClass)

Parameters

rClass FireArmRoundClass

RemoveRound()

public void RemoveRound()

RemoveRound(bool)

public GameObject RemoveRound(bool b)

Parameters

b bool

Returns

GameObject

RemoveRoundReturnClass()

public FireArmRoundClass RemoveRoundReturnClass()

Returns

FireArmRoundClass

UpdateBulletDisplay()

public void UpdateBulletDisplay()

UpdateInteraction(FVRViveHand)

public override void UpdateInteraction(FVRViveHand hand)

Parameters

hand FVRViveHand