Example #1
0
        private static void Setup()
        {
            // The root "menu"
            var root = new SuperParent("Root");

            // A normal Menu
            var comboParent = new Parent("Combo");

            comboParent.Switch = new BoolSwitch(comboParent.Menu, "Disabled", false, comboParent);

            // 2 children containing the same logic
            var child  = new ExampleChild("Child");
            var child2 = new ExampleChild("Child2");

            /* "Connects" each composition element
             *
             * compositionElement.AddChild(compositionElement)
             *
             */

            root.Add(comboParent);

            comboParent.Add(child);
            comboParent.Add(child2);

            /* Example Output:
             * Root > Combo            > Child            > Enabled [On/Off]
             *        Enabled [On/Off]   Child2           > Enabled [On/Off]
             *                           Enabled [On/Off]
             */
        }
Example #2
0
        public void InsertAfter(LinkMember node)
        {
            if (this == node)
            {
                return;
            }

            LinkMember after;

            if ((after = NextSibling) is null)
            {
                Parent.Add(node);
            }
            else
            {
                if (IsAncestorOf(node))
                {
                    return;
                }

                Mend(END, after, node);

                node.Parent = Parent;
            }
        }
Example #3
0
        /// <summary>Loads this instance.</summary>
        public void Load()
        {
            var    areaRepository          = new RelationalRepository <AreaRecord>();
            string areaNumber              = Parent.Id.Replace("area/", string.Empty);
            long   persistedAreaID         = long.Parse(areaNumber);
            ICollection <RoomRecord> rooms = areaRepository.GetRoomsForArea(persistedAreaID);

            foreach (var roomRecord in rooms)
            {
                var roomBehavior = new RoomBehavior()
                {
                    ID = roomRecord.ID,
                };
                var currRoom = new Thing(roomBehavior)
                {
                    Name        = roomRecord.Name,
                    Description = roomRecord.Description,
                    Id          = "room/" + roomRecord.ID,
                };

                // Load this room and it's children.
                roomBehavior.Load();
                Parent.Add(currRoom);
            }
        }
Example #4
0
        public override void OnButtonClick(int buttonID)
        {
            switch ((Buttons)buttonID)
            {
            case Buttons.Prev:

            {
                if (_Parent != null && _Parent.TopLevel)
                {
                    Parent.Add(new CreateCharProfessionGump());
                    Parent.Remove(this);
                }
                else
                {
                    Parent.Remove(this);
                    CharCreationGump charCreationGump = UIManager.GetGump <CharCreationGump>();
                    charCreationGump?.StepBack();
                }

                break;
            }
            }

            base.OnButtonClick(buttonID);
        }
        public void Fill(int limit)
        {
            int count = 0;

            while (count < limit)
            {
                ControlDatabase control   = new ControlDatabase();
                Children        children1 = new Children(GetFIO(), GetMale(), GetBirth(), GetPhone(), GetAdress(), GetNumber(), GetLiter());

                children1.Add();
                int IDch = control.GetLastID("Childrens");

                Parent _parent1 = new Parent(GetFIO(), GetProximity(), GetBirth(), GetPhone(), GetAdress(), GetPosition(), GetCompany());
                _parent1.Add();
                int IDpar1 = control.GetLastID("Parents");

                Parent _parent2 = new Parent(GetFIO(), GetProximity(), GetBirth(), GetPhone(), GetAdress(), GetPosition(), GetCompany());
                _parent2.Add();
                int IDpar2 = control.GetLastID("Parents");


                control.Add(IDch, IDpar1);
                control.Add(IDch, IDpar2);
                count++;
            }
        }
Example #6
0
        /// <summary>
        /// 同じ階層でこの要素の直後に指定した要素を挿入します。</summary>
        ///
        public void InsertAfter(TreeElement anElement)
        {
            if (anElement == null)
            {
                throw new ArgumentNullException("anElement");
            }
            if (this.IsTop)
            {
                throw new InvalidOperationException("ルート要素の前後に要素を挿入することは出来ません。");
            }
            if (this.IsContainsStructure(anElement))
            {
                throw new InvalidOperationException("追加しようとした要素は既にこの要素を含む構造内に含まれています。");
            }

            if (this.IsLastChild)
            {
                Parent.Add(anElement);
            }
            else
            {
                this.StructureReferenceElements.Add(anElement);
                anElement.SetParentElement(this.Parent);
                this.Parent.ChildElements.Insert(this.Index + 1, anElement);
            }
        }
Example #7
0
        public virtual void Reset(int from, int to, int image, Glowing glowing, ICallback listener)
        {
            Revive();

            View(image, glowing);

            _callback = listener;

            Point(DungeonTilemap.TileToWorld(from));
            var dest = DungeonTilemap.TileToWorld(to);

            var d = PointF.Diff(dest, Point());

            Speed.Set(d).Normalize().Scale(SPEED);

            if (image == 31 || image == 108 || image == 109 || image == 110)
            {
                AngularSpeed = 0;
                Angle        = 135 - (float)(Math.Atan2(d.X, d.Y) / 3.1415926 * 180);
            }
            else
            {
                AngularSpeed = image == 15 || image == 106 ? 1440 : 720;
            }

            var tweener = new PosTweener(this, dest, d.Length / SPEED);

            tweener.Listener = this;
            Parent.Add(tweener);
        }
Example #8
0
        /// <summary>
        /// Init: the scrolling level itself. First Init method that is called
        /// </summary>
        protected virtual void InitLevel()
        {
            var t = StatusText;

            t.IsAutoPosition     = false;
            t.ScaleVector        = new Vector2(1f, 1f);
            t.Motion.Scale       = 0.4f;
            t.Motion.Position    = new Vector2(Screen.Center.X * 1.5f, 0.01f);
            t.ShadowVector       = new Vector2(1f, 1f); // adapt shadow for small text
            t.DrawInfo.DrawColor = Color.Coral;         // Color.LightSalmon;
            Parent.Add(t);

            HELPSCROLL_SHOW_POS              = new Vector2(Screen.Width - 0.09f, 0.01f);
            HELPSCROLL_HIDE_POS              = new Vector2(HELPSCROLL_SHOW_POS.X, -1f);
            HelpScroll.Motion.Position       = HELPSCROLL_HIDE_POS;
            HelpScroll.Motion.TargetPos      = HELPSCROLL_HIDE_POS;
            HelpScroll.Motion.TargetPosSpeed = 3f;
            HelpScroll.DrawInfo.Center       = new Vector2(1f, 0f);
            HelpScroll.DrawInfo.LayerDepth   = 0.01f;
            Parent.Add(HelpScroll);

            Motion.Scale       = DEFAULT_SCALE;
            Motion.ScaleTarget = DEFAULT_SCALE;
            // create own custom SpriteBatch for blocky graphics (PointClamp)
            //MySpriteBatch = new TTSpriteBatch(Screen.graphicsDevice,SpriteSortMode.BackToFront, BlendState.AlphaBlend, SamplerState.PointClamp, null, null);
        }
Example #9
0
        protected override void InitLevelSpecific()
        {
            Music = new GameMusic();
            Add(Music);

            SubtitleText t = new SubtitleText();

            t.AddText("QUEST FOR THE\nPIXEL PRINCESS", 6f);
            t.AddText("You, The Golden Knight, must\nrescue the princess...", 5f);
            t.AddText("...from the clutches of\nthe evil Red Guard.", 5f);
            //t.AddText("...from the clutches of\nthe evil Red Guard.", 5f);
            Subtitles.Show(0, t);

            t           = new SubtitleText("My ears! Hark the drums\nof the Red Guard!");
            t.StartTime = 64.0f;
            t.Duration  = 10.0f;
            Subtitles.Show(0, t);

            t = new SubtitleText();
            t.AddText("Music 'The Never Ending Quest For The\nPrincess II' by Producer Snafu!\nCC-BY-NC  producersnafu.bandcamp.com", 10f);
            t.AddText("FMOD Audio engine\n(c) Firelight Technologies Pty, Ltd. 2004-2009.", 6f);
            //t.Duration = 10f;
            Parent.Add(t);
            t.ScaleVector     = new Vector2(1f, 1f);
            t.Motion.Scale    = 0.35f;/// DEFAULT_SCALE;
            t.Motion.Position = new Vector2(0.35f, 0.25f);
            //t.DrawInfo.Center = Vector2.Zero;
            t.StartTime = 17f;
        }
 internal void InkConfirmButton_TouchUpInside(object sender, EventArgs e)
 {
     Parent.pdfViewerControl.EndInkSession(true);
     Parent.pdfViewerControl.AnnotationMode = AnnotationMode.None;
     Parent.annotHelper.RemoveAllToolbars(false);
     Parent.Add(Parent.annotationToolbar);
 }
Example #11
0
        private void HandleConnect(MouseOverInteractable interactable)
        {
            if (ImprovedMouse.DidJustRightClick && !GameState.GameOver)
            {
                if (interactable.Type == InteractableType.Node)
                {
                    startConnection = interactable.Entity;
                    if (IsAlive(startConnection))
                    {
                        var connectionLine = new ConnectionLine(startConnection, this);
                        Parent.Add(connectionLine);
                        connecting = connectionLine;
                    }
                }

                SetTexture("handclick");
            }

            if (IsConnecting && ImprovedMouse.DidJustRightRelease)
            {
                if (interactable.Type == InteractableType.Node && CanConnect(connecting, startConnection, interactable.Entity))
                {
                    connecting.Connected(startConnection, interactable.Entity);
                    ConnectionHelper.RealignAllConnections();
                }
                else
                {
                    Parent.Remove(connecting);
                }
                SetTexture("hand");
                connecting = null;
            }
        }
Example #12
0
        public virtual void Initialize()
        {
            if (Parent == null || Parent.IsWrappingNullReference)
            {
                return;
            }

            try
            {
                Item           = Parent.Add(_name, _position);
                Item.IsVisible = true;
            }
            catch (COMException exception)
            {
                Logger.Error(exception, $"Failed to add the command bar {_name}.");
                return;
            }
            foreach (var item in _items.Keys.OrderBy(item => item.DisplayOrder))
            {
                try
                {
                    _items[item] = InitializeChildControl(item);
                }
                catch (Exception e)
                {
                    Logger.Error(e, $"Initialization of the menu item for {item.Command.GetType().Name} threw an exception.");
                }
            }
        }
        /// <summary>
        /// OnInitialized 方法
        /// </summary>
        protected override void OnInitialized()
        {
            base.OnInitialized();

            ComponentNames?.Add(Text);
            Parent?.Add(this);
        }
Example #14
0
 public void InitDefaultSlider()
 {
     m_Slider         = new UISlider();
     m_Slider.Texture = ScrollbarImage;
     AttachSlider(m_Slider);
     PositionChildSlider();
     Parent.Add(m_Slider);
 }
 internal void TextToolbarBackButton_TouchUpInside(object sender, EventArgs e)
 {
     Parent.pdfViewerControl.AnnotationMode = AnnotationMode.None;
     Parent.annotHelper.RemoveAllToolbars(false);
     Parent.Add(Parent.textAnnotationToolbar);
     Parent.isAnnotationToolbarVisible = true;
     Parent.textToolbarBackButton.RemoveFromSuperview();
 }
 public override void Visit(IVectorLength length)
 {
     if (NameTable.ContainsKey(length.Vector))
     {
         TryAdd(length, NameTable[length.Vector] + ".Length");
         Parent.Add(length, length.Vector);
     }
 }
Example #17
0
 private void ColorPicker_MouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButton.Left)
     {
         Parent?.Add(_colorPickerBox);
         _colorPickerBox.ColorSelectedIndex += ColorPickerBox_Selected;
     }
 }
Example #18
0
 public override IElement Add(object content)
 {
     if (!Exists && this.Parent != null)
     {
         Parent.Add(this);
     }
     return(base.Add(content));
 }
Example #19
0
        public override void Link(Character ch)
        {
            base.Link(ch);

            _emitter          = new Emitter();
            _emitter.AutoKill = false;
            _emitter.Pos(X + 7, Y + 12);
            Parent.Add(_emitter);
        }
Example #20
0
        public override void Link(Character ch)
        {
            base.Link(ch);

            if (_shield == null)
            {
                Parent.Add(_shield = new Shield(this));
            }
        }
 internal void StrikeOutAnnotationButton_TouchUpInside(object sender, EventArgs e)
 {
     Parent.pdfViewerControl.AnnotationMode = AnnotationMode.Strikethrough;
     Parent.textAnnotationToolbar.RemoveFromSuperview();
     Parent.isAnnotationToolbarVisible = true;
     Parent.deleteButton.RemoveFromSuperview();
     Parent.strikeOutToolbar = CreateSeparateAnnotationToolbar(Parent.strikeOutToolbar, Parent.strikeEnable, "\ue71e", false, Parent.pdfViewerControl.AnnotationSettings.TextMarkup.Strikethrough.Color);
     Parent.Add(Parent.strikeOutToolbar);
 }
Example #22
0
        internal bool Add(ConfigurationSection section, Location location, FileContext top)
        {
            var definition = DefinitionCache.FirstOrDefault(item => item.Path == section.ElementTagName);

            if (definition != null)
            {
                if (definition.AllowLocation == SectionGroup.KEYWORD_FALSE && location != null && location.FromTag)
                {
                    throw new ServerManagerException("Section is not allowed in location tag");
                }

                section.OverrideMode = location?.OverrideMode == null
                    ? OverrideMode.Inherit
                    : (OverrideMode)Enum.Parse(typeof(OverrideMode), location.OverrideMode);

                if (section.OverrideMode == OverrideMode.Inherit)
                {
                    var parent = location?.Path == null ? null : section.FileContext.FindSection(section.SectionPath, location.Path.GetParentLocation(), section.FileContext);
                    if (parent == null)
                    {
                        section.OverrideModeEffective = (OverrideMode)Enum.Parse(typeof(OverrideMode), definition.OverrideModeDefault);
                    }
                    else
                    {
                        if (parent.OverrideModeEffective == OverrideMode.Deny && parent.FileContext != this)
                        {
                            throw new FileLoadException(
                                      $"Filename: \\\\?\\{section.FileContext.FileName}\r\nLine number: {(section.Entity as IXmlLineInfo).LineNumber}\r\nError: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=\"Deny\"), or set explicitly by a location tag with overrideMode=\"Deny\" or the legacy allowOverride=\"false\".\r\n\r\n");
                        }

                        section.OverrideModeEffective = parent.OverrideModeEffective;
                    }
                }
                else
                {
                    section.OverrideModeEffective = section.OverrideMode;
                }

                section.IsLocked = section.FileContext.FileName != definition.FileContext.FileName &&
                                   section.OverrideModeEffective != OverrideMode.Allow;
                section.IsLocallyStored = section.FileContext.FileName == definition.FileContext.FileName;
                top.ConfigurationSections.Add(section);
                return(true);
            }

            if (Parent != null)
            {
                var parentContext = Parent.Add(section, location, top);
                if (parentContext)
                {
                    return(true);
                }
            }

            throw new FileLoadException(
                      $"Filename: \\\\?\\{section.FileContext.FileName}\r\nLine number: {(section.Entity as IXmlLineInfo).LineNumber}\r\nError: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault=\"Deny\"), or set explicitly by a location tag with overrideMode=\"Deny\" or the legacy allowOverride=\"false\".\r\n\r\n");
        }
