C# 클래스 DivineRightGame.LocalMapGenerator.MapletDatabaseHandler

Handles data from the Maplet Database
파일 보기 프로젝트 열기: Haedrian/Divine-Right

공개 메소드들

메소드 설명
GetMapletByID ( int id ) : System.Xml.Linq.XElement
GetMapletByTag ( string tag ) : System.Xml.Linq.XElement
GetMapletByTagAndLevel ( string tag, int level ) : System.Xml.Linq.XElement

Gets a particular Maplet by its tag and level

비공개 메소드들

메소드 설명
LoadFile ( string path ) : System.Xml.Linq.XElement

Loads a file in the particular path from cache if available, or from the disk if it is not

ReadData ( ) : void

Reads the data into the dictionary

메소드 상세

GetMapletByID() 공개 정적인 메소드

public static GetMapletByID ( int id ) : System.Xml.Linq.XElement
id int
리턴 System.Xml.Linq.XElement

GetMapletByTag() 공개 정적인 메소드

public static GetMapletByTag ( string tag ) : System.Xml.Linq.XElement
tag string
리턴 System.Xml.Linq.XElement

GetMapletByTagAndLevel() 공개 정적인 메소드

Gets a particular Maplet by its tag and level
public static GetMapletByTagAndLevel ( string tag, int level ) : System.Xml.Linq.XElement
tag string
level int
리턴 System.Xml.Linq.XElement