C# Class PKHeX.PKX

Show file Open project: gnmmarechal/PKHeX_gnmmarechal Class Usage Examples

Private Properties

Property Type Description
AddFontMemResourceEx System.IntPtr
ExpTable DataTable
LCRNG uint
ccitt16 ushort
decryptArray byte[]
detectSAVIndex int
encryptArray byte[]
getAbilities byte[]
getBaseFriendship byte
getBasePP int
getCHK ushort
getCountryRegionText string[]
getEXP uint
getFormList string[]
getGender int
getHPType int
getIsShiny bool
getLevel int
getLocation string
getMovePP int
getPKXFont System.Drawing.Font
getPKXSummary string[]
getPSV uint
getRandomEVs byte[]
getRandomPID uint
getSprite Image
getSprite Image
getStats ushort[]
getTSV uint
setHPIVs int[]
setPKXFont void
shuffleArray byte[]
verifyG6CHK string
verifyG6SHA string
verifychk bool
writeG6CHK byte[]
writeG6SHA byte[]

Public Methods

Method Description
PKX ( byte pkx, string ident ) : System

Private Methods

Method Description
AddFontMemResourceEx ( IntPtr pbFont, uint cbFont, IntPtr pdv, [ pcFonts ) : IntPtr
ExpTable ( ) : DataTable
LCRNG ( uint seed ) : uint
ccitt16 ( byte data ) : ushort
decryptArray ( byte ekx ) : byte[]
detectSAVIndex ( byte data, int &savindex ) : int
encryptArray ( byte pkx ) : byte[]
getAbilities ( int species, int formnum ) : byte[]
getBaseFriendship ( int species ) : byte
getBasePP ( int move ) : int
getCHK ( byte data ) : ushort
getCountryRegionText ( int country, int region, string lang ) : string[]
getEXP ( int level, int species ) : uint
getFormList ( int species, string t, string f, string g ) : string[]
getGender ( string s ) : int
getHPType ( int ivs ) : int

Calculate the Hidden Power Type of the entered IVs.

getIsShiny ( uint PID, uint TID, uint SID ) : bool
getLevel ( int species, uint &exp ) : int
getLocation ( bool eggmet, int gameorigin, int locval ) : string
getMovePP ( int move, int ppup ) : int
getPKXFont ( float size ) : Font
getPKXSummary ( PKX data ) : string[]
getPSV ( uint PID ) : uint
getRandomEVs ( ) : byte[]
getRandomPID ( int species, int cg ) : uint
getSprite ( byte data ) : Image
getSprite ( int species, int form, int gender, int item, bool isegg, bool shiny ) : Image
getStats ( int species, int level, int nature, int form, int HP_EV, int ATK_EV, int DEF_EV, int SPA_EV, int SPD_EV, int SPE_EV, int HP_IV, int ATK_IV, int DEF_IV, int SPA_IV, int SPD_IV, int SPE_IV ) : ushort[]
getTSV ( uint TID, uint SID ) : uint
setHPIVs ( int type, int ivs ) : int[]
setPKXFont ( ) : void
shuffleArray ( byte pkx, uint sv ) : byte[]
verifyG6CHK ( byte savefile, bool oras, int savegame, int &ctr ) : string
verifyG6SHA ( byte savefile, bool oras ) : string
verifychk ( byte input ) : bool
writeG6CHK ( byte savefile, bool oras, int savegame ) : byte[]
writeG6SHA ( byte savefile, bool oras, int savegame ) : byte[]

Method Details

PKX() public method

public PKX ( byte pkx, string ident ) : System
pkx byte
ident string
return System