C# Class ModuleManager.MMPatchLoader

Inheritance: LoadingSystem
Afficher le fichier Open project: sarbian/ModuleManager Class Usage Examples

Méthodes publiques

Свойство Type Description
appliedPatchCount int
errorCount int
errors string
exceptionCount int
keepPartDB bool
needsUnsatisfiedCount int
patchedNodeCount int
status string
totalPatchCount int

Méthodes publiques

Méthode Description
ApplyPatch ( List excludePaths, string Stage ) : IEnumerator
CheckConstraints ( ConfigNode node, string constraints ) : bool
FindConfigNodeIn ( ConfigNode src, string nodeType, string nodeName = null, int index ) : ConfigNode
IsBracketBalanced ( string str ) : bool
IsPathInList ( string modPath, List pathList ) : bool
IsReady ( ) : bool
ModifyNode ( ConfigNode original, ConfigNode mod ) : ConfigNode
ProgressFraction ( ) : float
ProgressTitle ( ) : string
RemoveWS ( string withWhite ) : string
SplitConstraints ( string condition ) : List
StartLoad ( ) : void
StartLoad ( bool blocking ) : void
Update ( ) : void
WildcardMatch ( string s, string wildcard ) : bool
WildcardMatchValues ( ConfigNode node, string type, string value ) : bool
addErrorFiles ( UrlDir file, int n = 1 ) : void
addPostPatchCallback ( ModuleManagerPostPatchCallback callback ) : void
checkValues ( ) : void
log ( String s ) : void

Private Methods

Méthode Description
Awake ( ) : void
CheckFilesChange ( UrlDir files, ConfigNode shaConfigNode ) : bool
CheckNeeds ( string &name ) : bool

Returns true if needs are satisfied.

CheckNeeds ( ConfigNode subMod, string url, List path ) : void
CheckNeeds ( List excludePaths ) : void
CompareRecursive ( ConfigNode expectNode, ConfigNode gotNode ) : bool
CreateCache ( ) : void
DeepCopy ( ConfigNode from ) : ConfigNode
FileSHA ( string filename ) : string
FindAndReplaceValue ( ConfigNode mod, string &valName, string value, ConfigNode newNode, char op, int index, ConfigNode &origVal, bool hasPosIndex = false, int posIndex, bool hasPosStar = false, char seperator = ',' ) : string
FindValueIn ( ConfigNode newNode, string valName, int index ) : ConfigNode.Value
InsertNode ( ConfigNode newNode, ConfigNode subMod, int index ) : void
InsertValue ( ConfigNode newNode, int index, string name, string value ) : void
IsCacheUpToDate ( ) : void
LoadCache ( ) : void
LoadPhysicsConfig ( ) : void
ParseCommand ( string name, string &valueName ) : Command
PrePatchInit ( ) : List
PrettyConfig ( UrlDir config ) : string
PrettyConfig ( ConfigNode node, StringBuilder &sb, string indent ) : void
ProcessPatch ( bool blocking ) : IEnumerator
ProcessVariableSearch ( string value, ConfigNode node ) : string
PurgeUnused ( List excludePaths ) : void
RecurseNodeSearch ( string path, ConfigNode currentNode ) : ConfigNode
RecurseVariableSearch ( string path, ConfigNode currentNode ) : ConfigNode.Value
RunTestCases ( ) : void
SaveModdedPhysics ( ) : void
SaveModdedTechTree ( ) : void
ShallowCopy ( ConfigNode from, ConfigNode to ) : void
StartCoroutine ( IEnumerator enumerator, bool blocking ) : Coroutine
StatusUpdate ( ) : void
checkValues ( ConfigNode node ) : bool
getFileNode ( ConfigNode shaConfigNode, string filename ) : ConfigNode

Method Details

ApplyPatch() public méthode

public ApplyPatch ( List excludePaths, string Stage ) : IEnumerator
excludePaths List
Stage string
Résultat IEnumerator

CheckConstraints() public static méthode

public static CheckConstraints ( ConfigNode node, string constraints ) : bool
node System.ConfigNode
constraints string
Résultat bool

FindConfigNodeIn() public static méthode

public static FindConfigNodeIn ( ConfigNode src, string nodeType, string nodeName = null, int index ) : ConfigNode
src System.ConfigNode
nodeType string
nodeName string
index int
Résultat System.ConfigNode

IsBracketBalanced() public static méthode

public static IsBracketBalanced ( string str ) : bool
str string
Résultat bool

IsPathInList() public méthode

public IsPathInList ( string modPath, List pathList ) : bool
modPath string
pathList List
Résultat bool

IsReady() public méthode

public IsReady ( ) : bool
Résultat bool

ModifyNode() public méthode

public ModifyNode ( ConfigNode original, ConfigNode mod ) : ConfigNode
original System.ConfigNode
mod System.ConfigNode
Résultat System.ConfigNode

ProgressFraction() public méthode

public ProgressFraction ( ) : float
Résultat float

ProgressTitle() public méthode

public ProgressTitle ( ) : string
Résultat string

RemoveWS() public static méthode

public static RemoveWS ( string withWhite ) : string
withWhite string
Résultat string

SplitConstraints() public static méthode

public static SplitConstraints ( string condition ) : List
condition string
Résultat List

StartLoad() public méthode

public StartLoad ( ) : void
Résultat void

StartLoad() public méthode

public StartLoad ( bool blocking ) : void
blocking bool
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

WildcardMatch() public static méthode

public static WildcardMatch ( string s, string wildcard ) : bool
s string
wildcard string
Résultat bool

WildcardMatchValues() public static méthode

public static WildcardMatchValues ( ConfigNode node, string type, string value ) : bool
node System.ConfigNode
type string
value string
Résultat bool

addErrorFiles() public méthode

public addErrorFiles ( UrlDir file, int n = 1 ) : void
file UrlDir
n int
Résultat void

addPostPatchCallback() public static méthode

public static addPostPatchCallback ( ModuleManagerPostPatchCallback callback ) : void
callback ModuleManagerPostPatchCallback
Résultat void

checkValues() public static méthode

public static checkValues ( ) : void
Résultat void

log() public static méthode

public static log ( String s ) : void
s String
Résultat void

Property Details

appliedPatchCount public_oe property

public int appliedPatchCount
Résultat int

errorCount public_oe property

public int errorCount
Résultat int

errors public_oe property

public string errors
Résultat string

exceptionCount public_oe property

public int exceptionCount
Résultat int

keepPartDB public_oe static_oe property

public static bool keepPartDB
Résultat bool

needsUnsatisfiedCount public_oe property

public int needsUnsatisfiedCount
Résultat int

patchedNodeCount public_oe property

public int patchedNodeCount
Résultat int

status public_oe property

public string status
Résultat string

totalPatchCount public_oe property

public int totalPatchCount
Résultat int