Exemplo n.º 1
0
        protected override void CustomLoad(VPOptions xmlOptions)
        {
            if (null == xmlOptions)
            {
                return;
            }
            if (!(xmlOptions is MiqoCraftOptions))
            {
                return;
            }

            MiqoCraftOptions options = xmlOptions as MiqoCraftOptions;

            if (null == options)
            {
                return;
            }

            Collectable         = options.Collectable;
            RepairMoveValue     = options.RepairMoveValue;
            IgnoreCatalysts     = options.IgnoreCatalysts;
            QuickCraft          = options.QuickCraft;
            GatheringRotation   = options.GatheringRotation;
            CraftPreset         = options.CraftPreset;
            NQHQPreset          = options.NQHQPreset;
            CustomTeleport      = options.CustomTeleport;
            NbPerNode           = options.NbPerNode;
            LastSearchResult    = options.LastSearchResult;
            ListItemOptions     = options.ListItemOptions;
            MiqoPresetPath      = options.MiqoPresetPath;
            ListGatherableItems = options.ListGatherableItems;
            ListGridOKItems     = options.ListGridOKItems;
            ListCraftableItems  = options.ListCraftableItems;
            CraftSectionOnly    = options.CraftSectionOnly;
        }
        protected override void CustomLoad(VPOptions xmlOptions)
        {
            if (null == xmlOptions)
            {
                return;
            }
            if (!(xmlOptions is MiqoGridFinderOptions))
            {
                return;
            }

            MiqoGridFinderOptions options = xmlOptions as MiqoGridFinderOptions;

            if (null == options)
            {
                return;
            }

            ListGatheringNodes   = options.ListGatheringNodes;
            ListAetherytes       = options.ListAetherytes;
            ListAllGatheredItems = options.ListAllGatheredItems;
        }