0x00x0030
Members 8
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | typeToRoll | RollTableType | Public | — | |
| 0x01 | rollWithFloor | bool | Public | — | |
| 0x01 | WeightsEffectedByDifficulty | bool | Public | — | |
| 0x01 | WeightsEffectedByPlayerCount | bool | Public | — | |
| 0x01 | allEqualWeights | bool | Public | — | |
| 0x08 | singleObjectTable | List<WeightedItem> | Public | — | |
| 0x08 | objectLists | List<WeightedRarityList> | Public | — | |
| 0x01 | weightsChanged | bool | Private | — | |
| 0x0029 | 0x07 | unreflected bytes to end of RollRandomObject | |||
Functions 20
| Signature | Flags | Native | Params |
|---|---|---|---|
| float get_AverageWeight() | Public+1 flags | 0x04 | |
| bool get_IsMultiList() | Private+1 flags | 0x01 | |
| bool get_IsSingleList() | Private+1 flags | 0x01 | |
| RollRandomObject Clone() | Public | 0x08 | |
| GameObject RollObject(Random rand) | Public | 0x08 | |
| GameObject RollObject(Func<UnityEngine.GameObject itemCondition, Random rand) | Public | 0x08 | |
| GameObject RollType(Random rand) | Public | — | 0x08 |
| GameObject RollTorch() | Public | 0x08 | |
| void RemoveNullItems() | Public | 0x00 | |
| int ModifyItemChanceByPercent(GameObject item, float percentChange) | Public | 0x08 | |
| int ModifyItemChancesByPercent(Predicate<UnityEngine.GameObject> condition, float percentChange) | Public | 0x08 | |
| List<WeightedItem> RemoveItems(Predicate<UnityEngine.GameObject> condition) | Public | 0x08 | |
| List<WeightedItem> GetAllItems() | Public | 0x08 | |
| GameObject RollSingleListTable(Random rand) | Public | 0x08 | |
| GameObject RollMultiListTable(Random rand) | Public | 0x08 | |
| void CleanTable() | Public | 0x00 | |
| void LogChances() | Public | 0x00 | |
| void TestChestLootTable(Chest chest, int testTimes) | PublicStatic | 0x08 | |
| void TestLootTable(Object context, RollRandomObject lootTable, int testTimes) | PublicStatic | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 |
Used by 24
types with a member, parameter or interface of this type<>c__DisplayClass20_0<>c__DisplayClass26_0Action`1ArraySortHelper`1ChestClientSideSpawnDemolitionistEmptyInternalEnumerator`1EntitySpawnEnumeratorEqualityComparer`1ICollection`1IEnumerator`1IList`1InternalEnumerator`1IReadOnlyList`1List`1LootTablePair`2Predicate`1ReadOnlyCollection`1RollRandomObject[]TableModifierWeightedRarityList