Show / Hide Table of Contents

Class Drop

Represent the entry in your drop table

Implements
System.ICloneable

Constructors

Drop()

Declaration
public Drop()

Properties

AmountRange

Declaration
public Vector2Int AmountRange { get; set; }

Entry

Declaration
public ScriptableObject Entry { get; set; }

IsExtensionDrop

Declaration
public bool IsExtensionDrop { get; set; }

IsGuaranteed

Declaration
public bool IsGuaranteed { get; set; }

IsHidden

Declaration
public bool IsHidden { get; set; }

Percentage

Declaration
public float Percentage { get; set; }

Weight

Declaration
public int Weight { get; set; }

Methods

AddFilter(Predicate<Drop>)

Declaration
public void AddFilter(Predicate<Drop> condition)

ClearValidator()

Declaration
public void ClearValidator()

Clone()

Declaration
public object Clone()

DeepEquals(Drop)

Declaration
public bool DeepEquals(Drop other)

GetPercentage()

Declaration
public float GetPercentage()

LoadFromData(DropSaveData, ScriptableObject)

Declaration
public void LoadFromData(DropSaveData data, ScriptableObject loadedEntry = null)

RaiseModifier()

Declaration
public void RaiseModifier()

TemporaryDrop(Drop)

Declaration
public static Drop TemporaryDrop(Drop template)

ToLoot()

Declaration
public Loot ToLoot()

Validate()

Declaration
public bool Validate()

Events

Modifier

Declaration
public event Action<Drop> Modifier
Event Type
Type Description
System.Action<Drop>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