Show / Hide Table of Contents

Class WeightedList<T, ItemType>

Like a list but stores elements in the order specified by the weight.
Inheritance
object
WeightedList<T, ItemType>
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Utils
Assembly: Jotunn.dll
Syntax
public class WeightedList<T, ItemType> where T : WeightedItem<ItemType>
Type Parameters
Name Description
T
ItemType

Constructors

Name Description
WeightedList()

Fields

Name Description
List

Methods

Name Description
Add(T)
GetRandomItem(List<T>)
Remove(T)

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