C# Class Terraria.ModLoader.Setup.PatchTask

Inheritance: Task
Datei anzeigen Open project: bluemagic123/tModLoader Class Usage Examples

Public Properties

Property Type Description
baseDir string
cutoff ProgramSetting
format ICSharpCode.NRefactory.CSharp.CSharpFormattingOptions
patchDir string
srcDir string

Public Methods

Method Description
Failed ( ) : bool
FinishedDialog ( ) : void
PatchTask ( ITaskInterface taskInterface, string baseDir, string srcDir, string patchDir, ProgramSetting cutoff, CSharpFormattingOptions format = null ) : System
Run ( ) : void
StartupWarning ( ) : bool
Warnings ( ) : bool

Private Methods

Method Description
CallPatch ( string patchText, string srcFile ) : void
Log ( string text ) : void
Patch ( string relPath ) : void
PreparePatch ( string patchText ) : string

Method Details

Failed() public method

public Failed ( ) : bool
return bool

FinishedDialog() public method

public FinishedDialog ( ) : void
return void

PatchTask() public method

public PatchTask ( ITaskInterface taskInterface, string baseDir, string srcDir, string patchDir, ProgramSetting cutoff, CSharpFormattingOptions format = null ) : System
taskInterface ITaskInterface
baseDir string
srcDir string
patchDir string
cutoff ProgramSetting
format ICSharpCode.NRefactory.CSharp.CSharpFormattingOptions
return System

Run() public method

public Run ( ) : void
return void

StartupWarning() public method

public StartupWarning ( ) : bool
return bool

Warnings() public method

public Warnings ( ) : bool
return bool

Property Details

baseDir public_oe property

public string baseDir
return string

cutoff public_oe property

public ProgramSetting cutoff
return ProgramSetting

format public_oe property

public CSharpFormattingOptions,ICSharpCode.NRefactory.CSharp format
return ICSharpCode.NRefactory.CSharp.CSharpFormattingOptions

patchDir public_oe property

public string patchDir
return string

srcDir public_oe property

public string srcDir
return string