Inventory Engine v4.2
Loading...
Searching...
No Matches
MoreMountains.Tools.MMLoot< T > Class Template Reference

A class defining the contents of a MMLootTable. More...

Inherited by MoreMountains.Tools.MMLootFloat, MoreMountains.Tools.MMLootGameObject, and MoreMountains.Tools.MMLootString.

Public Attributes

Loot
 the object to return
float Weight = 1f
 the weight attributed to this specific object in the table
float ChancePercentage
 the chance percentage to display for this object to be looted. ChancePercentages are meant to be computed by the MMLootTable class

Properties

virtual float RangeFrom [get, set]
 the computed low bound of this object's range
virtual float RangeTo [get, set]
 the computed high bound of this object's range

Detailed Description

A class defining the contents of a MMLootTable.

Template Parameters
T

Member Data Documentation

◆ ChancePercentage

float MoreMountains.Tools.MMLoot< T >.ChancePercentage

the chance percentage to display for this object to be looted. ChancePercentages are meant to be computed by the MMLootTable class

◆ Loot

T MoreMountains.Tools.MMLoot< T >.Loot

the object to return

◆ Weight

float MoreMountains.Tools.MMLoot< T >.Weight = 1f

the weight attributed to this specific object in the table

Property Documentation

◆ RangeFrom

virtual float MoreMountains.Tools.MMLoot< T >.RangeFrom
getset

the computed low bound of this object's range

◆ RangeTo

virtual float MoreMountains.Tools.MMLoot< T >.RangeTo
getset

the computed high bound of this object's range


The documentation for this class was generated from the following file: