C# Class DataEditorX.Core.Mse.MseMaker

MSE制作
Show file Open project: 247321453/DataEditorX Class Usage Examples

Public Methods

Method Description
GetAttribute ( int attr ) : string
GetAttributeInt ( string cattr ) : int
GetCardImagePath ( string picpath, Card c ) : string
GetConfig ( ) : DataEditorX.Core.Mse.MSEConfig
GetDesc ( string cdesc, string regx ) : string
GetLine ( string key, string word ) : string
GetRace ( long race ) : string
GetSpellTrapSymbol ( Card c, bool isSpell ) : string
GetStar ( long level ) : string
GetType ( CardType ctype ) : string
GetTypes ( Card c ) : string[]
MseIsRunning ( ) : bool
MseMaker ( DataEditorX.Core.Mse.MSEConfig mcfg ) : System
MseStop ( ) : void
ReText ( string text ) : string
ReadCard ( string content, string &img ) : Card
ReadCards ( string set, bool repalceOld ) : Card[]
SetConfig ( DataEditorX.Core.Mse.MSEConfig mcfg ) : void
WriteSet ( string file, Card cards, string cardpack_db, bool rarity = true ) : string>.Dictionary
cn2tw ( string str ) : string
exportSet ( string mse_path, string setfile, string path, EventHandler handler ) : void
getImageCache ( string img, Card card ) : string

图片缓存

reItalic ( string str ) : string
testPendulum ( string desc ) : void

Private Methods

Method Description
GetCardType ( string cardtype, string level, string type1, string type2, string type3 ) : long
GetMonsterType ( string cardtype ) : long
GetMultiValue ( string content, string tag ) : string
GetRaceInt ( string race ) : long
GetSpellTrapType ( string level ) : long
GetTypeInt ( string type ) : long
GetValue ( string content, string tag ) : string
RemoveTag ( string word ) : string
exportSetThread ( object obj ) : void
getMonster ( Card c, string img, bool isPendulum, CardPack cardpack = null, bool rarity = true ) : string
getSpellTrap ( Card c, string img, bool isSpell, CardPack cardpack = null, bool rarity = true ) : string

Method Details

GetAttribute() public static method

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

GetAttributeInt() public static method

public static GetAttributeInt ( string cattr ) : int
cattr string
return int

GetCardImagePath() public static method

public static GetCardImagePath ( string picpath, Card c ) : string
picpath string
c Card
return string

GetConfig() public method

public GetConfig ( ) : DataEditorX.Core.Mse.MSEConfig
return DataEditorX.Core.Mse.MSEConfig

GetDesc() public static method

public static GetDesc ( string cdesc, string regx ) : string
cdesc string
regx string
return string

GetLine() public method

public GetLine ( string key, string word ) : string
key string
word string
return string

GetRace() public method

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

GetSpellTrapSymbol() public method

public GetSpellTrapSymbol ( Card c, bool isSpell ) : string
c Card
isSpell bool
return string

GetStar() public static method

public static GetStar ( long level ) : string
level long
return string

GetType() public method

public GetType ( CardType ctype ) : string
ctype CardType
return string

GetTypes() public method

public GetTypes ( Card c ) : string[]
c Card
return string[]

MseIsRunning() public static method

public static MseIsRunning ( ) : bool
return bool

MseMaker() public method

public MseMaker ( DataEditorX.Core.Mse.MSEConfig mcfg ) : System
mcfg DataEditorX.Core.Mse.MSEConfig
return System

MseStop() public static method

public static MseStop ( ) : void
return void

ReText() public method

public ReText ( string text ) : string
text string
return string

ReadCard() public method

public ReadCard ( string content, string &img ) : Card
content string
img string
return Card

ReadCards() public method

public ReadCards ( string set, bool repalceOld ) : Card[]
set string
repalceOld bool
return Card[]

SetConfig() public method

public SetConfig ( DataEditorX.Core.Mse.MSEConfig mcfg ) : void
mcfg DataEditorX.Core.Mse.MSEConfig
return void

WriteSet() public method

public WriteSet ( string file, Card cards, string cardpack_db, bool rarity = true ) : string>.Dictionary
file string
cards Card
cardpack_db string
rarity bool
return string>.Dictionary

cn2tw() public method

public cn2tw ( string str ) : string
str string
return string

exportSet() public static method

public static exportSet ( string mse_path, string setfile, string path, EventHandler handler ) : void
mse_path string
setfile string
path string
handler EventHandler
return void

getImageCache() public method

图片缓存
public getImageCache ( string img, Card card ) : string
img string
card Card
return string

reItalic() public method

public reItalic ( string str ) : string
str string
return string

testPendulum() public method

public testPendulum ( string desc ) : void
desc string
return void