IGB Javascript Wish List

From Backstage Lore Wiki
Revision as of 07:48, 2 October 2009 by Sky Grunthor (Talk)

Jump to: navigation, search

With Dominion releasing a new IGB; here is a compiled list of all javascript functionality that is desired by 3rd party developers.

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.

Current Functionality can be found here.

Current Planned Functions

This is a tentative list based on CCP Ronin comments (src)

  • javascript:Client.ShowInfo(typeID) - implemented
  • javascript:Client.ShowRoute(systemID) - implemented as Client.ShowRouteTo
  • javascript:Client.ShowMap(systemID) - implemented
  • javascript:Client.ViewFitting(???)
  • javascript:Client.AskForTrust()

Desired Functions

  • javascript:Client.GiveMoney(characterID, amount, description)
  • javascript:Client.GiveMoneyFromCorp(characterID, amount, description, walletID)
  • javascript:Client.NewMail(charachterID, subject, body)
  • javascript:Client.ShowContract(contractID)
  • javascript:Client.CreateCourierContract(sourceStationID, listOfItemIDs, targetStationID, collateral, payment)
  • javascript:Client.CreatePrivateCourierContract(playerID, sourceStationID, listOfItemIDs, targetStationID, collateral, payment)
  • javascript:Client.CreatePrivateItemExchangeContract(playerID, stationID, listOfItemIDs, payment)
  • javascript:Client.JoinMailList(ID)
  • javascript:Client.JoinChatChannel(ID)
  • javascript:Client.SaveOverviewSetting(xml)
  • javascript:Client.ShowMarketInfo(typeID)
  • javascript:Client.GetJumpCount(systemID,...nsystemID) returns an object array list where the object is composed of (systemID,jumpCount) (src)

All methods pop up the appropriate existing windows, pre-filled out with the given arguments respectively. The CreateContract methods pop up the last page of the contract wizard (Summary) if the specified items exist, otherwise an error message.

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

  • Client.OnJump alternatively Client.OnSessionChange SessionChangeArguments containing the information available in the headers.
Personal tools
Namespaces

Variants
Actions
Navigation
Tools