Example #1
0
        private static void TestGetLocalGridEntities(Character me, EVE.ISXEVE.EVE eve, ILogger logger)
        {
            //var entities = EntityRepository.GetLocalGridEntities(me, eve);
            eve.RefreshStandings();
            var entities = eve.QueryEntities().Where(x => x.IsPC);

            //var anObj = LavishScript.Objects.GetObject("Local", "Romvex");
            //logger.Log(anObj.ToString());

            var pilot = new Pilot("Romvex ");

            logger.Log(pilot.ToString());

            foreach (var entity in entities)
            {
                logger.Log(entity.Name);
                logger.Log(LavishScriptObject.IsNullOrInvalid(entity.Owner.ToFleetMember).ToString());
                logger.Log(entity.Owner.CharID.ToString());
                logger.Log(entity.Owner.Corp.ID.ToString());
                logger.Log(entity.AllianceID.ToString());
                var standing = me.StandingTo(entity.CharID, entity.Corp.ID, entity.AllianceID);
                logger.Log(standing.AllianceToAlliance.ToString());
                logger.Log(standing.AllianceToCorp.ToString());
                logger.Log(standing.AllianceToPilot.ToString());
                logger.Log(standing.CorpToAlliance.ToString());
                logger.Log(standing.CorpToCorp.ToString());
                logger.Log(standing.CorpToPilot.ToString());
                logger.Log(standing.MeToAlliance.ToString());
                logger.Log(standing.MeToCorp.ToString());
                logger.Log(standing.MeToPilot.ToString());
            }
        }
Example #2
0
        private static void TestGetLocalGridEntities(Character me, EVE.ISXEVE.EVE eve, ILogger logger)
        {
            //var entities = EntityRepository.GetLocalGridEntities(me, eve);
              eve.RefreshStandings();
              var entities = eve.QueryEntities().Where(x => x.IsPC);

              //var anObj = LavishScript.Objects.GetObject("Local", "Romvex");
              //logger.Log(anObj.ToString());

              var pilot = new Pilot("Romvex ");
              logger.Log(pilot.ToString());

              foreach (var entity in entities)
              {
            logger.Log(entity.Name);
            logger.Log(LavishScriptObject.IsNullOrInvalid(entity.Owner.ToFleetMember).ToString());
            logger.Log(entity.Owner.CharID.ToString());
            logger.Log(entity.Owner.Corp.ID.ToString());
            logger.Log(entity.AllianceID.ToString());
            var standing = me.StandingTo(entity.CharID, entity.Corp.ID, entity.AllianceID);
            logger.Log(standing.AllianceToAlliance.ToString());
            logger.Log(standing.AllianceToCorp.ToString());
            logger.Log(standing.AllianceToPilot.ToString());
            logger.Log(standing.CorpToAlliance.ToString());
            logger.Log(standing.CorpToCorp.ToString());
            logger.Log(standing.CorpToPilot.ToString());
            logger.Log(standing.MeToAlliance.ToString());
            logger.Log(standing.MeToCorp.ToString());
            logger.Log(standing.MeToPilot.ToString());
              }
        }
Example #3
0
        /// <summary>
        ///   Called when [time setup].
        /// </summary>
        private void OneTimeSetup()
        {
            Frame.Wait(true);

            MyEve = new EVE.ISXEVE.EVE();
            MyMe  = new Me();

            MyEve.RefreshStandings();
            MyEve.RefreshBookmarks();

            ActivePilot = MyMe.Name;

            Frame.Unlock();
        }
        /// <summary>
        ///   Called when [time setup].
        /// </summary>
        private void OneTimeSetup()
        {
            Frame.Wait(true);

              MyEve = new EVE.ISXEVE.EVE();
              MyMe = new Me();

              MyEve.RefreshStandings();
              MyEve.RefreshBookmarks();

              ActivePilot = MyMe.Name;

              Frame.Unlock();
        }