C# Class DataEditorX.Core.TaskHelper

任务
Show file Open project: 247321453/DataEditorX Class Usage Examples

Public Methods

Method Description
Cancel ( ) : void
CheckVersion ( bool showNew ) : void
ConvertImages ( string imgpath, string gamepath, bool isreplace ) : void
CutImages ( string imgpath, bool isreplace ) : void
ExportData ( string path, string zipname ) : void
IsCancel ( ) : bool
IsRuning ( ) : bool
OnCheckUpdate ( bool showNew ) : void
ReadMSE ( string mseset, bool repalceOld ) : Card[]
Run ( ) : void
SaveMSE ( int num, string file, Card cards, string pack_db, bool rarity, bool isUpdate ) : void
SaveMSEs ( string file, Card cards, bool isUpdate ) : void
SetTask ( MyTask myTask, Card cards ) : void
TaskHelper ( string datapath, BackgroundWorker worker, DataEditorX.Core.Mse.MSEConfig mcfg ) : System
ToImg ( string img, string saveimg1, string saveimg2 ) : void
getLastTask ( ) : MyTask
testPendulumText ( string desc ) : void

Method Details

Cancel() public method

public Cancel ( ) : void
return void

CheckVersion() public static method

public static CheckVersion ( bool showNew ) : void
showNew bool
return void

ConvertImages() public method

public ConvertImages ( string imgpath, string gamepath, bool isreplace ) : void
imgpath string
gamepath string
isreplace bool
return void

CutImages() public method

public CutImages ( string imgpath, bool isreplace ) : void
imgpath string
isreplace bool
return void

ExportData() public method

public ExportData ( string path, string zipname ) : void
path string
zipname string
return void

IsCancel() public method

public IsCancel ( ) : bool
return bool

IsRuning() public method

public IsRuning ( ) : bool
return bool

OnCheckUpdate() public method

public OnCheckUpdate ( bool showNew ) : void
showNew bool
return void

ReadMSE() public method

public ReadMSE ( string mseset, bool repalceOld ) : Card[]
mseset string
repalceOld bool
return Card[]

Run() public method

public Run ( ) : void
return void

SaveMSE() public method

public SaveMSE ( int num, string file, Card cards, string pack_db, bool rarity, bool isUpdate ) : void
num int
file string
cards Card
pack_db string
rarity bool
isUpdate bool
return void

SaveMSEs() public method

public SaveMSEs ( string file, Card cards, bool isUpdate ) : void
file string
cards Card
isUpdate bool
return void

SetTask() public method

public SetTask ( MyTask myTask, Card cards ) : void
myTask MyTask
cards Card
return void

TaskHelper() public method

public TaskHelper ( string datapath, BackgroundWorker worker, DataEditorX.Core.Mse.MSEConfig mcfg ) : System
datapath string
worker System.ComponentModel.BackgroundWorker
mcfg DataEditorX.Core.Mse.MSEConfig
return System

ToImg() public method

public ToImg ( string img, string saveimg1, string saveimg2 ) : void
img string
saveimg1 string
saveimg2 string
return void

getLastTask() public method

public getLastTask ( ) : MyTask
return MyTask

testPendulumText() public method

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