C# Class KFreonLib.Textures.TreeTexInfo

Formerly texStruct. Provides an object to store tree texture information.
Inheritance: abstractTexInfo
Afficher le fichier Open project: ME3Explorer/ME3Explorer Class Usage Examples

Méthodes publiques

Свойство Type Description
FullPackage string
ListViewIndex int
ParentNode KFreonLib.GUI.myTreeNode
Textures List
ThumbnailPath string
TriedThumbUpdate bool
tfcOffset int

Méthodes publiques

Méthode Description
GetImage ( string pathBIOGame, int size = -1 ) : Bitmap

Returns current texture as a Bitmap. Option to specify size.

TreeTexInfo ( ) : KFreonLib.Debugging

Constructor for tree texture object for use in initial lists to be populated later.

TreeTexInfo ( IPCCObject temppcc, int ExpID, int WhichGame, string pathBIOGame, string ExecPath, bool &Success ) : KFreonLib.Debugging

Constructor for tree texture object.

TreeTexInfo ( ITexture2D tex2D, int ExpID, uint hash, int WhichGame, IPCCObject pcc, int tfcoffset, string thumbpath, string pathBIOGame ) : KFreonLib.Debugging

Constructor for tree texture objects.

TreeTexInfo ( List GivenFiles, List GivenExpIDs, uint GivenHash, int GivenMips, List GivenTextures, int WhichGame, string pathBIOGame ) : KFreonLib.Debugging

Constructor for tree texture object.

Update ( List GivenFiles, List GivenExpIDs, uint GivenHash, int GivenMips, List GivenTextures, string pathBIOGame ) : void
Update ( TreeTexInfo tex, string pathBIOGame ) : void

Private Methods

Méthode Description
InfoInitialise ( ITexture2D tex2D, int ExpID, uint hash, int WhichGame, IPCCObject pcc, int tfcoffset, string thumbpath, string pathBIOGame ) : void

Common initialiser used by both TexInfo derivations.

InfoInitialise ( List GivenFiles, List GivenExpIDs, uint GivenHash, int GivenMips, List GivenTextures, int WhichGame, string pathBIOGame ) : void

Common initialiser used by both TexInfo derivations.

ReorderCheck ( string pathBIOGame ) : void

Method Details

GetImage() public méthode

Returns current texture as a Bitmap. Option to specify size.
public GetImage ( string pathBIOGame, int size = -1 ) : Bitmap
pathBIOGame string Path to BIOGame.
size int OPTIONAL: Maximum size on any dimension. Defaults to max.
Résultat System.Drawing.Bitmap

TreeTexInfo() public méthode

Constructor for tree texture object for use in initial lists to be populated later.
public TreeTexInfo ( ) : KFreonLib.Debugging
Résultat KFreonLib.Debugging

TreeTexInfo() public méthode

Constructor for tree texture object.
public TreeTexInfo ( IPCCObject temppcc, int ExpID, int WhichGame, string pathBIOGame, string ExecPath, bool &Success ) : KFreonLib.Debugging
temppcc IPCCObject PCC to get info from.
ExpID int ExpID of texture.
WhichGame int Game target.
pathBIOGame string BIOGame path to game targeted.
ExecPath string Path to ME3Explorer \exec\ folder.
Success bool OUT: True if sucessfully created.
Résultat KFreonLib.Debugging

TreeTexInfo() public méthode

Constructor for tree texture objects.
public TreeTexInfo ( ITexture2D tex2D, int ExpID, uint hash, int WhichGame, IPCCObject pcc, int tfcoffset, string thumbpath, string pathBIOGame ) : KFreonLib.Debugging
tex2D ITexture2D Texture2D to get data from.
ExpID int ExpID of texture.
hash uint Hash of texture.
WhichGame int Game target.
pcc IPCCObject PCC to get info from.
tfcoffset int Offset of texture data in TFC.
thumbpath string Path to thumbnail.
pathBIOGame string
Résultat KFreonLib.Debugging

TreeTexInfo() public méthode

Constructor for tree texture object.
public TreeTexInfo ( List GivenFiles, List GivenExpIDs, uint GivenHash, int GivenMips, List GivenTextures, int WhichGame, string pathBIOGame ) : KFreonLib.Debugging
GivenFiles List List of PCC's containing texture.
GivenExpIDs List List of ExpID's of texture within PCC's.
GivenHash uint Hash of texture.
GivenMips int Number of mips in texture.
GivenTextures List List of easy access Texture2D's.
WhichGame int Game target.
pathBIOGame string
Résultat KFreonLib.Debugging

Update() public méthode

public Update ( List GivenFiles, List GivenExpIDs, uint GivenHash, int GivenMips, List GivenTextures, string pathBIOGame ) : void
GivenFiles List
GivenExpIDs List
GivenHash uint
GivenMips int
GivenTextures List
pathBIOGame string
Résultat void

Update() public méthode

public Update ( TreeTexInfo tex, string pathBIOGame ) : void
tex TreeTexInfo
pathBIOGame string
Résultat void

Property Details

FullPackage public_oe property

public string FullPackage
Résultat string

ListViewIndex public_oe property

public int ListViewIndex
Résultat int

ParentNode public_oe property

public myTreeNode,KFreonLib.GUI ParentNode
Résultat KFreonLib.GUI.myTreeNode

Textures public_oe property

public List Textures
Résultat List

ThumbnailPath public_oe property

public string ThumbnailPath
Résultat string

TriedThumbUpdate public_oe property

public bool TriedThumbUpdate
Résultat bool

tfcOffset public_oe property

public int tfcOffset
Résultat int