C# 클래스 FSO.Files.Formats.DBPF.DBPFFile

The database-packed file (DBPF) is a format used to store data for pretty much all Maxis games after The Sims, including The Sims Online (the first appearance of this format), SimCity 4, The Sims 2, Spore, The Sims 3, and SimCity 2013.
상속: IDisposable
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DateCreated int
DateModified int

공개 메소드들

메소드 설명
DBPFFile ( ) : System

Constructs a new DBPF instance.

DBPFFile ( string file ) : System

Creates a DBPF instance from a path.

Dispose ( ) : void

Disposes this DBPF instance.

GetEntry ( DBPFEntry entry ) : byte[]

Gets a DBPFEntry's data from this DBPF instance.

GetItemByID ( ulong ID ) : byte[]

Gets an entry from its ID (TypeID + FileID).

GetItemsByType ( DBPFTypeID Type ) : byte[]>>.List

Gets all entries of a specific type.

Read ( Stream stream ) : void

Reads a DBPF archive from a stream.

메소드 상세

DBPFFile() 공개 메소드

Constructs a new DBPF instance.
public DBPFFile ( ) : System
리턴 System

DBPFFile() 공개 메소드

Creates a DBPF instance from a path.
public DBPFFile ( string file ) : System
file string The path to an DBPF archive.
리턴 System

Dispose() 공개 메소드

Disposes this DBPF instance.
public Dispose ( ) : void
리턴 void

GetEntry() 공개 메소드

Gets a DBPFEntry's data from this DBPF instance.
public GetEntry ( DBPFEntry entry ) : byte[]
entry DBPFEntry Entry to retrieve data for.
리턴 byte[]

GetItemByID() 공개 메소드

Gets an entry from its ID (TypeID + FileID).
public GetItemByID ( ulong ID ) : byte[]
ID ulong The ID of the entry.
리턴 byte[]

GetItemsByType() 공개 메소드

Gets all entries of a specific type.
public GetItemsByType ( DBPFTypeID Type ) : byte[]>>.List
Type DBPFTypeID The Type of the entry.
리턴 byte[]>>.List

Read() 공개 메소드

Reads a DBPF archive from a stream.
public Read ( Stream stream ) : void
stream Stream The stream to read from.
리턴 void

프로퍼티 상세

DateCreated 공개적으로 프로퍼티

public int DateCreated
리턴 int

DateModified 공개적으로 프로퍼티

public int DateModified
리턴 int