EDN Admin
Well-known member
Alright i am in the process of forming a XML document and am in need of some pushes in the right direction.
I understand that to read the file i will need an XMLSerializer for the Desktop application and an XSD file to assist in the extrapulation of the information contained. Problem is that when i build the XML file for use as a design structure for
the XSD file, it takes it literally instead of generalizing.
Problem is when i use VS2010, it doesnt recognize that i can nest the Namespace branch inside itself but instead adds a child node and artificially inflates the XSD. I need a basic structure that i can design and have that design evaluate the XML file
for compliance and then extract the data.
Example Structure:
<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; <<span style="color:#A31515; LUA <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Lotro<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Namespace <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Enum <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; DataScope<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Account<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Character<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Server<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Enum<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Engine<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetCallStack<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; arguments<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; ?<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetDate<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetGameTime<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLocale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLocalTime<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; ScriptLog<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; message<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Object<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; MustInherit<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Plugin<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Inherits<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetAuthor<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetConfiguration<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetName<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetVersion<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Handle <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Load<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; sender<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; args<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Handle<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Handle <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Unload<span style="color:Black; " <span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; sender<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; args<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Handle<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; PluginData<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Load<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; dataScope<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; key<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; dataLoadEventHandler<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Save<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; dataScope<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; key<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; data<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; saveCompleteEventHandler<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; PluginManager<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetAvailablePlugins<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLoadedPlugins<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; LoadPlugin<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; pluginName<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; RefreshAvailablePlugins<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; UnloadScriptState<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; scriptState<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Shell<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; AddCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; name<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; shellCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.ShellCommand<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetCommands<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; IsCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; boolean<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; name<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; RemoveCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; shellCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.ShellCommand<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; WriteLine<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; text<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; ShellCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Execute<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; argumentText<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetHelp<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetShortHelp<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Namespace <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Gameplay<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Actor<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; MustInherit<span style="color:Black; " <span style="color:Red; Inherits<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Gameplay.Entity<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetBaseMaxMorale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetBaseMaxPower<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetEffects<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Gameplay.EffectList<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLevel<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetMaxMorale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetMaxPower<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetMorale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetPower<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Namespace<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Namespace<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; LUA<span style="color:Blue; >
[/code] <hr class="sig Nothing but something
View the full article
I understand that to read the file i will need an XMLSerializer for the Desktop application and an XSD file to assist in the extrapulation of the information contained. Problem is that when i build the XML file for use as a design structure for
the XSD file, it takes it literally instead of generalizing.
Problem is when i use VS2010, it doesnt recognize that i can nest the Namespace branch inside itself but instead adds a child node and artificially inflates the XSD. I need a basic structure that i can design and have that design evaluate the XML file
for compliance and then extract the data.
Example Structure:
<div style="color:Black;background-color:White; <pre>
<span style="color:Blue; <<span style="color:#A31515; LUA <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Lotro<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Namespace <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Enum <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; DataScope<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Account<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Character<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Server<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Enum<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Engine<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetCallStack<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; arguments<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; ?<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetDate<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetGameTime<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLocale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLocalTime<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; ScriptLog<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; message<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Object<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; MustInherit<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Plugin<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Inherits<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetAuthor<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetConfiguration<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetName<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetVersion<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Handle <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Load<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; sender<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; args<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Handle<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Handle <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Unload<span style="color:Black; " <span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; sender<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; args<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; table<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Handle<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; PluginData<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Load<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; dataScope<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; key<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; dataLoadEventHandler<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Save<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; dataScope<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; key<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; data<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; saveCompleteEventHandler<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; PluginManager<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetAvailablePlugins<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLoadedPlugins<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Object<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; LoadPlugin<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; pluginName<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; RefreshAvailablePlugins<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; UnloadScriptState<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; scriptState<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Shell<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; AddCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; name<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; shellCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.ShellCommand<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetCommands<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; IsCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; boolean<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; name<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; RemoveCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; shellCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.ShellCommand<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Function<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; WriteLine<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; text<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; ShellCommand<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Static<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Sub <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Execute<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Value <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; argumentText<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Parameters<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Sub<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetHelp<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetShortHelp<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; string<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Namespace <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Gameplay<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Class <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Actor<span style="color:Black; " <span style="color:Red; Type<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; MustInherit<span style="color:Black; " <span style="color:Red; Inherits<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Gameplay.Entity<span style="color:Black; "<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetBaseMaxMorale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetBaseMaxPower<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetEffects<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; Turbine.Gameplay.EffectList<span style="color:Black; " <span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetLevel<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetMaxMorale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetMaxPower<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetMorale<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; <<span style="color:#A31515; Function <span style="color:Red; Name<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; GetPower<span style="color:Black; " <span style="color:Red; Returns<span style="color:Blue; =<span style="color:Black; "<span style="color:Blue; number<span style="color:Black; "<span style="color:Blue; />
<span style="color:Blue; </<span style="color:#A31515; Methods<span style="color:Blue; >
<span style="color:Blue; <<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Events<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Class<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Namespace<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; Namespace<span style="color:Blue; >
<span style="color:Blue; </<span style="color:#A31515; LUA<span style="color:Blue; >
[/code] <hr class="sig Nothing but something
View the full article