override public void Berecne()
        {
            base.Berecne();

            if (null == base.Ergeebnis)
            {
                return;
            }

            FittingAst =
                Optimat.EveOnline.AuswertGbs.Extension.FirstMatchingNodeFromSubtreeBreadthFirst(
                    AstMainContainerMain, (kandidaat) =>
                    string.Equals("Fitting", kandidaat.PyObjTypName, StringComparison.InvariantCultureIgnoreCase),
                    2, 1);

            SlotParentAst =
                Optimat.EveOnline.AuswertGbs.Extension.FirstMatchingNodeFromSubtreeBreadthFirst(
                    FittingAst, (kandidaat) =>
                    kandidaat.PyObjTypNameIsContainer() &&
                    string.Equals("slotParent", kandidaat.Name, StringComparison.InvariantCultureIgnoreCase),
                    2, 1);

            ErgeebnisScpez = new WindowShipFitting(base.Ergeebnis);
        }
Esempio n. 2
0
 static public BotEngine.EveOnline.Interface.MemoryStruct.WindowFittingWindow AsOld(this WindowShipFitting window) =>
 window == null ? null :
 new BotEngine.EveOnline.Interface.MemoryStruct.WindowFittingWindow(window.AsOldWindowBase());