C# Class DataEditorX.Core.YGOUtil

Exibir arquivo Open project: 247321453/DataEditorX Class Usage Examples

Public Methods

Method Description
CardCopy ( long newid, long oldid, YgoPath ygopath ) : void
CardDelete ( long id, YgoPath ygopath ) : void
CardRename ( long newid, long oldid, YgoPath ygopath ) : void
GetAttributeString ( int attr ) : string
GetCardType ( Card c ) : string
GetRace ( long race ) : string
GetSetNameString ( long setcode ) : string
GetTypeString ( long type ) : string
ReadImage ( string path ) : string[]
ReadYDK ( string ydkfile ) : string[]

读取ydk文件为密码数组

SetConfig ( DataEditorX.Config.DataConfig dcfg ) : void
isDataBase ( string file ) : bool
isScript ( string file ) : bool

Private Methods

Method Description
GetType ( CardType type ) : string
YGOUtil ( ) : System

Method Details

CardCopy() public static method

public static CardCopy ( long newid, long oldid, YgoPath ygopath ) : void
newid long
oldid long
ygopath DataEditorX.Config.YgoPath
return void

CardDelete() public static method

public static CardDelete ( long id, YgoPath ygopath ) : void
id long
ygopath DataEditorX.Config.YgoPath
return void

CardRename() public static method

public static CardRename ( long newid, long oldid, YgoPath ygopath ) : void
newid long
oldid long
ygopath DataEditorX.Config.YgoPath
return void

GetAttributeString() public static method

public static GetAttributeString ( int attr ) : string
attr int
return string

GetCardType() public static method

public static GetCardType ( Card c ) : string
c Card
return string

GetRace() public static method

public static GetRace ( long race ) : string
race long
return string

GetSetNameString() public static method

public static GetSetNameString ( long setcode ) : string
setcode long
return string

GetTypeString() public static method

public static GetTypeString ( long type ) : string
type long
return string

ReadImage() public static method

public static ReadImage ( string path ) : string[]
path string
return string[]

ReadYDK() public static method

读取ydk文件为密码数组
public static ReadYDK ( string ydkfile ) : string[]
ydkfile string
return string[]

SetConfig() public static method

public static SetConfig ( DataEditorX.Config.DataConfig dcfg ) : void
dcfg DataEditorX.Config.DataConfig
return void

isDataBase() public static method

public static isDataBase ( string file ) : bool
file string
return bool

isScript() public static method

public static isScript ( string file ) : bool
file string
return bool