C# Class TagTool.Layouts.AssemblyPluginLoader

ファイルを表示 Open project: TheGuardians/TagTool Class Usage Examples

Public Methods

Method Description
LoadPlugin ( XmlReader reader, string name, Tag groupTag ) : AssemblyPluginLoadResults

Parses an XML plugin into a TagLayout.

Private Methods

Method Description
AssemblyPluginLoader ( string blockName ) : System
HandleElement ( XmlReader reader ) : void
HandleTopLevelElement ( XmlReader reader ) : void
HandleValueElement ( XmlReader reader, string elementName ) : void

Handles an element which describes how a value should be read from the cache file.

ParseBool ( string str ) : bool
ParseInt ( string str ) : int
ParseUInt ( string str ) : uint
PositionInfo ( XmlReader reader ) : string
ReadAscii ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadBits ( XmlReader reader, string name, BasicFieldType type ) : void
ReadColorFormat ( XmlReader reader ) : string
ReadComment ( XmlReader reader ) : void
ReadDataRef ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadElements ( XmlReader reader, bool topLevel ) : void
ReadOption ( XmlReader reader ) : EnumValue
ReadOptions ( XmlReader reader, string name, BasicFieldType type ) : void
ReadRange ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadRaw ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadReflexive ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadShader ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadTagRef ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadUnicList ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
ReadUtf16 ( XmlReader reader, string name, uint offset, bool visible, uint pluginLine ) : void
RegisterField ( uint fieldOffset, uint fieldSize ) : void

Method Details

LoadPlugin() public static method

Parses an XML plugin into a TagLayout.
public static LoadPlugin ( XmlReader reader, string name, Tag groupTag ) : AssemblyPluginLoadResults
reader System.Xml.XmlReader The XmlReader to read the plugin XML from.
name string The name to give the resulting layout.
groupTag Tag The group tag to give to the resulting layout.
return AssemblyPluginLoadResults