C# 클래스 Alexandria.Engines.DarkSouls.Archive

A collection of files.
상속: Glare.Assets.ArchiveAsset
파일 보기 프로젝트 열기: Burton-Radons/Alexandria 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DataReader System.IO.BinaryReader
DataStream Stream
ShiftJis System.Text.Encoding

Private Properties

프로퍼티 타입 설명
Archive System
Archive System
OpenOtherFile Stream
RemoveSuffix string

공개 메소드들

메소드 설명
FindRecordById ( int id ) : ArchiveRecord

Find an ArchiveRecord by its id, or return null if not found.

FindRecordByPath ( string path ) : ArchiveRecord

Find an ArchiveRecord by its path, or return null if not found.

HashFilename ( string input ) : int

Produce a hash of the filename used in Dark Souls main archives' record ids.

비공개 메소드들

메소드 설명
Archive ( ) : System
Archive ( AssetManager manager, AssetLoader loader ) : System
OpenOtherFile ( string path, FileManager manager, string suffix, string suffix2 = null ) : Stream
RemoveSuffix ( string path, string suffix, string suffix2 = null ) : string

메소드 상세

FindRecordById() 공개 메소드

Find an ArchiveRecord by its id, or return null if not found.
public FindRecordById ( int id ) : ArchiveRecord
id int The id of the to search for.
리턴 ArchiveRecord

FindRecordByPath() 공개 메소드

Find an ArchiveRecord by its path, or return null if not found.
public FindRecordByPath ( string path ) : ArchiveRecord
path string The path of the to search for.
리턴 ArchiveRecord

HashFilename() 공개 정적인 메소드

Produce a hash of the filename used in Dark Souls main archives' record ids.
public static HashFilename ( string input ) : int
input string The string to hash.
리턴 int

프로퍼티 상세

DataReader 공개적으로 프로퍼티

Get the reader for the archive.
public BinaryReader,System.IO DataReader
리턴 System.IO.BinaryReader

DataStream 공개적으로 프로퍼티

Get the stream for the archive.
public Stream DataStream
리턴 Stream

ShiftJis 공개적으로 정적으로 프로퍼티

Get the "Shift-JIS" encoding which is used throughout Dark/Demon Souls.
public static Encoding,System.Text ShiftJis
리턴 System.Text.Encoding