C# Класс KFreonLib.Textures.TreeTexInfo

Formerly texStruct. Provides an object to store tree texture information.
Наследование: abstractTexInfo
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
FullPackage string
ListViewIndex int
ParentNode KFreonLib.GUI.myTreeNode
Textures List
ThumbnailPath string
TriedThumbUpdate bool
tfcOffset int

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

GetImage() публичный метод

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.
Результат System.Drawing.Bitmap

TreeTexInfo() публичный метод

Constructor for tree texture object for use in initial lists to be populated later.
public TreeTexInfo ( ) : KFreonLib.Debugging
Результат KFreonLib.Debugging

TreeTexInfo() публичный метод

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.
Результат KFreonLib.Debugging

TreeTexInfo() публичный метод

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
Результат KFreonLib.Debugging

TreeTexInfo() публичный метод

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
Результат KFreonLib.Debugging

Update() публичный метод

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
Результат void

Update() публичный метод

public Update ( TreeTexInfo tex, string pathBIOGame ) : void
tex TreeTexInfo
pathBIOGame string
Результат void

Описание свойств

FullPackage публичное свойство

public string FullPackage
Результат string

ListViewIndex публичное свойство

public int ListViewIndex
Результат int

ParentNode публичное свойство

public myTreeNode,KFreonLib.GUI ParentNode
Результат KFreonLib.GUI.myTreeNode

Textures публичное свойство

public List Textures
Результат List

ThumbnailPath публичное свойство

public string ThumbnailPath
Результат string

TriedThumbUpdate публичное свойство

public bool TriedThumbUpdate
Результат bool

tfcOffset публичное свойство

public int tfcOffset
Результат int