TopDown Engine  v4.1
MoreMountains.Tools.MMLoot< T > Class Template Reference

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

Public Attributes

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

Properties

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

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

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: