Exemplo n.º 1
0
        /// <summary>
        /// Get a list of Attackers as entities.
        /// </summary>
        /// <returns></returns>
        public List <Entity> GetAttackersAsEntities()
        {
            if (Tracing.Callback != null)
            {
                Tracing.SendCallback("Character.GetAttackersAsEntities");
            }

            return(_attackersAsEntities ?? (_attackersAsEntities = Util.GetListFromMethod <Entity>(this, "GetAttackers", "entity")));
        }
Exemplo n.º 2
0
        /// <summary>
        /// Get a list of Jammers on us.
        /// </summary>
        /// <returns></returns>
        public List <Jammer> GetJammers()
        {
            if (Tracing.Callback != null)
            {
                Tracing.SendCallback("Character.GetAttackers");
            }

            return(_jammers ?? (_jammers = Util.GetListFromMethod <Jammer>(this, "GetJammers", "jammer")));
        }
Exemplo n.º 3
0
        /// <summary>
        /// Wrapper for the GetCorpHangarItems member of the character type.
        /// </summary>
        /// <param name="corporationFolderNumber">The corporation folder number.</param>
        /// <returns></returns>
        public List <Item> GetCorpHangarItems(int corporationFolderNumber)
        {
            if (corporationFolderNumber < 1 || corporationFolderNumber > 7)
            {
                throw new ArgumentException("Corporation folder number must between 1 and 7, inclusive.", "corporationFolderNumber");
            }

            Tracing.SendCallback("Character.GetCorpHangarItems");
            return(Util.GetListFromMethod <Item>(this, "GetCorpHangarItems", "item",
                                                 string.Format("Corporation Folder {0}", corporationFolderNumber)));
        }
Exemplo n.º 4
0
 /// <summary>
 /// Wrapper for the GetActiveDroneIDs member of the character type.
 /// </summary>
 /// <returns></returns>
 public List <long> GetActiveDroneIDs()
 {
     Tracing.SendCallback("Character.GetActiveDroneIDs");
     return(_activeDroneIds ?? (_activeDroneIds = Util.GetListFromMethod <long>(this, "GetActiveDroneIDs", "int64")));
 }
Exemplo n.º 5
0
 /// <summary>
 /// Wrapper for the GetSkills member of the character type.
 /// </summary>
 /// <returns></returns>
 public List <Skill> GetSkills()
 {
     return(_skills ?? (_skills = Util.GetListFromMethod <Skill>(this, "GetSkills", "skill")));
 }
Exemplo n.º 6
0
 /// <summary>
 /// Get entities matching query specified by queryID.
 /// Note: ID from Lavishscript query system -- query will not be freed
 /// </summary>
 /// <param name="queryID"></param>
 /// <returns></returns>
 public List <Entity> QueryEntities(int queryID)
 {
     Tracing.SendCallback("EVE.QueryEntities", queryID.ToString(CultureInfo.CurrentCulture));
     return(Util.GetListFromMethod <Entity>(this, "QueryEntities", "entity", queryID.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 7
0
 /// <summary>
 /// the agents in your *addressbook*
 /// </summary>
 public List <Being> GetAgents()
 {
     Tracing.SendCallback("EVE.GetAgents");
     return(Util.GetListFromMethod <Being>(this, "GetAgents", "being"));
 }
Exemplo n.º 8
0
        /// <summary>
        /// Retrieve all market orders for the given typeID and given order type. Returns null if loading.
        /// </summary>
        /// <param name="typeID"></param>
        /// <param name="orderType"></param>
        /// <returns></returns>
        public List <MarketOrder> GetMarketOrders(int typeID, OrderType orderType)
        {
            Tracing.SendCallback("GetMarketOrders", typeID, orderType);

            return(Util.GetListFromMethod <MarketOrder>(this, "GetMarketOrders", "marketorder", typeID.ToString(CultureInfo.CurrentCulture), orderType.ToString()));
        }
Exemplo n.º 9
0
 /// <summary>
 ///   1. GetMyOrders[&lt;index:myorder&gt;]           (int type) {retrieves all "My Orders" cached by your client}
 ///      GetMyOrders[&lt;index:myorder&gt;,#]         (int type) {retrieves all "My Orders" cached by your client for the given TypeID#}
 ///      GetMyOrders[&lt;index:myorder&gt;,"Buy"]     (int type) {retrieves all *buy* "My Orders" cached by your client}
 ///      GetMyOrders[&lt;index:myorder&gt;,"Buy",#]   (int type) {retrieves all *buy* "My Orders" cached by your client for the given TypeID#}
 ///      GetMyOrders[&lt;index:myorder&gt;,"Sell"]    (int type) {retrieves all *sell* "My Orders" cached by your client}
 ///      GetMyOrders[&lt;index:myorder&gt;,"Sell",#]  (int type) {retrieves all *sell* "My Orders" cached by your client for the given TypeID#}
 /// </summary>
 public List <MyOrder> GetMyOrders()
 {
     Tracing.SendCallback("Character.GetMyOrders");
     return(_myOrders ?? (_myOrders = Util.GetListFromMethod <MyOrder>(this, "GetMyOrders", "myorder")));
 }
Exemplo n.º 10
0
 /// <summary>
 /// Wrapper for the GetCargo method of the item type.
 /// </summary>
 /// <returns></returns>
 public List <Item> GetCargo()
 {
     return(Util.GetListFromMethod <Item>(this, "GetCargo", "item"));
 }
Exemplo n.º 11
0
 /// <summary>
 /// Wrapper for the GetCorpHangarItems member of the character type.
 /// </summary>
 /// <returns></returns>
 public List <Item> GetCorpHangarItems()
 {
     Tracing.SendCallback("Character.GetCorpHangarItems");
     return(_corpHangarItems ?? (_corpHangarItems = Util.GetListFromMethod <Item>(this, "GetCorpHangarItems", "item")));
 }
Exemplo n.º 12
0
 /// <summary>
 /// Wrapper for the GetAgentMissions member of the eve type.
 /// </summary>
 /// <returns></returns>
 public List <AgentMission> GetAgentMissions()
 {
     Tracing.SendCallback("EVE.GetAgentMissions");
     return(Util.GetListFromMethod <AgentMission>(this, "GetAgentMissions", "agentmission"));
 }
Exemplo n.º 13
0
 public List <string> GetJams()
 {
     return(_jams ?? (_jams = Util.GetListFromMethod <string>(this, "GetJams", "string")));
 }
Exemplo n.º 14
0
 /// <summary>
 /// Returns a list of the "SystemIDs" of the waypoints in your current route.
 /// </summary>
 public List <int> GetWaypoints()
 {
     Tracing.SendCallback("EVE.GetWaypoints");
     return(Util.GetListFromMethod <int>(this, "GetWaypoints", "int"));
 }
Exemplo n.º 15
0
 /// <summary>
 /// Returns a list of the "SystemIDs" of the systems along your current destination (autopilot) route.
 /// Returns a single -1 if you currently have no destinations.
 /// </summary>
 public List <int> GetToDestinationPath()
 {
     Tracing.SendCallback("EVE.GetToDestinationPath");
     return(Util.GetListFromMethod <int>(this, "GetToDestinationPath", "int"));
 }
Exemplo n.º 16
0
 public List <long> GetViewedWrecks()
 {
     Tracing.SendCallback("EVE.GetViewedWrecks");
     return(Util.GetListFromMethod <long>(this, "GetViewedWrecks", "int64"));
 }
Exemplo n.º 17
0
 /// <summary>
 /// Entities targetting you.
 /// </summary>
 public List <Entity> GetTargetedBy()
 {
     Tracing.SendCallback("Character.GetTargetedBy");
     return(_targetedBy ?? (_targetedBy = Util.GetListFromMethod <Entity>(this, "GetTargetedBy", "entity")));
 }
Exemplo n.º 18
0
 /// <summary>
 /// Wrapper for the GetCorpHangarShips member of the character type.
 /// </summary>
 /// <returns></returns>
 public List <Item> GetCorpHangarShips()
 {
     return(_corpHangarShips ?? (_corpHangarShips = Util.GetListFromMethod <Item>(this, "GetCorpHangarShips", "item")));
 }
Exemplo n.º 19
0
 /// <summary>
 /// Wrapper for the GetHangarShips member of the character type.
 /// </summary>
 /// <returns></returns>
 public List <Item> GetHangarShips()
 {
     Tracing.SendCallback("Character.GetHangarShips");
     return(_hangarShips ?? (_hangarShips = Util.GetListFromMethod <Item>(this, "GetHangarShips", "item")));
 }
Exemplo n.º 20
0
 /// <summary>
 /// GetAssets[index:item,#] (int type) [Retrieves all items that match the StationID# given]
 /// </summary>
 public List <Item> GetAssets(Int64 StationID)
 {
     Tracing.SendCallback("Character.GetAssets", StationID);
     return(Util.GetListFromMethod <Item>(this, "GetAssets", "item", StationID.ToString()));
 }
Exemplo n.º 21
0
 public List <int> GetContrabandFactions()
 {
     return(Util.GetListFromMethod <int>(this, "GetContrabandFactions", "int"));
 }
Exemplo n.º 22
0
 /// <summary>
 /// Get all entities
 /// </summary>
 /// <returns></returns>
 public List <Entity> QueryEntities()
 {
     Tracing.SendCallback("EVE.QueryEntities");
     return(Util.GetListFromMethod <Entity>(this, "QueryEntities", "entity"));
 }
Exemplo n.º 23
0
 /// <summary>
 /// 1. GetAssets[index:item] (int type) [Retrieves all items that are in your assets window]
 /// </summary>
 public List <Item> GetAssets()
 {
     Tracing.SendCallback("Character.GetAssets");
     return(_assets ?? (_assets = Util.GetListFromMethod <Item>(this, "GetAssets", "item")));
 }
Exemplo n.º 24
0
 /// <summary>
 /// Wrapper for the GetMembers method of the fleet type.
 /// </summary>
 /// <returns></returns>
 public List <FleetMember> GetMembers()
 {
     Tracing.SendCallback("Fleet.GetMembers", string.Empty);
     return(Util.GetListFromMethod <FleetMember>(this, "GetMembers", "fleetmember"));
 }
Exemplo n.º 25
0
 /// <summary>
 /// 2. GetStationsWithAssets[&lt;index:int&gt;] (int type) [Retrieves a list of StationID#s where you currently have assets.]
 /// </summary>
 public List <Int64> GetStationsWithAssets()
 {
     Tracing.SendCallback("Character.GetStationsWithAssets");
     return(_stationsWithAssets ?? (_stationsWithAssets = Util.GetListFromMethod <Int64>(this, "GetStationsWithAssets", "int64")));
 }
Exemplo n.º 26
0
 /// <summary>
 /// Wrapper for the GetSquads method of the fleet type.
 /// </summary>
 /// <param name="wingID"></param>
 /// <returns></returns>
 public List <Int64> GetSquads(Int64 wingID)
 {
     Tracing.SendCallback("Fleet.GetSquads", wingID.ToString(CultureInfo.CurrentCulture));
     return(Util.GetListFromMethod <Int64>(this, "GetSquads", "int64", wingID.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 27
0
 /// <summary>
 /// Wrapper for the GetMyOrders member of the character type.
 /// </summary>
 /// <param name="orderType"></param>
 /// <param name="typeID"></param>
 /// <returns></returns>
 public List <MyOrder> GetMyOrders(OrderType orderType, int typeID)
 {
     Tracing.SendCallback("Character.GetMyOrders", orderType, typeID);
     return(Util.GetListFromMethod <MyOrder>(this, "GetMyOrders", "myorder", orderType.ToString(), typeID.ToString()));
 }
Exemplo n.º 28
0
 /// <summary>
 /// Wrapper for the GetWings method of the fleet type.
 /// </summary>
 /// <returns></returns>
 public List <Int64> GetWings()
 {
     Tracing.SendCallback("Fleet.GetWings", string.Empty);
     return(Util.GetListFromMethod <Int64>(this, "GetWings", "int64"));
 }
Exemplo n.º 29
0
 /// <summary>
 /// Wrapper for the GetActiveDrones member of the character type.
 /// </summary>
 /// <returns></returns>
 public List <ActiveDrone> GetActiveDrones()
 {
     Tracing.SendCallback("Character.GetActiveDrones");
     return(_activeDrones ?? (_activeDrones = Util.GetListFromMethod <ActiveDrone>(this, "GetActiveDrones", "activedrone")));
 }
Exemplo n.º 30
0
 /// <summary>
 /// Wrapper for the GetOnlineCorpMembers method of the eve type.
 /// </summary>
 /// <param name="args"></param>
 /// <returns></returns>
 public List <Being> GetOnlineCorpMembersAsBeings(params string[] args)
 {
     Tracing.SendCallback("EVE.GetOnlineCorpMembers", args);
     return(Util.GetListFromMethod <Being>(this, "GetOnlineCorpMembers", "being", args));
 }