C# Class KFreonLib.Scripting.ModMaker.ModJob

This is the object for storing .mod job data.
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
ExpIDs List
JobType string
Length uint
Name string
OrigExpIDs List
OrigPCCs List
OriginalScript string
PCCs List
Script string
Texname string
WhichGame int

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
GuessGame ( List pccs ) : int

Method Details

DetectJobType() public méthode

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

FixLegacyDLCPaths() public méthode

Corrects incorrect DLC PCC paths from before ME3 DLC's were extracted.
public FixLegacyDLCPaths ( ) : void
Résultat void

GenerateJobThumbnail() public méthode

Returns a thumbnail sized bitmap of current job data (if texture).
public GenerateJobThumbnail ( ) : Image
Résultat Image

GetJobDetails() public méthode

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
Résultat bool

ModJob() public méthode

Constructor. Empty cos things get added dynamically.
public ModJob ( ) : System
Résultat System

UpdateJob() public méthode

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.
Résultat bool

WriteJobToFile() public méthode

Write current job to fileStream.
public WriteJobToFile ( FileStream fs ) : void
fs System.IO.FileStream FileStream to write to.
Résultat void

Property Details

ExpIDs public_oe property

public List ExpIDs
Résultat List

JobType public_oe property

public string JobType
Résultat string

Length public_oe property

public uint Length
Résultat uint

Name public_oe property

public string Name
Résultat string

OrigExpIDs public_oe property

public List OrigExpIDs
Résultat List

OrigPCCs public_oe property

public List OrigPCCs
Résultat List

OriginalScript public_oe property

public string OriginalScript
Résultat string

PCCs public_oe property

public List PCCs
Résultat List

Script public_oe property

public string Script
Résultat string

Texname public_oe property

public string Texname
Résultat string

WhichGame public_oe property

public int WhichGame
Résultat int