Table of Contents

Class LootTable

Namespace
FistVR
Assembly
Assembly-CSharp.dll
public class LootTable
Inheritance
LootTable
Inherited Members

Constructors

LootTable()

public LootTable()

Fields

Eras

public List<FVRObject.OTagEra> Eras

Field Value

List<FVRObject.OTagEra>

Loot

public List<FVRObject> Loot

Field Value

List<FVRObject>

MaxCapacity

public int MaxCapacity

Field Value

int

MinCapacity

public int MinCapacity

Field Value

int

Methods

GetRandomAmmoObject(FVRObject, List<OTagEra>)

public FVRObject GetRandomAmmoObject(FVRObject o, List<FVRObject.OTagEra> eras = null)

Parameters

o FVRObject
eras List<FVRObject.OTagEra>

Returns

FVRObject

GetRandomBespokeAttachment(FVRObject)

public FVRObject GetRandomBespokeAttachment(FVRObject o)

Parameters

o FVRObject

Returns

FVRObject

GetRandomObject()

public FVRObject GetRandomObject()

Returns

FVRObject

Initialize(LootTableType, List<OTagEra>, List<OTagFirearmSize>, List<OTagFirearmAction>, List<OTagFirearmFiringMode>, List<OTagFirearmFiringMode>, List<OTagFirearmFeedOption>, List<OTagFirearmMount>, List<OTagFirearmRoundPower>, List<OTagAttachmentFeature>, List<OTagMeleeStyle>, List<OTagMeleeHandedness>, List<OTagPowerupType>, List<OTagThrownType>, int, int)

public void Initialize(LootTable.LootTableType type, List<FVRObject.OTagEra> eras = null, List<FVRObject.OTagFirearmSize> sizes = null, List<FVRObject.OTagFirearmAction> actions = null, List<FVRObject.OTagFirearmFiringMode> modes = null, List<FVRObject.OTagFirearmFiringMode> excludeModes = null, List<FVRObject.OTagFirearmFeedOption> feedoptions = null, List<FVRObject.OTagFirearmMount> mounts = null, List<FVRObject.OTagFirearmRoundPower> roundPowers = null, List<FVRObject.OTagAttachmentFeature> features = null, List<FVRObject.OTagMeleeStyle> meleeStyles = null, List<FVRObject.OTagMeleeHandedness> meleeHandedness = null, List<FVRObject.OTagPowerupType> powerupTypes = null, List<FVRObject.OTagThrownType> thrownTypes = null, int minCapacity = -1, int maxCapacity = -1)

Parameters

type LootTable.LootTableType
eras List<FVRObject.OTagEra>
sizes List<FVRObject.OTagFirearmSize>
actions List<FVRObject.OTagFirearmAction>
modes List<FVRObject.OTagFirearmFiringMode>
excludeModes List<FVRObject.OTagFirearmFiringMode>
feedoptions List<FVRObject.OTagFirearmFeedOption>
mounts List<FVRObject.OTagFirearmMount>
roundPowers List<FVRObject.OTagFirearmRoundPower>
features List<FVRObject.OTagAttachmentFeature>
meleeStyles List<FVRObject.OTagMeleeStyle>
meleeHandedness List<FVRObject.OTagMeleeHandedness>
powerupTypes List<FVRObject.OTagPowerupType>
thrownTypes List<FVRObject.OTagThrownType>
minCapacity int
maxCapacity int