C# 클래스 ALFA.ALFAERFResourceRepository

This class reimplements OEIShared.IO.ERFResourceRepository, however in a fashion that is compatible with the content patcher (files are not kept locked without share delete). It only supports read only access to the ERF.
상속: OEIShared.IO.ResourceRepository, IDisposable
파일 보기 프로젝트 열기: ALandFarAway/ALFA-Base-Resources 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ErfFile OEIShared.IO.ERF.ERFFile

공개 메소드들

메소드 설명
ALFAERFResourceRepository ( string FileName ) : System

Construct a new ERF repository.

CopyResource ( OEIShared Entry ) : OEIShared.IO.IResourceEntry

Create a copy of a resource.

CopyResource ( OEIShared Entry, OEIShared NewName ) : OEIShared.IO.IResourceEntry

Create a copy of a resource.

CreateResource ( OEIShared ResRef, ushort ResType ) : IResourceEntry

Create a new resource.

Dispose ( ) : void

Disposer.

Dispose ( bool Disposing ) : void

Disposer.

PopulateRepository ( ) : void

Populate contents of the repository from the ERF.

메소드 상세

ALFAERFResourceRepository() 공개 메소드

Construct a new ERF repository.
public ALFAERFResourceRepository ( string FileName ) : System
FileName string Supplies the ERF file name.
리턴 System

CopyResource() 공개 메소드

Create a copy of a resource.
public CopyResource ( OEIShared Entry ) : OEIShared.IO.IResourceEntry
Entry OEIShared Supplies the resource to copy.
리턴 OEIShared.IO.IResourceEntry

CopyResource() 공개 메소드

Create a copy of a resource.
public CopyResource ( OEIShared Entry, OEIShared NewName ) : OEIShared.IO.IResourceEntry
Entry OEIShared Supplies the resource to copy.
NewName OEIShared Supplies the new resource name.
리턴 OEIShared.IO.IResourceEntry

CreateResource() 공개 메소드

Create a new resource.
public CreateResource ( OEIShared ResRef, ushort ResType ) : IResourceEntry
ResRef OEIShared Supplies the resource resref.
ResType ushort Supplies the resource type.
리턴 IResourceEntry

Dispose() 공개 메소드

Disposer.
public Dispose ( ) : void
리턴 void

Dispose() 공개 메소드

Disposer.
public Dispose ( bool Disposing ) : void
Disposing bool Supplies true if the object is /// disposing.
리턴 void

PopulateRepository() 공개 메소드

Populate contents of the repository from the ERF.
public PopulateRepository ( ) : void
리턴 void

프로퍼티 상세

ErfFile 공개적으로 프로퍼티

The ERF file encapsulated by the repository.
public ERFFile,OEIShared.IO.ERF ErfFile
리턴 OEIShared.IO.ERF.ERFFile