A class defining the contents of a MMLootTable.
More...
Inherited by MoreMountains.Tools.MMLootFloat, MoreMountains.Tools.MMLootGameObject, and MoreMountains.Tools.MMLootString.
|
T | 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
|
|
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
|
A class defining the contents of a MMLootTable.
- Template Parameters
-
◆ 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 |
◆ Weight
float MoreMountains.Tools.MMLoot< T >.Weight = 1f |
the weight attributed to this specific object in the table
◆ 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:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/MMTools/Foundation/MMLoot/MMLoot.cs