Exemplo n.º 1
0
 /// <summary>
 /// 2.  GetLocationNameByID[#] (string type) [Useful for changing a StationID# to an actual name.]
 /// </summary>
 public string GetLocationNameByID(int stationID)
 {
     Tracing.SendCallback("EVE.GetLocationNameByID", stationID);
     return(this.GetString("GetLocationNameByID", stationID.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 2
0
 public bool RefreshBookmarks()
 {
     Tracing.SendCallback("EVE.RefreshBookmarks");
     return(ExecuteMethod("RefreshBookmarks"));
 }
Exemplo n.º 3
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.º 4
0
 public bool ToggleTextureLoading()
 {
     Tracing.SendCallback("EVE.ToggleTextureLoading");
     return(ExecuteMethod("ToggleTextureLoading"));
 }
Exemplo n.º 5
0
 public bool ReclaimDrones()
 {
     Tracing.SendCallback("EVE.ReclaimDrones");
     return(ExecuteMethod("ReclaimDrones"));
 }
Exemplo n.º 6
0
        /// <summary>
        /// Fetch the market orders matching the given typeID.
        /// </summary>
        /// <param name="typeID"></param>
        /// <returns></returns>
        public bool FetchMarketOrders(int typeID)
        {
            Tracing.SendCallback("EVE.FetchMarketOrders", typeID);

            return(ExecuteMethod("FetchMarketOrders", typeID.ToString(CultureInfo.CurrentCulture)));
        }
Exemplo n.º 7
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.º 8
0
 /// <summary>
 /// This method sets the status text that appears in space over your ship controls.
 /// </summary>
 public bool SetInSpaceStatus(string title, string text)
 {
     Tracing.SendCallback("EVE.SetInSpaceStatus");
     return(ExecuteMethod("SetInSpaceStatus", title, text));
 }
Exemplo n.º 9
0
 /// <summary>
 /// Execute an eve command.
 /// </summary>
 public bool Execute(ExecuteCommand command)
 {
     Tracing.SendCallback("EVE.Execute", command);
     return(ExecuteMethod("Execute", command.ToString()));
 }
Exemplo n.º 10
0
 /// <summary>
 /// if bool is true, forces repopulation of entities. This should be called ONCE after isxeve is loaded... any more will have no effect.
 /// </summary>
 /// <param name="forceRepopulate"></param>
 /// <returns></returns>
 public bool PopulateEntities(bool forceRepopulate)
 {
     Tracing.SendCallback("EVE.PopulateEntities", forceRepopulate.ToString(CultureInfo.CurrentCulture));
     return(ExecuteMethod("PopulateEntities", forceRepopulate.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 11
0
 /// <summary>
 /// This method creates a simple EVE popup window with the 'text' given.
 /// </summary>
 public bool InfoWindow(string text)
 {
     Tracing.SendCallback("EVE.InfoWindow", text);
     return(ExecuteMethod("InfoWindow", text));
 }
Exemplo n.º 12
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.º 13
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.º 14
0
 /// <summary>
 /// Download market order information from EVE servers.
 /// </summary>
 public bool FetchMarketOrders()
 {
     Tracing.SendCallback("EVE.FetchMarketOrders");
     return(this.GetBool("FetchMarketOrders"));
 }
Exemplo n.º 15
0
 /// <summary>
 /// 2. CreateMarketBuyOrder[TypeID#]
 /// </summary>
 public bool CreateMarketBuyOrder(int typeID)
 {
     Tracing.SendCallback("EVE.CreateMarketBuyOrder", typeID);
     return(ExecuteMethod("CreateMarketBuyOrder",
                          typeID.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 16
0
 /// <summary>
 /// Execute an eve command.
 /// </summary>
 public bool Execute(string command)
 {
     Tracing.SendCallback("EVE.Execute", command);
     return(ExecuteMethod("Execute", command));
 }
Exemplo n.º 17
0
 /// <summary>
 ///   2. ClearMarketOrderCache     {This clears your market order cache.  It is useful if you're doing a lot of market transactions and want
 ///                                 to keep things tidy.}
 /// </summary>
 /// <returns></returns>
 public bool ClearMarketOrderCache()
 {
     Tracing.SendCallback("EVE.ClearMarketOrderCache");
     return(ExecuteMethod("ClearMarketOrderCache"));
 }
Exemplo n.º 18
0
 /// <summary>
 /// Wrapper for the StationID member of the eve type.
 /// </summary>
 /// <param name="stationID"></param>
 /// <returns></returns>
 public Station Station(int stationID)
 {
     Tracing.SendCallback("EVE.Station", stationID);
     return(GetMember <Station>("Station", stationID.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 19
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.º 20
0
 /// <summary>
 /// Creates a bookmark.
 /// </summary>
 public bool CreateBookmark(string label, string notes, string location, BookmarkExpiry bookmarkExpiry)
 {
     Tracing.SendCallback("EVE.CreateBookmark", label, notes, location, bookmarkExpiry.ToString("D"));
     return(ExecuteMethod("CreateBookmark", label, notes, location, bookmarkExpiry.ToString("D")));
 }
Exemplo n.º 21
0
 /// <summary>
 /// Wrapper for the ToggleUIDisplay method of the eve type.
 /// </summary>
 /// <returns></returns>
 public bool ToggleUIDisplay()
 {
     Tracing.SendCallback("EVE.ToggleUIDisplay");
     return(ExecuteMethod("ToggleUIDisplay"));
 }
Exemplo n.º 22
0
 /// <summary>
 /// Wrapper for the AddWaypoint method of the eve type.
 /// </summary>
 /// <param name="solarSystemID"></param>
 /// <returns></returns>
 public bool AddWaypoint(int solarSystemID)
 {
     Tracing.SendCallback("EVE.AddWaypoint", solarSystemID);
     return(ExecuteMethod("AddWaypoint", solarSystemID.ToString(CultureInfo.CurrentCulture)));
 }
Exemplo n.º 23
0
 /// <summary>
 /// Wrapper for the RefreshStandings method of the eve type.
 /// </summary>
 /// <returns></returns>
 public bool RefreshStandings()
 {
     Tracing.SendCallback("EVE.RefreshStandings");
     return(ExecuteMethod("RefreshStandings"));
 }
Exemplo n.º 24
0
 /// <summary>
 /// Closes any of the simple 'information message boxes', etc that might be up.
 /// </summary>
 public bool CloseAllMessageBoxes()
 {
     Tracing.SendCallback("EVE.CloseAllMessageBoxes", string.Empty);
     return(ExecuteMethod("CloseAllMessageBoxes"));
 }
Exemplo n.º 25
0
 public List <long> GetViewedWrecks()
 {
     Tracing.SendCallback("EVE.GetViewedWrecks");
     return(Util.GetListFromMethod <long>(this, "GetViewedWrecks", "int64"));
 }
Exemplo n.º 26
0
 /// <summary>
 /// Wrapper for the CloseAllChatInvites method of the eve type.
 /// </summary>
 /// <returns></returns>
 public bool CloseAllChatInvites()
 {
     Tracing.SendCallback("EVE.CloseAllChatInvites", string.Empty);
     return(ExecuteMethod("CloseAllChatInvites"));
 }
Exemplo n.º 27
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.º 28
0
        /// <summary>
        /// Wrapper for the ItemInfo member of the EVE datatype.
        /// </summary>
        /// <param name="typeId"></param>
        /// <returns></returns>
        public IItemInfo ItemInfo(int typeId)
        {
            Tracing.SendCallback("EVE.ItemInfo", typeId);

            return(new ItemInfo(GetMember("ItemInfo", typeId.ToString(CultureInfo.CurrentCulture))));
        }
Exemplo n.º 29
0
 /// <summary>
 /// Returns a bookmark based on its label.
 /// </summary>
 public BookMark Bookmark(string label)
 {
     Tracing.SendCallback("EVE.Bookmark", label);
     return(new BookMark(GetMember("Bookmark", label)));
 }
Exemplo n.º 30
0
 /// <summary>
 /// 1.  NumAssetsAtStation[#] (int type) [Returns the number of items currently housed at the StationID# given.]
 /// </summary>
 public int NumAssetsAtStation(int stationID)
 {
     Tracing.SendCallback("EVE.NumAssetsAtStation", stationID);
     return(this.GetInt("NumAssetsAtStation", stationID.ToString(CultureInfo.CurrentCulture)));
 }