C# Class LegalityChecker.LegitCheck

Datei anzeigen Open project: kamronbatman/Pokemon-Legality-Checker

Public Properties

Property Type Description
m_CountryNames string[]
m_DPTrashNames byte[][][]
m_PtTrashNames byte[][][]
m_Version string

Public Methods

Method Description
ChainedPID ( uint iv1, uint iv2, uint tid, uint sid, uint realpid ) : bool
GenerateIVs ( ushort natid, uint pid, int iv1, int iv2, int hometown, bool checknature, bool palpark ) : bool
GetABGBAIVType ( int pos1, int pos2 ) : string
GetABNDSIVType ( int pos1, int pos2 ) : string
GetACIVType ( int pos1, int pos2 ) : string
GetADIVType ( int pos1, int pos2 ) : string
GetBAIVType ( int pos1, int pos2 ) : string
GetHPPower ( int ivs ) : int
GetHPType ( int ivs ) : int
GetUnownIVType ( int pos1, int pos2 ) : string
IsABCD ( uint pid, int iv1, int iv2 ) : bool
IsABCD ( uint pid, int iv1, int iv2, uint &intseed ) : bool
IsLegal ( int iv1o, int iv2o, int iv1f, int iv2f ) : bool
IsMunchTree ( ushort loc, uint tid, uint sid ) : bool
IsRoaming ( int c, int iv1, int iv2 ) : bool
IsShiny ( uint pid, uint tid, uint sid ) : bool
Main ( string args ) : void
MysteryGiftTrashNames ( byte data ) : bool
PalParkTrashName ( byte data, bool platinum, bool nicknamed ) : bool
ParseStats ( int first, int second ) : int[]
ProcDir ( string target, List &filelist ) : void
ProcFile ( string filename ) : void
ReadBytes ( Stream stream, byte data ) : void
ReadBytes ( Stream stream, int offset, byte data ) : void
ShinyPID ( uint tid, uint sid, PokePRNG rand ) : uint
ValidGender ( uint pid, byte genderflag, byte genderthresh ) : bool
ValidGlitchZig ( uint pid, uint tid, int oivs1, int oivs2 ) : bool
ValidNature ( uint pid1seed, uint nature ) : bool
WriteEventType ( string message, bool rest ) : void
WriteSyncType ( string message, bool valid ) : void
WriteType ( string message ) : void

Method Details

ChainedPID() public static method

public static ChainedPID ( uint iv1, uint iv2, uint tid, uint sid, uint realpid ) : bool
iv1 uint
iv2 uint
tid uint
sid uint
realpid uint
return bool

GenerateIVs() public static method

public static GenerateIVs ( ushort natid, uint pid, int iv1, int iv2, int hometown, bool checknature, bool palpark ) : bool
natid ushort
pid uint
iv1 int
iv2 int
hometown int
checknature bool
palpark bool
return bool

GetABGBAIVType() public static method

public static GetABGBAIVType ( int pos1, int pos2 ) : string
pos1 int
pos2 int
return string

GetABNDSIVType() public static method

public static GetABNDSIVType ( int pos1, int pos2 ) : string
pos1 int
pos2 int
return string

GetACIVType() public static method

public static GetACIVType ( int pos1, int pos2 ) : string
pos1 int
pos2 int
return string

GetADIVType() public static method

public static GetADIVType ( int pos1, int pos2 ) : string
pos1 int
pos2 int
return string

GetBAIVType() public static method

public static GetBAIVType ( int pos1, int pos2 ) : string
pos1 int
pos2 int
return string

GetHPPower() public static method

public static GetHPPower ( int ivs ) : int
ivs int
return int

GetHPType() public static method

public static GetHPType ( int ivs ) : int
ivs int
return int

GetUnownIVType() public static method

public static GetUnownIVType ( int pos1, int pos2 ) : string
pos1 int
pos2 int
return string

IsABCD() public static method

public static IsABCD ( uint pid, int iv1, int iv2 ) : bool
pid uint
iv1 int
iv2 int
return bool

IsABCD() public static method

public static IsABCD ( uint pid, int iv1, int iv2, uint &intseed ) : bool
pid uint
iv1 int
iv2 int
intseed uint
return bool

IsLegal() public static method

public static IsLegal ( int iv1o, int iv2o, int iv1f, int iv2f ) : bool
iv1o int
iv2o int
iv1f int
iv2f int
return bool

IsMunchTree() public static method

public static IsMunchTree ( ushort loc, uint tid, uint sid ) : bool
loc ushort
tid uint
sid uint
return bool

IsRoaming() public static method

public static IsRoaming ( int c, int iv1, int iv2 ) : bool
c int
iv1 int
iv2 int
return bool

IsShiny() public static method

public static IsShiny ( uint pid, uint tid, uint sid ) : bool
pid uint
tid uint
sid uint
return bool

Main() public static method

public static Main ( string args ) : void
args string
return void

MysteryGiftTrashNames() public static method

public static MysteryGiftTrashNames ( byte data ) : bool
data byte
return bool

PalParkTrashName() public static method

public static PalParkTrashName ( byte data, bool platinum, bool nicknamed ) : bool
data byte
platinum bool
nicknamed bool
return bool

ParseStats() public static method

public static ParseStats ( int first, int second ) : int[]
first int
second int
return int[]

ProcDir() public static method

public static ProcDir ( string target, List &filelist ) : void
target string
filelist List
return void

ProcFile() public static method

public static ProcFile ( string filename ) : void
filename string
return void

ReadBytes() public static method

public static ReadBytes ( Stream stream, byte data ) : void
stream Stream
data byte
return void

ReadBytes() public static method

public static ReadBytes ( Stream stream, int offset, byte data ) : void
stream Stream
offset int
data byte
return void

ShinyPID() public static method

public static ShinyPID ( uint tid, uint sid, PokePRNG rand ) : uint
tid uint
sid uint
rand PokePRNG
return uint

ValidGender() public static method

public static ValidGender ( uint pid, byte genderflag, byte genderthresh ) : bool
pid uint
genderflag byte
genderthresh byte
return bool

ValidGlitchZig() public static method

public static ValidGlitchZig ( uint pid, uint tid, int oivs1, int oivs2 ) : bool
pid uint
tid uint
oivs1 int
oivs2 int
return bool

ValidNature() public static method

public static ValidNature ( uint pid1seed, uint nature ) : bool
pid1seed uint
nature uint
return bool

WriteEventType() public static method

public static WriteEventType ( string message, bool rest ) : void
message string
rest bool
return void

WriteSyncType() public static method

public static WriteSyncType ( string message, bool valid ) : void
message string
valid bool
return void

WriteType() public static method

public static WriteType ( string message ) : void
message string
return void

Property Details

m_CountryNames public_oe static_oe property

public static string[] m_CountryNames
return string[]

m_DPTrashNames public_oe static_oe property

public static byte[][][] m_DPTrashNames
return byte[][][]

m_PtTrashNames public_oe static_oe property

public static byte[][][] m_PtTrashNames
return byte[][][]

m_Version public_oe static_oe property

public static string m_Version
return string