public void Default()
        {
            Output = "./";

            SourcePath     = "./sources/";
            BaseNamespace  = "Symbioz.Protocol";
            UseIEnumerable = false;

            XmlMessagesProfile =
                new XmlMessagesProfile
            {
                Name          = "Xml Messages classes",
                OutPutPath    = "messages_xml/",
                SourcePath    = @"com/ankamagames/dofus/network/messages/",
                EnableParsing = true,
            };

            XmlTypesProfile =
                new XmlTypesProfile
            {
                Name          = "Xml Types classes",
                OutPutPath    = "types_xml/",
                SourcePath    = @"com/ankamagames/dofus/network/types/",
                EnableParsing = true,
            };

            MessagesProfile =
                new MessagesProfile
            {
                Name            = "Messages classes",
                SourcePath      = @"com/ankamagames/dofus/network/messages/",
                TemplatePath    = "./Templates/MessageTemplate.tt",
                OutPutPath      = "messages/",
                OutPutNamespace = ".Messages",
            };

            TypesProfile =
                new TypesProfile
            {
                Name            = "Types classes",
                SourcePath      = @"com/ankamagames/dofus/network/types/",
                TemplatePath    = "./Templates/TypeTemplate.tt",
                OutPutPath      = "types/",
                OutPutNamespace = ".Types",
            };

            EnumsProfile =
                new EnumsProfile
            {
                Name            = "Enums",
                SourcePath      = @"com/ankamagames/dofus/network/enums/",
                OutPutPath      = "enums/",
                OutPutNamespace = ".Enums",
                TemplatePath    = "./Templates/EnumTemplate.tt",
                EnableParsing   = true,
            };
        }
Exemple #2
0
        public void SetDefault()
        {
            Output = "./";

            // decompiled with sothink
            SourcePath     = "./sources/";
            BaseNamespace  = "Stump.DofusProtocol";
            UseIEnumerable = true;

            XmlMessagesProfile =
                new XmlMessagesProfile
            {
                Name          = "Xml Messages classes",
                OutPutPath    = "messages_xml/",
                SourcePath    = @"com/ankamagames/dofus/network/messages/",
                EnableParsing = true,
            };

            XmlTypesProfile =
                new XmlTypesProfile
            {
                Name          = "Xml Types classes",
                OutPutPath    = "types_xml/",
                SourcePath    = @"com/ankamagames/dofus/network/types/",
                EnableParsing = true,
            };

            MessagesProfile =
                new MessagesProfile
            {
                Name            = "Messages classes",
                SourcePath      = @"com/ankamagames/dofus/network/messages/",
                TemplatePath    = "./Templates/MessageTemplate.tt",
                OutPutPath      = "messages/",
                OutPutNamespace = ".Messages",
            };

            TypesProfile =
                new TypesProfile
            {
                Name            = "Types classes",
                SourcePath      = @"com/ankamagames/dofus/network/types/",
                TemplatePath    = "./Templates/TypeTemplate.tt",
                OutPutPath      = "types/",
                OutPutNamespace = ".Types",
            };

            EnumsProfile =
                new EnumsProfile
            {
                Name            = "Enums",
                SourcePath      = @"com/ankamagames/dofus/network/enums/",
                OutPutPath      = "enums/",
                OutPutNamespace = ".Enums",
                TemplatePath    = "./Templates/EnumTemplate.tt",
                EnableParsing   = true,
            };

            DatacenterProfile =
                new DatacenterProfile
            {
                Name            = "D2O Data classes",
                SourcePath      = @"com/ankamagames/dofus/datacenter/",
                OutPutPath      = "d2oclasses/",
                OutPutNamespace = ".D2oClasses",
                TemplatePath    = "./Templates/DataCenterTemplate.tt",
                IgnoreMethods   = false,
                EnableParsing   = true,
            };

            DataRecordProfile = new DataRecordProfile
            {
                Name            = "DB classes",
                SourcePath      = @"com/ankamagames/dofus/datacenter/",
                OutPutPath      = "dbclasses/",
                OutPutNamespace = ".Data",
                TemplatePath    = "./Templates/DBTemplate.tt",
                IgnoreMethods   = false,
                EnableParsing   = true,
            };
        }
Exemple #3
0
        public void SetDefault()
        {
            Output = @"~\AmaknaProxy\AmaknaProxy.API\Protocol";

            SourcePath     = @"~\DofusInvoker\scripts";
            BaseNamespace  = "AmaknaProxy.API.Protocol";
            UseIEnumerable = false;

            XmlMessagesProfile =
                new XmlMessagesProfile
            {
                Name       = "Xml Messages classes",
                OutPutPath = "Messages_Xml/",
                SourcePath = @"com/ankamagames/dofus/network/messages/",
            };

            XmlTypesProfile =
                new XmlTypesProfile
            {
                Name       = "Xml Types classes",
                OutPutPath = "Types_Xml/",
                SourcePath = @"com/ankamagames/dofus/network/types/",
            };

            MessagesProfile =
                new MessagesProfile
            {
                Name            = "Messages classes",
                SourcePath      = @"com/ankamagames/dofus/network/messages/",
                TemplatePath    = "./Templates/MessageTemplate.tt",
                OutPutPath      = "Messages/",
                OutPutNamespace = ".Messages",
            };

            TypesProfile =
                new TypesProfile
            {
                Name            = "Types classes",
                SourcePath      = @"com/ankamagames/dofus/network/types/",
                TemplatePath    = "./Templates/TypeTemplate.tt",
                OutPutPath      = "Types/",
                OutPutNamespace = ".Types",
            };

            EnumsProfile =
                new EnumsProfile
            {
                Name            = "Enums",
                SourcePath      = @"com/ankamagames/dofus/network/enums/",
                OutPutPath      = "Enums/",
                OutPutNamespace = ".Enums",
                TemplatePath    = "./Templates/EnumTemplate.tt",
            };

            DatacenterProfile =
                new DatacenterProfile
            {
                Name            = "D2O Data classes",
                SourcePath      = @"com/ankamagames/dofus/datacenter/",
                OutPutPath      = "Data/",
                OutPutNamespace = ".Data",
                TemplatePath    = "./Templates/DataCenterTemplate.tt",
            };
        }