AGS.Plugin.Lua.LuaForAGSEditorComponent.IEditorComponent C# (CSharp) Метод

IEditorComponent() публичный Метод

public IEditorComponent ( XmlTextWriter writer ) : void
writer System.Xml.XmlTextWriter
Результат void
        void IEditorComponent.ToXml(XmlTextWriter writer)
        {
            writer.WriteStartElement("Lua");
            writer.WriteAttributeString("Enabled", IsPluginEnabled.ToString());
            writer.WriteAttributeString("ShownEnableMessage", ShownEnableMessage.ToString());
            writer.WriteAttributeString("ShownDisableMessage", ShownDisableMessage.ToString());
            writer.WriteStartElement("Rooms");
            foreach (CachedRoomInfo roomInfo in RoomInfoCache.Values)
            {
                roomInfo.ToXml(writer);
            }
            writer.WriteEndElement(); // Rooms

            writer.WriteStartElement("ScriptsRootFolder");
            writer.WriteEndElement(); // Scripts

            writer.WriteStartElement("CompileTimeScripts");
            foreach (LuaScriptFileInfo script in compileTimeScripts)
            {
                writer.WriteElementString("Script", script.key);
            }
            writer.WriteEndElement(); // CompileTimeScripts

            globalsTable.ToXml(writer);

            writer.WriteEndElement(); // Lua
        }

Same methods

LuaForAGSEditorComponent::IEditorComponent ( string controlID ) : IList
LuaForAGSEditorComponent::IEditorComponent ( ) : void
LuaForAGSEditorComponent::IEditorComponent ( XmlNode node ) : void
LuaForAGSEditorComponent::IEditorComponent ( string controlID ) : void
LuaForAGSEditorComponent::IEditorComponent ( string propertyName, object oldValue ) : void