Table of Contents

Class DealRewardDatabase

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

Constructors

DealRewardDatabase()

public DealRewardDatabase()

Fields

rewards

public Dictionary<int, Type> rewards

Field Value

Dictionary<int, Type>

Methods

GetRandom()

public DealRewardBase GetRandom()

Returns

DealRewardBase

GetRewardFromIndex(int)

public DealRewardBase GetRewardFromIndex(int index)

Parameters

index int

Returns

DealRewardBase