C# Class GameMaker.Context

Show file Open project: WarlockD/GMdsam

Public Properties

Property Type Description
Debug bool
ScriptArgRegex System.Text.RegularExpressions.Regex
Version UndertaleVersion
ct System.Threading.CancellationToken
dataWinChanged bool
debugSearch bool
deleteDirectorys bool
doAsm bool
doAssigmentOffsets bool
doGlobals bool
doLua bool
doSearch bool
doThreads bool
doXML bool
makeObject bool
oneFile bool
outputDirectory System.IO.DirectoryInfo
outputType OutputType
saveAllMasks bool
saveAllPngs bool
saveChangedDataWin bool

Public Methods

Method Description
ChangeEndOfFileName ( string filename, string toAdd ) : string
CheckAndSetOutputDirectory ( string path = null ) : void
CreateFileStream ( string filename, FileMode mode, bool fix_path ) : FileStream
CreateStreamReader ( string filename, bool fix_path ) : StreamWriter
CreateStreamWriter ( string filename, bool fix_path ) : StreamWriter
DeleteAllAndCreateDirectory ( string dir, bool overrideDelete = false ) : string
Error ( Exception e ) : void
Error ( string msg ) : void
Error ( string name, Exception e ) : void
Error ( string msg, ILNode node ) : void
EscapeAndAppend ( this sb, string s ) : void
EscapeChar ( char v ) : string
EscapeString ( string s ) : string
EventToString ( int @event, int subevent ) : string
FatalError ( Exception e ) : void
FatalError ( string msg ) : void
FatalError ( string name, Exception e ) : void
FatalError ( string msg, ILNode node ) : void
FormatDebugOffset ( byte data, int index ) : string
HasFolderWritePermission ( string destDir ) : bool
Info ( string msg ) : void
Info ( string msg, ILNode node ) : void
InstanceToString ( ILValue value ) : string
InstanceToString ( int instance ) : string
KeyToString ( int key ) : string
LookupString ( int index, bool escape = false ) : string
MakeDebugFileName ( File code, string file, bool move = true ) : string
MakeDebugFileName ( string filename, bool move = true ) : string
MakeDebugFileName ( string code_name, string file, bool move = true ) : string
Message ( string msg ) : void
MoveFileToOldErrors ( string dfilename, bool move = true ) : string
Warning ( string msg ) : void
Warning ( string msg, ILNode node ) : void

Private Methods

Method Description
Context ( ) : System
InternalSimpleEscape ( string s ) : IEnumerable

Method Details

ChangeEndOfFileName() public static method

public static ChangeEndOfFileName ( string filename, string toAdd ) : string
filename string
toAdd string
return string

CheckAndSetOutputDirectory() public static method

public static CheckAndSetOutputDirectory ( string path = null ) : void
path string
return void

CreateFileStream() public static method

public static CreateFileStream ( string filename, FileMode mode, bool fix_path ) : FileStream
filename string
mode FileMode
fix_path bool
return System.IO.FileStream

CreateStreamReader() public static method

public static CreateStreamReader ( string filename, bool fix_path ) : StreamWriter
filename string
fix_path bool
return System.IO.StreamWriter

CreateStreamWriter() public static method

public static CreateStreamWriter ( string filename, bool fix_path ) : StreamWriter
filename string
fix_path bool
return System.IO.StreamWriter

DeleteAllAndCreateDirectory() public static method

public static DeleteAllAndCreateDirectory ( string dir, bool overrideDelete = false ) : string
dir string
overrideDelete bool
return string

Error() public static method

public static Error ( Exception e ) : void
e System.Exception
return void

Error() public static method

public static Error ( string msg ) : void
msg string
return void

Error() public static method

public static Error ( string name, Exception e ) : void
name string
e System.Exception
return void

Error() public static method

public static Error ( string msg, ILNode node ) : void
msg string
node ILNode
return void

