Zdexby TheHolyOneZ
42,628 classes
Class

RollRandomObject

: Object
RollRandomObject, Assembly-CSharp 0x0030 (48 B) inherited 0x0010 Assembly-CSharp.dll
0x00x0030

Members 8

OffsetSizeNameTypeFlagsDefault
0x04typeToRollRollTableTypePublic—
0x01rollWithFloorboolPublic—
0x01WeightsEffectedByDifficultyboolPublic—
0x01WeightsEffectedByPlayerCountboolPublic—
0x01allEqualWeightsboolPublic—
0x08singleObjectTableList<WeightedItem>Public—
0x08objectListsList<WeightedRarityList>Public—
0x01weightsChangedboolPrivate—
0x00290x07unreflected bytes to end of RollRandomObject

Functions 20

SignatureFlagsNativeParams
float get_AverageWeight()Public+1 flags0x04
bool get_IsMultiList()Private+1 flags0x01
bool get_IsSingleList()Private+1 flags0x01
RollRandomObject Clone()Public0x08
GameObject RollObject(Random rand)Public0x08
GameObject RollObject(Func<UnityEngine.GameObject itemCondition, Random rand)Public0x08
GameObject RollType(Random rand)Public—0x08
GameObject RollTorch()Public0x08
void RemoveNullItems()Public0x00
int ModifyItemChanceByPercent(GameObject item, float percentChange)Public0x08
int ModifyItemChancesByPercent(Predicate<UnityEngine.GameObject> condition, float percentChange)Public0x08
List<WeightedItem> RemoveItems(Predicate<UnityEngine.GameObject> condition)Public0x08
List<WeightedItem> GetAllItems()Public0x08
GameObject RollSingleListTable(Random rand)Public0x08
GameObject RollMultiListTable(Random rand)Public0x08
void CleanTable()Public0x00
void LogChances()Public0x00
void TestChestLootTable(Chest chest, int testTimes)PublicStatic0x08
void TestLootTable(Object context, RollRandomObject lootTable, int testTimes)PublicStatic0x08
void .ctor()Public+1 flags0x00

Used by 24

types with a member, parameter or interface of this type