C# Класс DRObjects.Database.DatabaseHandling

Показать файл Открыть проект

Открытые методы

Метод Описание
EmptyMemory ( ) : void

Dumps the stored tables

GetDatabase ( Archetype archetype ) : List>.Dictionary
GetItemIdFromTag ( Archetype archetype, string tag ) : int

Gets the id of an item randomly belonging to a particular archetype and having the right tag If unable to find anything, will throw an exception

GetItemProperties ( Archetype archetype, int itemID ) : List
ReadTableIntoMemory ( Archetype archetype ) : void

Read an entire table into memory

Описание методов

EmptyMemory() публичный статический Метод

Dumps the stored tables
public static EmptyMemory ( ) : void
Результат void

GetDatabase() публичный статический Метод

public static GetDatabase ( Archetype archetype ) : List>.Dictionary
archetype Archetype
Результат List>.Dictionary

GetItemIdFromTag() публичный статический Метод

Gets the id of an item randomly belonging to a particular archetype and having the right tag If unable to find anything, will throw an exception
public static GetItemIdFromTag ( Archetype archetype, string tag ) : int
archetype Archetype The archetype to search in
tag string The tag to look for
Результат int

GetItemProperties() публичный статический Метод

public static GetItemProperties ( Archetype archetype, int itemID ) : List
archetype Archetype
itemID int
Результат List

ReadTableIntoMemory() публичный статический Метод

Read an entire table into memory
public static ReadTableIntoMemory ( Archetype archetype ) : void
archetype Archetype
Результат void