示例#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)));
 }
示例#2
0
 public bool RefreshBookmarks()
 {
     Tracing.SendCallback("EVE.RefreshBookmarks");
     return(ExecuteMethod("RefreshBookmarks"));
 }
示例#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"));
 }
示例#4
0
 public bool ToggleTextureLoading()
 {
     Tracing.SendCallback("EVE.ToggleTextureLoading");
     return(ExecuteMethod("ToggleTextureLoading"));
 }
示例#5
0
 public bool ReclaimDrones()
 {
     Tracing.SendCallback("EVE.ReclaimDrones");
     return(ExecuteMethod("ReclaimDrones"));
 }
示例#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)));
        }
示例#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()));
        }
示例#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));
 }
示例#9
0
 /// <summary>
 /// Execute an eve command.
 /// </summary>
 public bool Execute(ExecuteCommand command)
 {
     Tracing.SendCallback("EVE.Execute", command);
     return(ExecuteMethod("Execute", command.ToString()));
 }
示例#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)));
 }
示例#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));
 }
示例#12
0
 /// <summary>
 /// Get all entities
 /// </summary>
 /// <returns></returns>
 public List <Entity> QueryEntities()
 {
     Tracing.SendCallback("EVE.QueryEntities");
     return(Util.GetListFromMethod <Entity>(this, "QueryEntities", "entity"));
 }
示例#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)));
 }
示例#14
0
 /// <summary>
 /// Download market order information from EVE servers.
 /// </summary>
 public bool FetchMarketOrders()
 {
     Tracing.SendCallback("EVE.FetchMarketOrders");
     return(this.GetBool("FetchMarketOrders"));
 }
示例#15
0
 /// <summary>
 /// 2. CreateMarketBuyOrder[TypeID#]
 /// </summary>
 public bool CreateMarketBuyOrder(int typeID)
 {
     Tracing.SendCallback("EVE.CreateMarketBuyOrder", typeID);
     return(ExecuteMethod("CreateMarketBuyOrder",
                          typeID.ToString(CultureInfo.CurrentCulture)));
 }
示例#16
0
 /// <summary>
 /// Execute an eve command.
 /// </summary>
 public bool Execute(string command)
 {
     Tracing.SendCallback("EVE.Execute", command);
     return(ExecuteMethod("Execute", command));
 }
示例#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"));
 }
示例#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)));
 }
示例#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"));
 }
示例#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")));
 }
示例#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"));
 }
示例#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)));
 }
示例#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"));
 }
示例#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"));
 }
示例#25
0
 public List <long> GetViewedWrecks()
 {
     Tracing.SendCallback("EVE.GetViewedWrecks");
     return(Util.GetListFromMethod <long>(this, "GetViewedWrecks", "int64"));
 }
示例#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"));
 }
示例#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"));
 }
示例#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))));
        }
示例#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)));
 }
示例#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)));
 }