Table of Contents

Class LostFootageDatabase

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
[CreateAssetMenu(fileName = "LostFootageDatabase", menuName = "LostFootageDatabase")]
public class LostFootageDatabase : SingletonAsset<LostFootageDatabase>, ISerializationCallbackReceiver
Inheritance
SerializedScriptableObject
LostFootageDatabase
Implements
ISerializationCallbackReceiver
Inherited Members
SerializedScriptableObject.OnAfterDeserialize()
SerializedScriptableObject.OnBeforeSerialize()
Extension Methods

Constructors

LostFootageDatabase()

public LostFootageDatabase()

Fields

footageRarityPairs

public List<LostFootageDatabase.FootageRarityPair> footageRarityPairs

Field Value

List<LostFootageDatabase.FootageRarityPair>

Methods

GetFootageByIndex(int, out FootageRarityPair)

public bool GetFootageByIndex(int i, out LostFootageDatabase.FootageRarityPair footage)

Parameters

i int
footage LostFootageDatabase.FootageRarityPair

Returns

bool

GetRandomLostFootageIndex()

public int GetRandomLostFootageIndex()

Returns

int

Init()

public void Init()

PrintChances()

public void PrintChances()

TryGetLostFootage(LostFootageHandle, out FootageRarityPair)

public static bool TryGetLostFootage(LostFootageHandle handle, out LostFootageDatabase.FootageRarityPair footage)

Parameters

handle LostFootageHandle
footage LostFootageDatabase.FootageRarityPair

Returns

bool