C# 클래스 Alexandria.Engines.Sciagi.ResourceMap

A collection of Resources. The resource map describes how to find resources within the resource pages.
상속: Glare.Assets.FolderAsset
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

공개 메소드들

메소드 설명
DetectVersion ( AssetLoader loader ) : ResourceMapVersion

Attempt to detect the version of the resource map, returning it or ResourceMapVersion.None if this is not a resource map or is not known to be one.

GetPageName ( int index ) : string

Get the name of a page.

GetPagePath ( int index ) : string

Get the path to a page.

OpenPage ( int index ) : BinaryReader

Open a page.

비공개 메소드들

메소드 설명
AddResource ( ResourceId id, FolderAsset>.Dictionary folders ) : void
DetectVersionSci0 ( AssetLoader loader ) : bool
DetectVersionSci1 ( AssetLoader loader ) : bool
DetectVersionSci2 ( AssetLoader loader ) : bool
ResourceMap ( AssetManager manager, AssetLoader loader ) : System

메소드 상세

DetectVersion() 공개 정적인 메소드

Attempt to detect the version of the resource map, returning it or ResourceMapVersion.None if this is not a resource map or is not known to be one.
public static DetectVersion ( AssetLoader loader ) : ResourceMapVersion
loader Glare.Assets.AssetLoader
리턴 ResourceMapVersion

GetPageName() 공개 메소드

Get the name of a page.
public GetPageName ( int index ) : string
index int
리턴 string

GetPagePath() 공개 메소드

Get the path to a page.
public GetPagePath ( int index ) : string
index int
리턴 string

OpenPage() 공개 메소드

Open a page.
public OpenPage ( int index ) : BinaryReader
index int
리턴 System.IO.BinaryReader