Project

General

Profile

Trade (Data Type)

Description

This DataType includes all of the data available to ISXVG that is related to a trade with another character.

Members

  • string State
    • TRADING, INVITE_PENDING, INVITE_SENT, NOT_TRADING
  • string Trader
    • name of the person with which you are trading
  • int64 MyCoinOffer
    • in copper
  • int64 OtherCoinOffer
    • in copper
  • int MyOffer
    • number of items I'm currently offering
  • item MyOffer[#]
      1. is between 1 and ${Trade.MyOffer}
  • item MyOffer[<NAME>]
  • int OtherOffer
    • number of items my trade partner is currently offering
  • item OtherOffer[#]
      1. is between 1 and ${Trade.OtherOffer}
  • item OtherOffer[<NAME>]
  • bool IAcceptedOffer
  • bool OtherAcceptedOffer

Methods

  • AcceptInvite
  • AcceptOffer
  • DeclineInvite
  • Cancel
  • RemoveItem[Handle#]
    • remove one item from your offer by item Handle#
  • RemoveItem[Handle#,Qty#]
    • remove [Quantity#] amount of items from your offer by item Handle#