EscapeAndAppend() public static method

public static EscapeAndAppend ( this sb, string s ) : void
sb this
s string
return void

EscapeChar() public static method

public static EscapeChar ( char v ) : string
v char
return string

EscapeString() public static method

public static EscapeString ( string s ) : string
s string
return string

EventToString() public static method

public static EventToString ( int @event, int subevent ) : string
@event int
subevent int
return string

FatalError() public static method

public static FatalError ( Exception e ) : void
e System.Exception
return void

FatalError() public static method

public static FatalError ( string msg ) : void
msg string
return void

FatalError() public static method

public static FatalError ( string name, Exception e ) : void
name string
e System.Exception
return void

FatalError() public static method

public static FatalError ( string msg, ILNode node ) : void
msg string
node ILNode
return void

FormatDebugOffset() public static method

public static FormatDebugOffset ( byte data, int index ) : string
data byte
index int
return string

HasFolderWritePermission() public static method

public static HasFolderWritePermission ( string destDir ) : bool
destDir string
return bool

Info() public static method

public static Info ( string msg ) : void
msg string
return void

Info() public static method

public static Info ( string msg, ILNode node ) : void
msg string
node ILNode
return void

InstanceToString() static public method

static public InstanceToString ( ILValue value ) : string
value ILValue
return string

InstanceToString() static public method

static public InstanceToString ( int instance ) : string
instance int
return string

KeyToString() public static method

public static KeyToString ( int key ) : string
key int
return string

LookupString() static public method

static public LookupString ( int index, bool escape = false ) : string
index int
escape bool
return string

MakeDebugFileName() static public method

static public MakeDebugFileName ( File code, string file, bool move = true ) : string
code System.IO.File
file string
move bool
return string

MakeDebugFileName() static public method

static public MakeDebugFileName ( string filename, bool move = true ) : string
filename string
move bool
return string

MakeDebugFileName() static public method

static public MakeDebugFileName ( string code_name, string file, bool move = true ) : string
code_name string
file string
move bool
return string

Message() public static method

public static Message ( string msg ) : void
msg string
return void

MoveFileToOldErrors() public static method

public static MoveFileToOldErrors ( string dfilename, bool move = true ) : string
dfilename string
move bool
return string

Warning() public static method

public static Warning ( string msg ) : void
msg string
return void

Warning() public static method

public static Warning ( string msg, ILNode node ) : void
msg string
node ILNode
return void

Property Details

Debug static public property

static public bool Debug
return bool

ScriptArgRegex public static property

public static Regex,System.Text.RegularExpressions ScriptArgRegex
return System.Text.RegularExpressions.Regex

Version static public property

static public UndertaleVersion Version
return UndertaleVersion

ct static public property

static public CancellationToken,System.Threading ct
return System.Threading.CancellationToken

dataWinChanged static public property

static public bool dataWinChanged
return bool

debugSearch static public property

static public bool debugSearch
return bool

deleteDirectorys static public property

static public bool deleteDirectorys
return bool

doAsm static public property

static public bool doAsm
return bool

doAssigmentOffsets static public property

static public bool doAssigmentOffsets
return bool

doGlobals static public property

static public bool doGlobals
return bool

doLua static public property

static public bool doLua
return bool

doSearch static public property

static public bool doSearch
return bool

doThreads static public property

static public bool doThreads
return bool

doXML static public property

static public bool doXML
return bool

makeObject static public property

static public bool makeObject
return bool

oneFile static public property

static public bool oneFile
return bool

outputDirectory static public property

static public DirectoryInfo,System.IO outputDirectory
return System.IO.DirectoryInfo

outputType static public property

static public OutputType outputType
return OutputType

saveAllMasks static public property

static public bool saveAllMasks
return bool

saveAllPngs static public property

static public bool saveAllPngs
return bool

saveChangedDataWin static public property

static public bool saveChangedDataWin
return bool