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
Loot
public List<FVRObject> Loot
Field Value
MaxCapacity
public int MaxCapacity
Field Value
MinCapacity
public int MinCapacity
Field Value
Methods
GetRandomAmmoObject(FVRObject, List<OTagEra>)
public FVRObject GetRandomAmmoObject(FVRObject o, List<FVRObject.OTagEra> eras = null)
Parameters
Returns
GetRandomBespokeAttachment(FVRObject)
public FVRObject GetRandomBespokeAttachment(FVRObject o)
Parameters
Returns
GetRandomObject()
public FVRObject GetRandomObject()
Returns
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.LootTableTypeeras
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
intmaxCapacity
int