Example #23
0
 public void ResolveType(string entitySetName, DataServiceOperationContext operationContext)
 {
     Parent.Add(new APICallLogEntry("IDataServiceStreamProvider.ResolveType",
                                    "entitySetName", (entitySetName == null ? "null" : entitySetName),
                                    "AbsoluteRequestUri", operationContext.AbsoluteRequestUri.ToString(),
                                    "AbsoluteServiceUri", operationContext.AbsoluteServiceUri.ToString(),
                                    "IsBatchRequest", operationContext.IsBatchRequest.ToString(),
                                    "RequestMethod", operationContext.RequestMethod.ToUpperInvariant()));
 }
Example #24
0
 public void GetStreamETag(object entity, DataServiceOperationContext operationContext)
 {
     Parent.Add(new APICallLogEntry("IDataServiceStreamProvider.GetStreamETag",
                                    "entity", this.Parent.Serialize(entity),
                                    "AbsoluteRequestUri", operationContext.AbsoluteRequestUri.ToString(),
                                    "AbsoluteServiceUri", operationContext.AbsoluteServiceUri.ToString(),
                                    "IsBatchRequest", operationContext.IsBatchRequest.ToString(),
                                    "RequestMethod", operationContext.RequestMethod.ToUpperInvariant()));
 }
