C# 클래스 DRObjects.Database.DatabaseHandling

파일 보기 프로젝트 열기: Haedrian/Divine-Right

공개 메소드들

메소드 설명
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