C# 클래스 KFreonLib.Scripting.ModMaker.ModJob

This is the object for storing .mod job data.
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ExpIDs List
JobType string
Length uint
Name string
OrigExpIDs List
OrigPCCs List
OriginalScript string
PCCs List
Script string
Texname string
WhichGame int

공개 메소드들

메소드 설명
DetectJobType ( ) : string

Decides what current job is. If a texture job, returns TEXTURE, else OTHER. For now anyway, likely add mesh detection later.

FixLegacyDLCPaths ( ) : void

Corrects incorrect DLC PCC paths from before ME3 DLC's were extracted.

GenerateJobThumbnail ( ) : Image

Returns a thumbnail sized bitmap of current job data (if texture).

GetJobDetails ( bool update, bool &versionConflict, int version ) : bool

Gets details, like pcc's and expID's, from current script and sets local properties. Properties: ExpID's, PCC's, Texname, WhichGame, JobType.

ModJob ( ) : System

Constructor. Empty cos things get added dynamically.

UpdateJob ( List BIOGames, string ExecFolder ) : bool

Updates current job script to new format. Returns true if all bits to udpdate are found. NOTE that true does not mean updated script works.

WriteJobToFile ( FileStream fs ) : void

Write current job to fileStream.

비공개 메소드들

메소드 설명
GuessGame ( List pccs ) : int

메소드 상세

DetectJobType() 공개 메소드

Decides what current job is. If a texture job, returns TEXTURE, else OTHER. For now anyway, likely add mesh detection later.
public DetectJobType ( ) : string
리턴 string

FixLegacyDLCPaths() 공개 메소드

Corrects incorrect DLC PCC paths from before ME3 DLC's were extracted.
public FixLegacyDLCPaths ( ) : void
리턴 void

GenerateJobThumbnail() 공개 메소드

Returns a thumbnail sized bitmap of current job data (if texture).
public GenerateJobThumbnail ( ) : Image
리턴 Image

GetJobDetails() 공개 메소드

Gets details, like pcc's and expID's, from current script and sets local properties. Properties: ExpID's, PCC's, Texname, WhichGame, JobType.
public GetJobDetails ( bool update, bool &versionConflict, int version ) : bool
update bool
versionConflict bool
version int
리턴 bool

ModJob() 공개 메소드

Constructor. Empty cos things get added dynamically.
public ModJob ( ) : System
리턴 System

UpdateJob() 공개 메소드

Updates current job script to new format. Returns true if all bits to udpdate are found. NOTE that true does not mean updated script works.
public UpdateJob ( List BIOGames, string ExecFolder ) : bool
BIOGames List List of BIOGame paths for the games. MUST have only 3 elements. Each can be null if game files not found.
ExecFolder string Path to the ME3Explorer \exec\ folder.
리턴 bool

WriteJobToFile() 공개 메소드

Write current job to fileStream.
public WriteJobToFile ( FileStream fs ) : void
fs System.IO.FileStream FileStream to write to.
리턴 void

프로퍼티 상세

ExpIDs 공개적으로 프로퍼티

public List ExpIDs
리턴 List

JobType 공개적으로 프로퍼티

public string JobType
리턴 string

Length 공개적으로 프로퍼티

public uint Length
리턴 uint

Name 공개적으로 프로퍼티

public string Name
리턴 string

OrigExpIDs 공개적으로 프로퍼티

public List OrigExpIDs
리턴 List

OrigPCCs 공개적으로 프로퍼티

public List OrigPCCs
리턴 List

OriginalScript 공개적으로 프로퍼티

public string OriginalScript
리턴 string

PCCs 공개적으로 프로퍼티

public List PCCs
리턴 List

Script 공개적으로 프로퍼티

public string Script
리턴 string

Texname 공개적으로 프로퍼티

public string Texname
리턴 string

WhichGame 공개적으로 프로퍼티

public int WhichGame
리턴 int