C# Class KFreonLib.Textures.ME2Texture2D

Inheritance: ITexture2D
Datei anzeigen Open project: ME3Explorer/ME3Explorer Class Usage Examples

Public Properties

Property Type Description
Class String
Compression string
FullPackage string
ListName String
UnpackNum int
dataOffset uint
exportOffset int
headerData byte[]
imageData byte[]
pccFileName string
properties SaltPropertyReader.Property>.Dictionary

Private Properties

Property Type Description
ChangeFormat void
ChooseNewCache void
MakeCache void
MoveCaches void

Public Methods

Method Description
ChangeCompression ( string newComp, ME2PCCObject pcc ) : void
ChangeTexFormat ( string newFormat, ME2PCCObject pcc ) : void
CopyImgList ( ITexture2D tex2D, IPCCObject PCC ) : void
CopyImgList ( ME2Texture2D inTex, ME2PCCObject pcc ) : void
Dispose ( ) : void
DumpImage ( ImageSize imgSize, string archiveDir ) : byte[]
DumpImage ( string strImgSize, string archiveDir = null, string fileName = null ) : void
DumpImageData ( ImageInfo imgInfo, string archiveDir = null, string fileName = null ) : void
DumpImg ( ImageSize imageSize, string ArcPath ) : byte[]
DumpTexture ( string filename ) : void
GenerateImageInfo ( ) : IImageInfo
GetImage ( int size = -1 ) : System.Drawing.Bitmap
GetImageData ( int size = -1 ) : byte[]
GetTexArchive ( string dir ) : String
LowResFix ( ) : void
ME2Texture2D ( ME2PCCObject pcc, int pccExpID, String pathBioGame ) : System
ME2Texture2D ( string name, List pccs, List ExpIDs, string pathBIOGame, int GameVersion, uint hash, String listname = null ) : System
OneImageToRuleThemAll ( ImageFile im, string archiveDir, byte imgData ) : void
ThisToArray ( uint pccExportDataOffset, ME2PCCObject pcc ) : byte[]
ToArray ( uint pccExportDataOffset, IPCCObject pcc ) : byte[]
addBiggerImage ( ImageFile im, string archiveDir ) : void
extractImage ( ImageInfo imgInfo, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
extractImage ( string strImgSize, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
extractMaxImage ( bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
getFileFormat ( ) : string
removeImage ( ) : void
replaceImage ( string strImgSize, ImageFile im, string archiveDir ) : void
replaceImage2 ( string strImgSize, ImageFile im, string archiveDir ) : void
singleImageUpscale ( ImageFile im, string archiveDir ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ChangeFormat ( string newformat ) : void
ChooseNewCache ( string bioPath, int buffLength ) : void
MakeCache ( String filename, String biopath ) : void
MoveCaches ( string cookedPath, string NewCache ) : void

Method Details

ChangeCompression() public method

public ChangeCompression ( string newComp, ME2PCCObject pcc ) : void
newComp string
pcc KFreonLib.PCCObjects.ME2PCCObject
return void

ChangeTexFormat() public method

public ChangeTexFormat ( string newFormat, ME2PCCObject pcc ) : void
newFormat string
pcc KFreonLib.PCCObjects.ME2PCCObject
return void

CopyImgList() public method

public CopyImgList ( ITexture2D tex2D, IPCCObject PCC ) : void
tex2D ITexture2D
PCC IPCCObject
return void

CopyImgList() public method

public CopyImgList ( ME2Texture2D inTex, ME2PCCObject pcc ) : void
inTex ME2Texture2D
pcc KFreonLib.PCCObjects.ME2PCCObject
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DumpImage() public method

public DumpImage ( ImageSize imgSize, string archiveDir ) : byte[]
imgSize AmaroK86.ImageFormat.ImageSize
archiveDir string
return byte[]

DumpImage() public method

public DumpImage ( string strImgSize, string archiveDir = null, string fileName = null ) : void
strImgSize string
archiveDir string
fileName string
return void

DumpImageData() public method

public DumpImageData ( ImageInfo imgInfo, string archiveDir = null, string fileName = null ) : void
imgInfo ImageInfo
archiveDir string
fileName string
return void

DumpImg() public method

public DumpImg ( ImageSize imageSize, string ArcPath ) : byte[]
imageSize AmaroK86.ImageFormat.ImageSize
ArcPath string
return byte[]

DumpTexture() public method

public DumpTexture ( string filename ) : void
filename string
return void

GenerateImageInfo() public method

public GenerateImageInfo ( ) : IImageInfo
return IImageInfo

GetImage() public method

public GetImage ( int size = -1 ) : System.Drawing.Bitmap
size int
return System.Drawing.Bitmap

GetImageData() public method

public GetImageData ( int size = -1 ) : byte[]
size int
return byte[]

GetTexArchive() public method

public GetTexArchive ( string dir ) : String
dir string
return String

LowResFix() public method

public LowResFix ( ) : void
return void

ME2Texture2D() public method

public ME2Texture2D ( ME2PCCObject pcc, int pccExpID, String pathBioGame ) : System
pcc KFreonLib.PCCObjects.ME2PCCObject
pccExpID int
pathBioGame String
return System

ME2Texture2D() public method

public ME2Texture2D ( string name, List pccs, List ExpIDs, string pathBIOGame, int GameVersion, uint hash, String listname = null ) : System
name string
pccs List
ExpIDs List
pathBIOGame string
GameVersion int
hash uint
listname String
return System

OneImageToRuleThemAll() public method

public OneImageToRuleThemAll ( ImageFile im, string archiveDir, byte imgData ) : void
im AmaroK86.ImageFormat.ImageFile
archiveDir string
imgData byte
return void

ThisToArray() public method

public ThisToArray ( uint pccExportDataOffset, ME2PCCObject pcc ) : byte[]
pccExportDataOffset uint
pcc KFreonLib.PCCObjects.ME2PCCObject
return byte[]

ToArray() public method

public ToArray ( uint pccExportDataOffset, IPCCObject pcc ) : byte[]
pccExportDataOffset uint
pcc IPCCObject
return byte[]

addBiggerImage() public method

public addBiggerImage ( ImageFile im, string archiveDir ) : void
im AmaroK86.ImageFormat.ImageFile
archiveDir string
return void

extractImage() public method

public extractImage ( ImageInfo imgInfo, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
imgInfo ImageInfo
NoOutput bool
archiveDir string
fileName string
return byte[]

extractImage() public method

public extractImage ( string strImgSize, bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
strImgSize string
NoOutput bool
archiveDir string
fileName string
return byte[]

extractMaxImage() public method

public extractMaxImage ( bool NoOutput, string archiveDir = null, string fileName = null ) : byte[]
NoOutput bool
archiveDir string
fileName string
return byte[]

getFileFormat() public method

public getFileFormat ( ) : string
return string

removeImage() public method

public removeImage ( ) : void
return void

replaceImage() public method

public replaceImage ( string strImgSize, ImageFile im, string archiveDir ) : void
strImgSize string
im AmaroK86.ImageFormat.ImageFile
archiveDir string
return void

replaceImage2() public method

public replaceImage2 ( string strImgSize, ImageFile im, string archiveDir ) : void
strImgSize string
im AmaroK86.ImageFormat.ImageFile
archiveDir string
return void

singleImageUpscale() public method

public singleImageUpscale ( ImageFile im, string archiveDir ) : void
im AmaroK86.ImageFormat.ImageFile
archiveDir string
return void

Property Details

Class public_oe property

public String Class
return String

Compression public_oe property

public string Compression
return string

FullPackage public_oe property

public string FullPackage
return string

ListName public_oe property

public String ListName
return String

UnpackNum public_oe property

public int UnpackNum
return int

dataOffset public_oe property

public uint dataOffset
return uint

exportOffset public_oe property

public int exportOffset
return int

headerData public_oe property

public byte[] headerData
return byte[]

imageData public_oe property

public byte[] imageData
return byte[]

pccFileName public_oe property

public string pccFileName
return string

properties public_oe property

public Dictionary properties
return SaltPropertyReader.Property>.Dictionary