Table of Contents

Class ItemDatabase

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
[CreateAssetMenu(menuName = "Database/ItemDatabase", order = 9999, fileName = "ItemDatabase")]
public class ItemDatabase : ObjectDatabaseAsset<ItemDatabase, Item>, ISerializationCallbackReceiver
Inheritance
SerializedScriptableObject
ItemDatabase
Implements
ISerializationCallbackReceiver
Inherited Members
SerializedScriptableObject.OnAfterDeserialize()
SerializedScriptableObject.OnBeforeSerialize()
Extension Methods

Constructors

ItemDatabase()

public ItemDatabase()

Fields

lastLoadedItems

public List<Item> lastLoadedItems

Field Value

List<Item>

lastLoadedPersistentIDs

public List<string> lastLoadedPersistentIDs

Field Value

List<string>

Methods

TryGetItemFromID(byte, out Item)

public static bool TryGetItemFromID(byte id, out Item item)

Parameters

id byte
item Item

Returns

bool

TryGetItemFromPersistentID(Guid, out Item)

public static bool TryGetItemFromPersistentID(Guid id, out Item item)

Parameters

id Guid
item Item

Returns

bool