IGB Javascript Wish List
With Dominion releasing a new IGB; here is a compiled list of all JavaScript functionality that is desired by 3rd party developers.
Current Functionality can be found here.
Contents
Current Planned Functions
This is a tentative list based on CCP Ronin comments (src)
- javascript:CCPEVE.ShowInfo(typeID) - implemented
- javascript:CCPEVE.ShowRoute(systemID) - implemented as CCPEVE.ShowRouteTo
- javascript:CCPEVE.ShowMap(systemID) - implemented
- javascript:CCPEVE.ViewFitting(???) - implemented as CCPEVE.ShowFitting
- javascript:CCPEVE.AskForTrust() - imlemented as CCPEVE.RequestTrust(trustableUrl)
Desired Functions to Interact with the UI
Assumption is that all calls will open the appropriate window or dialog to allow the user to edit/accept the action. No calls will actually perform an action beyond this.
- Money
- javascript:CCPEVE.GiveMoney(characterID, amount, description)
- javascript:CCPEVE.GiveMoneyFromCorp(characterID, amount, description, walletID)
- Mail & Chat
- javascript:CCPEVE.NewMail(charachterID, subject, body)
- javascript:CCPEVE.JoinMailList(ID)
- javascript:CCPEVE.JoinChatChannel(ID)
- javascript:CCPEVE.StartConversation(characterID)
- Contracts
- javascript:CCPEVE.ShowContract(contractID) - implemented
- javascript:CCPEVE.NewCourierContract(sourceStationID, listOfItemIDs, targetStationID, collateral, payment)
- javascript:CCPEVE.NewPrivateCourierContract(playerID, sourceStationID, listOfItemIDs, targetStationID, collateral, payment)
- javascript:CCPEVE.NewPrivateItemExchangeContract(playerID, stationID, listOfItemIDs, payment)
- Overview
- javascript:CCPEVE.SaveOverviewSetting(xml)
- Market
- javascript:Client.ShowMarketInfo(typeID) - implemented as CCPEVE.ShowMarketDetails
- Starmap
- javascript:CCPEVE.SetAutoPilotDestination(systemID)
- Standings
- javascript:CCPEVE.EditStandings(characterID, newStanding, reason)
- javascript:CCPEVE.EditCorpStandings(???)
- Other
- javascript:CCPEVE.ShowInfo(any ID) - implemented for type IDs optional second parameter for specific item IDs
- javascript:CCPEVE.ShowContextMenu(anyID, x, y) where x and y are offset from IGB window.
All methods pop up the corresponding windows that already exist in EVE, pre-filled out with the given arguments. For example, the New*Contract methods pop up the last page of the contract wizard (Summary) if the specified items exist (or else an error message).
Desired Functions to Retrieve Information
- Starmap
- javascript:CCPEVE.GetJumpCount(systemID,...,systemID) returns an object array list where the object is composed of (systemID,jumpCount) (src)
- API Key
- javascript:CCPEVE.GetLimitedApiKey() pops up a confirmation window and (if approved) returns the limited API key of the user
- javascript:CCPEVE.GetFullApiKey() pops up a red flashing confirmation window and (if approved) returns the full API key of the user
- Ship Fitting
- javascript:CCPEVE.GetShipFitting() pops up a confirmation window and (if approved) returns the complete ship fitting (possibly Ship DNA string formatted)
Desired Events
Some events would also like to be available so that a JavaScript function can be assigned to them. This would allow for more complex AJAX functions to occur between a website and the IGB.
- CCPEVE.OnJump alternatively Client.OnSessionChange SessionChangeArguments containing the information available in the headers.
- CCPEVE.OnDrop whit Drop arguments containing
- label
- typeID
- itemID
- quantity
- ???
The idea behind OnDrop is that items such as systems, contracts, pilots, ships, fittings etc can be dragged around and linked in chat text. So should those same items be able to be dragged into an IGB window and get properly referenced.