Example #25
0
        public override void DoZap(int pos)
        {
            _points[0] = Ch.pos;
            _points[1] = pos;
            Parent.Add(new Lightning(_points, 2, (Shaman)Ch));

            TurnTo(Ch.pos, pos);
            Play(ZapAnimation);
        }
        internal void CreateInkSessionToolbar()
        {
            Parent.toolBarFrame        = Parent.Frame;
            Parent.toolBarFrame.Height = DefaultToolbarHeight;
            Parent.toolBarFrame.Y      = 0;
            Parent.inkAnnotationSessionToolbar.Frame            = Parent.toolBarFrame;
            Parent.inkAnnotationSessionToolbar.BackgroundColor  = UIColor.FromRGB(249, 249, 249);
            Parent.inkAnnotationSessionToolbar.AutoresizingMask = UIViewAutoresizing.FlexibleBottomMargin | UIViewAutoresizing.FlexibleWidth;

            if ((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
            {
                Parent.inkUndoButton.Frame = new CGRect(Parent.parentView.Frame.Width / 2 - 25, 7, 35, 35);
            }
            else
            {
                Parent.inkUndoButton.Frame = new CGRect(130, 7, 35, 35);
            }
            Parent.inkUndoButton.HorizontalAlignment = UIControlContentHorizontalAlignment.Center;
            Parent.inkUndoButton.TouchUpInside      += InkUndoButton_TouchUpInside;;;
            Parent.inkUndoButton.Font = Parent.highFont;
            Parent.inkUndoButton.SetTitle("\ue70a", UIControlState.Normal);
            Parent.inkUndoButton.SetTitleColor(UIColor.LightGray, UIControlState.Normal);
            Parent.inkAnnotationSessionToolbar.Add(Parent.inkUndoButton);

            if ((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
            {
                Parent.inkRedoButton.Frame = new CGRect(Parent.parentView.Frame.Width / 2 + 10, 7, 35, 35);
            }
            else
            {
                Parent.inkRedoButton.Frame = new CGRect(175, 7, 35, 35);
            }
            Parent.inkRedoButton.HorizontalAlignment = UIControlContentHorizontalAlignment.Center;
            Parent.inkRedoButton.TouchUpInside      += InkRedoButton_TouchUpInside;
            Parent.inkRedoButton.Font = Parent.highFont;
            Parent.inkRedoButton.SetTitle("\ue716", UIControlState.Normal);
            Parent.inkRedoButton.SetTitleColor(UIColor.LightGray, UIControlState.Normal);
            Parent.inkAnnotationSessionToolbar.Add(Parent.inkRedoButton);

            if ((UIDevice.CurrentDevice).UserInterfaceIdiom == UIUserInterfaceIdiom.Pad)
            {
                Parent.inkConfirmButton.Frame = new CGRect(Parent.parentView.Frame.Width - 50, 7, 35, 35);
            }
            else
            {
                Parent.inkConfirmButton.Frame = new CGRect(Parent.parentView.Frame.Width - 50, 7, 35, 35);
            }
            Parent.inkConfirmButton.HorizontalAlignment = UIControlContentHorizontalAlignment.Center;
            Parent.inkConfirmButton.TouchUpInside      += InkConfirmButton_TouchUpInside;
            Parent.inkConfirmButton.Font = Parent.highFont;
            Parent.inkConfirmButton.SetTitle("\ue715", UIControlState.Normal);
            Parent.inkConfirmButton.SetTitleColor(UIColor.FromRGB(0, 118, 255), UIControlState.Normal);
            Parent.inkAnnotationSessionToolbar.Add(Parent.inkConfirmButton);

            Parent.Add(Parent.inkAnnotationSessionToolbar);
        }
Example #27
0
        protected override void OnNewParent()
        {
            base.OnNewParent();

            // some items are part of the parent, to avoid scaling issues in GardenGamesPanel
            // (which get rescaled/zoomed based on user input).
            Parent.Add(infoBox);
            Parent.Add(helpTextBitmap);
            Parent.Add(creditsBitmap);
        }
Example #28
0
 public bool Set(bool save = true)
 {
     if (save & Parent != null)
     {
         Start = Builder.PilePos[Builder.PilePos.Count - 1];
         End   = Builder.CurrentPos - 1;
         Parent.Add(this);
     }
     return(Builder.Leave(save));
 }
        /// <summary>
        /// Method invoked when the component is ready to start, having received its
        /// initial parameters from its parent in the render tree.
        /// </summary>
        protected override void OnInitialized()
        {
            if (Parent == null)
            {
                throw new ArgumentException($"The child component '{GetType().Name}' must create inside of '{Parent.GetType().Name}' component");
            }

            base.OnInitialized();
            Parent.Add(this);
        }
Example #30
0
        public override IElement Add(object content)
        {
            if (!Exists && !ReadOnly)
            {
                IsNull = false;
                Parent.Add(this);
            }

            return(base.Add(content));
        }
Example #31
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var drawingParent = new Parent("Drawings");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new AsheSkinchanger());

            var setSpell = new SetSpells();
            setSpell.Load();

            comboParent.Add(new ChildBase[]
            {
                new QCombo(),
                new WCombo(),
                new ECombo(),
                new RCombo()
            });

            mixedParent.Add(new ChildBase[]
            {
                new QMixed(),
                new WMixed() 
            });

            jungleParent.Add(new ChildBase[]
            {
                new QJungle(),
                new WJungle()
            });

           laneParent.Add(new ChildBase[]
           {
               new QLane(),
               new WLane()  
           });

            drawingParent.Add(new ChildBase[]
            {
               new WDraw(),
               new DmgDraw() 
            });
           
            superParent.Add(new Base[] {
                utilityParent,
                orbwalkerModule,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                drawingParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Ashe!</font></b>");
        }
Example #32
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var spells = new Spells(); // - RIP CLEAN CODE
            spells.Initialize();

            var orbwalker = new OrbwalkerModule();
            orbwalker.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var laneParent = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var killstealParent = new Parent("Killsteal");
            var fleeParent = new Parent("Flee");
            var drawingParent = new Parent("Drawing");

            var mustNotBeWindingUp = new PlayerMustNotBeWindingUp();
            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var w2Ready = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new Base[]
            {
                new QCombo().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new WCombo().Guardian(w2Ready).Guardian(mustNotBeWindingUp),
                new ECombo().Guardian(eReady).Guardian(mustNotBeWindingUp),
                new RCombo().Guardian(rReady)
            });

            harassParent.Add(new Base[]
            {
                new QHarass().Guardian(qReady).Guardian(mustNotBeWindingUp) 
            });

            laneParent.Add(new Base[]
            {
                new QLane().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new W2Lane().Guardian(w2Ready)  
            });

            jungleParent.Add(new Base[]
            {
                new QJungle().Guardian(qReady).Guardian(mustNotBeWindingUp),
                new W2Jungle().Guardian(w2Ready).Guardian(mustNotBeWindingUp),
                new EJungle().Guardian(eReady).Guardian(mustNotBeWindingUp) 
            });

            killstealParent.Add(new Base[]
            {
               new QKillsteal("Q"),
               new WKillsteal("W")  
            });

            fleeParent.Add(new Base[]
            {
                new Flee("Flee")
            });

            drawingParent.Add(new Base[]
            {
                new GnarDamage("Damage Indicator"), 
                new QRange("Q"),
                new WRange("W"),
                new ERange("E"),
                new RRange("R")    
            });

            superParent.Add(new Base[]
            {
               // reformedUtilityParent,
                orbwalker,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParent,
                new W(),
                new PermaActive.Antigapcloser.W(),  
                fleeParent,
                drawingParent
            });

            superParent.Load();

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gnar!</font></b>");
        }
Example #33
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new Q1Spell();
            var q3Spell = new Q3Spell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     q3Spell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var lasthitParent = new OrbwalkingParent("Lasthit", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LastHit);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent = new Parent("Drawings");
            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new YasuoSkinchanger());

            var yasuoDmg = new YasuoDamage(qSpell, eSpell, rSpell);

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>()
                                {
                                    new QCombo(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                    new ECombo(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                    new RCombo(rSpell, yasuoDmg).Guardian(mustNotBeWindingUpGuardian).Guardian(rReadyGuardian)
                                });
            harassParent.Add(new List<Base>()
                                 {
                                     new QHarass(qSpell, q3Spell).Guardian(qReadyGuardian),
                                     new EHarass(eSpell).Guardian(eReadyGuardian),
                                 });
            laneParent.Add(new List<Base>()
                               {
                                   new QLane(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                   new ELane(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                               });

            jungleParent.Add(new List<Base>()
                                 {
                                     new QJungle(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                 });

            lasthitParent.Add(new List<Base>()
                                  {
                                      new QLasthit(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                      new ELasthit(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                  });

            killstealParnet.Add(new List<Base>
                                    {
                                        new QKillsteal(qSpell, q3Spell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                        new EKillsteal(eSpell).Guardian(rReadyGuardian)
                                    });

            drawingParent.Add(new List<Base>
                                  {
                                    new YasuoDamageDrawing(yasuoDmg),
                                    new QDrawing(qSpell, q3Spell),
                                    new EDrawing(eSpell)
                                  });

            superParent.Add(new List<Base>
                                  {
                                     utilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     lasthitParent,
                                     killstealParnet,
                                     new YasuoQStack(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new Flee(eSpell).Guardian(eReadyGuardian),
                                     drawingParent,
                                  });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Yasuo!</font></b>");
        }
Example #34
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalker = new OrbwalkerModule();
            orbwalker.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var laneParent = new OrbwalkingParent("Lane", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalker.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var draw = new Parent("Drawings");

            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new GragasSkinchanger());

            var qLogic = new QLogic();
            qLogic.Load();

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new ChildBase[]
            {
                new QCombo().Guardian(qReady).Guardian(new SpellMustBeReady(SpellSlot.R) { Negated = true }), 
                new WCombo().Guardian(wReady), 
                new ECombo().Guardian(eReady), 
                new RCombo().Guardian(rReady)
            });
           
            laneParent.Add(new ChildBase[]
            {
                new LaneQ().Guardian(qReady), 
                new LaneW().Guardian(wReady), 
                new LaneE().Guardian(eReady) 
            });
          
            mixedParent.Add(new ChildBase[]
            {
                new QMixed().Guardian(qReady)
            });
           
            jungleParent.Add(new ChildBase[]
            {
                new QJungle().Guardian(qReady), 
                new WJungle().Guardian(wReady), 
                new EJungle().Guardian(eReady)
            });
            
            draw.Add(new ChildBase[]
            {
                new DrawIndicator(), 
                new DrawQ(), 
                new DrawE(), 
                new DrawR()
            });
          
            superParent.Add(new Base[]
            {
                reformedUtilityParent,
                orbwalker,
                comboParent,
                mixedParent,
                laneParent,
                jungleParent,
                draw
            });

            Prediction.Initialize(superParent.Menu);

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Gragas!</font></b>");
        }
Example #35
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
           //var miscParent = new Parent("Misc");
            var killstealParnet = new Parent("Killsteal");
            var drawingParent = new Parent("Drawings");
            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new EzrealSkinchanger());

            var dmg = new EzrealDamage(eSpell, wSpell, qSpell, rSpell);
            var dashSmart = new DashSmart();

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>()
                                {
                                    new QCombo(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                    new WCombo(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                    new ECombo(eSpell, dashSmart).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                    new RCombo(rSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(rReadyGuardian)
                                });
            harassParent.Add(new List<Base>()
                                 {
                                     new QHarass(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new WHarass(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                 });
            laneParent.Add(new List<Base>()
                               {
                                   new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                   new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                               });

            jungleParent.Add(new List<Base>()
                                 {
                                     new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                 });

            killstealParnet.Add(new List<Base>
                                    {
                                        new QKillsteal(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                        new WKillsteal(wSpell).Guardian(wReadyGuardian).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                      //  new RKillsteal(rSpell).Guardian(rReadyGuardian),
                                    });

            drawingParent.Add(new List<Base>
                                  {
                                    new DmgDraw(dmg),
                                    new QDraw(qSpell),
                                    new WDraw(wSpell)
                                  });

            superParent.Add(new List<Base>
                                  {
                                     utilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     new StackTear(qSpell, wSpell).Guardian(new PlayerMustNotBeWindingUp()),
                                     killstealParnet,
                                     drawingParent,
                                  });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Ezreal!</font></b>");
        }
Example #36
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var orbwalker = new Orbwalking.Orbwalker(superParent.Menu.SubMenu("Orbwalker"));

            // Parents
            var comboParent = new OrbwalkingParent("Combo", orbwalker, Orbwalking.OrbwalkingMode.Combo);
            var misayaParent = new Parent("Misaya");
            var laneParent = new OrbwalkingParent("Lane", orbwalker, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalker, Orbwalking.OrbwalkingMode.LaneClear);
            var mixedParent = new OrbwalkingParent("Mixed", orbwalker, Orbwalking.OrbwalkingMode.Mixed);
            var ksParent = new Parent("Killsteal");
            var drawParent = new Parent("Drawings");
            var fleeParent = new Parent("Flee");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new DianaSkinchanger());

            var qReady = new SpellMustBeReady(SpellSlot.Q);
            var wReady = new SpellMustBeReady(SpellSlot.W);
            var eReady = new SpellMustBeReady(SpellSlot.E);
            var rReady = new SpellMustBeReady(SpellSlot.R);
            var rMustNotBeReady = new SpellMustBeReady(SpellSlot.R) {Negated = true};

            comboParent.Add(new Base[]
            {
                new CrescentStrike().Guardian(qReady).Guardian(rMustNotBeReady), 
                new LunarRush().Guardian(wReady),
                new Moonfall().Guardian(eReady),
                new PaleCascade().Guardian(rReady), 
            });

            misayaParent.Add(new MisayaCombo());

            mixedParent.Add(new Base[]
            {
                new MixedCrescentStrike().Guardian(qReady)
            });
            
            laneParent.Add(new Base[]
            {
                new LaneCrescentStrike().Guardian(qReady), 
                new LaneLunarRush().Guardian(wReady) 
            });
            
            jungleParent.Add(new Base[]
            {
                new JungleCrescentStrike().Guardian(qReady), 
                new JungleLunarRush().Guardian(wReady), 
                new JungleMoonfall().Guardian(eReady), 
                new JunglePaleCascade().Guardian(rReady) 
            });
         
            ksParent.Add(new Base[]
            {
                new KsPaleCascade(), 
                new KsCrescentStrike() 
            });
            
            drawParent.Add(new Base[]
            {
                new DrawQ(), 
                new DrawE(), 
                new DrawDmg(), 
                new DrawPred() 
            });
            
            fleeParent.Add(new Base[]
            {
                new FleeMode() 
            });

            superParent.Add(new Base[] {
                utilityParent,
                comboParent,
                misayaParent,
                mixedParent,
                laneParent,
                jungleParent,
                ksParent,
                drawParent,
                fleeParent
            });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Diana!</font></b>");
        }
Example #37
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
           var q2Spell = new Q2Spell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     q2Spell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var dmg = new LucDamage(eSpell, wSpell, qSpell, rSpell);

            var dashSmart = new DashSmart();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent  = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent   = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParnet = new Parent("Killsteal");
            var drawingParent = new Parent("Drawings");
            var reformedUtilityParent = new Parent("Reformed Utility");

            reformedUtilityParent.Add(new LucianSkinchanger());

           // var new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true } = new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true };
            var eMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.E) { Negated = true };
            var wMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.W) { Negated = true };
            var qMustNotBeReadyGuardian = new SpellMustBeReady(SpellSlot.Q) { Negated = true };
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>
                                {
                                    new QCombo(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(eMustNotBeReadyGuardian)
                                    .Guardian(qReadyGuardian),

                                    new WCombo(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(qMustNotBeReadyGuardian)
                                    .Guardian(wReadyGuardian),

                                    new ECombo(eSpell, dmg, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(eReadyGuardian),

                                    new RCombo(rSpell, dmg).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(rReadyGuardian),
                                 });

            harassParent.Add(new List<Base>
                                 {
                                    new QHarass(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qReadyGuardian),
                                    new WHarass(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qMustNotBeReadyGuardian).Guardian(wReadyGuardian),
                                    new EHarass(eSpell, dmg, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true })
                                    .Guardian(eReadyGuardian),
                                 });

            laneParent.Add(new List<Base>
                               {
                                    new QLaneClear(qSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qReadyGuardian).Guardian(eMustNotBeReadyGuardian),
                                    new WLaneClear(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(wReadyGuardian).Guardian(eMustNotBeReadyGuardian),
                                    new ELaneClear(eSpell, dashSmart).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(eReadyGuardian),
                               });

            jungleParent.Add(new List<Base>
                                 {
                                     new QJungleClear(qSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(eMustNotBeReadyGuardian),
                                     new WJungleClear(wSpell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(wReadyGuardian).Guardian(qMustNotBeReadyGuardian),
                                     new EJungleClear(eSpell).Guardian(eReadyGuardian)
                                 });

            killstealParnet.Add(new List<Base>
                                   {
                                      new Q(qSpell, q2Spell).Guardian(new PlayerMustHaveBuff("LucianPassiveBuff") { Negated = true }).Guardian(qReadyGuardian),
                                      new W(wSpell).Guardian(wReadyGuardian),
                                      new R(rSpell).Guardian(rReadyGuardian),
                                   });

            drawingParent.Add(new List<Base>
                                   {
                                        new DmgDraw(dmg),
                                        new QDraw(qSpell, q2Spell),
                                        new WDraw(wSpell),
                                        new RDraw(rSpell),
                                   });

            superParent.Add(new List<Base>
                                  {
                                     reformedUtilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     killstealParnet,
                                     drawingParent,
                                  });

            superParent.Load();

            reformedUtilityParent.Menu.Style = FontStyle.Bold;
            reformedUtilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;
        }
Example #38
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);

            var killstealParent = new Parent("Killsteal");
            var drawParent = new Parent("Drawings");

            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new CaitlynSkinchanger());

            var logic = new ComboLogic(eSpell, wSpell, qSpell, rSpell);

            comboParent.Add(new List<Base>()
            {
                new QCombo(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new WCombo(wSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new ECombo(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            harassParent.Add(new List<Base>()
            {
                new QHarass(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new WHarass(wSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.W)),
                new EHarass(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            laneParent.Add(new List<Base>
            {
                new QLane(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q))
            });

            jungleParent.Add(new List<Base>
            {
                new QJungle(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)).Guardian(new SpellMustBeReady(SpellSlot.E) {Negated = true}),
                new EJungle(eSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.E))
            });

            killstealParent.Add(new List<Base>
            {
                new QKillsteal(qSpell).Guardian(new PlayerMustNotBeWindingUp()).Guardian(new SpellMustBeReady(SpellSlot.Q)),
                new RKillsteal(rSpell).Guardian(new SpellMustBeReady(SpellSlot.R))
            });

            drawParent.Add(new List<Base>
            {
                new DmgDraw(logic),
                new QDraw(qSpell),
                new RDraw(rSpell)
            });

            superParent.Add(new List<Base> {
                utilityParent,
                orbwalkerModule,
                comboParent,
                harassParent,
                laneParent,
                jungleParent,
                killstealParent,
                drawParent
           });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Caitlyn!</font></b>");
        }
Example #39
0
        public override void Load()
        {
            var superParent = new SuperParent(DisplayName);
            superParent.Initialize();

            var qSpell = new QSpell();
            var wSpell = new WSpell();
            var eSpell = new ESpell();
            var rSpell = new RSpell();

            var spellParent = new SpellParent();
            spellParent.Add(new List<Base>
                                  {
                                     qSpell,
                                     wSpell,
                                     eSpell,
                                     rSpell
                                  });
            spellParent.Load();

            var orbwalkerModule = new OrbwalkerModule();
            orbwalkerModule.Load();

            var comboParent = new OrbwalkingParent("Combo", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Combo);
            var harassParent = new OrbwalkingParent("Harass", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.Mixed);
            var laneParent = new OrbwalkingParent("Lane", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var jungleParent = new OrbwalkingParent("Jungle", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LaneClear);
            var lasthitParent = new OrbwalkingParent("Lasthit", orbwalkerModule.OrbwalkerInstance, Orbwalking.OrbwalkingMode.LastHit);
            var killstealParnet = new Parent("Killsteal");
            var passiveParent = new Parent("Passive");
            var drawingParent = new Parent("Drawings");
            var utilityParent = new Parent("Reformed Utility");

            utilityParent.Add(new AnnieSkinchanger());

            var annieDmg = new AnnieDamage(qSpell, wSpell, eSpell, rSpell);

            var tibbersAI = new TibbersAI.TibbersAI(orbwalkerModule.OrbwalkerInstance);
            tibbersAI.Load();
            tibbersAI.Switch.InternalEnable(null);

            var mustNotBeWindingUpGuardian = new PlayerMustNotBeWindingUp();
            var qReadyGuardian = new SpellMustBeReady(SpellSlot.Q);
            var wReadyGuardian = new SpellMustBeReady(SpellSlot.W);
            var eReadyGuardian = new SpellMustBeReady(SpellSlot.E);
            var rReadyGuardian = new SpellMustBeReady(SpellSlot.R);

            comboParent.Add(new List<Base>()
                                {
                                    new QCombo(qSpell, orbwalkerModule.OrbwalkerInstance).Guardian(qReadyGuardian),
                                    new WCombo(wSpell).Guardian(wReadyGuardian),
                                    new ECombo(eSpell).Guardian(eReadyGuardian),
                                    new RCombo(rSpell, annieDmg).Guardian(rReadyGuardian)
                                });
            harassParent.Add(new List<Base>()
                                 {
                                     new QHarass(qSpell).Guardian(qReadyGuardian),
                                     new WHarass(wSpell).Guardian(wReadyGuardian),
                                     new EHarass(eSpell).Guardian(eReadyGuardian),
                                 });
            laneParent.Add(new List<Base>()
                               {
                                   new QLane(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                   new WLane(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                               });

            jungleParent.Add(new List<Base>()
                                 {
                                     new QJungle(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                     new WJungle(wSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(wReadyGuardian),
                                     new EJungle(eSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(eReadyGuardian),
                                 });
            lasthitParent.Add(new List<Base>()
                                  {
                                      new QLasthit(qSpell)
                                  });

            killstealParnet.Add(new List<Base>
                                    {
                                        new QKillsteal(qSpell).Guardian(mustNotBeWindingUpGuardian).Guardian(qReadyGuardian),
                                        new WKillsteal(wSpell).Guardian(wReadyGuardian),
                                        new RKillsteal(rSpell).Guardian(rReadyGuardian)
                                    });

            passiveParent.Add(new PassiveStack(eSpell, wSpell));

            drawingParent.Add(new List<Base>
                                  {
                                    new AnnieDamageDraw(annieDmg),
                                    new PassiveDraw(),
                                    new QDraw(qSpell),
                                    new WDraw(wSpell),
                                    new RDraw(rSpell)
                                  });

            superParent.Add(new List<Base>
                                  {
                                     utilityParent,
                                     orbwalkerModule,
                                     comboParent,
                                     harassParent,
                                     laneParent,
                                     jungleParent,
                                     lasthitParent,
                                     killstealParnet,
                                     drawingParent,
                                  });

            superParent.Load();

            utilityParent.Menu.Style = FontStyle.Bold;
            utilityParent.Menu.Color = Color.Cyan;

            superParent.Menu.Style = FontStyle.Bold;
            superParent.Menu.Color = Color.Cyan;

            Game.PrintChat("<b><font color=\"#FFFFFF\">[</font></b><b><font color=\"#00e5e5\">Reformed AIO</font></b><b><font color=\"#FFFFFF\">]</font></b><b><font color=\"#FFFFFF\"> - Annie!</font></b>");
        }