Blizzard_APIDocumentation/TradeInfoDocumentation.lua

Blizzard_APIDocumentation/TradeInfoDocumentation.lua (9.1.5.40906; unchanged since 8.0.1.27101)
  1. local TradeInfo =
  2. {
  3. Name = "TradeInfo",
  4. Type = "System",
  5. Namespace = "C_TradeInfo",
  6. Functions =
  7. {
  8. },
  9. Events =
  10. {
  11. {
  12. Name = "PlayerTradeCurrency",
  13. Type = "Event",
  14. LiteralName = "PLAYER_TRADE_CURRENCY",
  15. },
  16. {
  17. Name = "PlayerTradeMoney",
  18. Type = "Event",
  19. LiteralName = "PLAYER_TRADE_MONEY",
  20. },
  21. {
  22. Name = "TradeAcceptUpdate",
  23. Type = "Event",
  24. LiteralName = "TRADE_ACCEPT_UPDATE",
  25. Payload =
  26. {
  27. { Name = "playerAccepted", Type = "number", Nilable = false },
  28. { Name = "targetAccepted", Type = "number", Nilable = false },
  29. },
  30. },
  31. {
  32. Name = "TradeClosed",
  33. Type = "Event",
  34. LiteralName = "TRADE_CLOSED",
  35. },
  36. {
  37. Name = "TradeCurrencyChanged",
  38. Type = "Event",
  39. LiteralName = "TRADE_CURRENCY_CHANGED",
  40. },
  41. {
  42. Name = "TradeMoneyChanged",
  43. Type = "Event",
  44. LiteralName = "TRADE_MONEY_CHANGED",
  45. },
  46. {
  47. Name = "TradePlayerItemChanged",
  48. Type = "Event",
  49. LiteralName = "TRADE_PLAYER_ITEM_CHANGED",
  50. Payload =
  51. {
  52. { Name = "tradeSlotIndex", Type = "number", Nilable = false },
  53. },
  54. },
  55. {
  56. Name = "TradePotentialBindEnchant",
  57. Type = "Event",
  58. LiteralName = "TRADE_POTENTIAL_BIND_ENCHANT",
  59. Payload =
  60. {
  61. { Name = "canBecomeBoundForTrade", Type = "bool", Nilable = false },
  62. },
  63. },
  64. {
  65. Name = "TradePotentialRemoveTransmog",
  66. Type = "Event",
  67. LiteralName = "TRADE_POTENTIAL_REMOVE_TRANSMOG",
  68. Payload =
  69. {
  70. { Name = "itemLink", Type = "string", Nilable = false },
  71. { Name = "tradeSlotIndex", Type = "number", Nilable = false },
  72. },
  73. },
  74. {
  75. Name = "TradeRequest",
  76. Type = "Event",
  77. LiteralName = "TRADE_REQUEST",
  78. Payload =
  79. {
  80. { Name = "name", Type = "string", Nilable = false },
  81. },
  82. },
  83. {
  84. Name = "TradeRequestCancel",
  85. Type = "Event",
  86. LiteralName = "TRADE_REQUEST_CANCEL",
  87. },
  88. {
  89. Name = "TradeShow",
  90. Type = "Event",
  91. LiteralName = "TRADE_SHOW",
  92. },
  93. {
  94. Name = "TradeTargetItemChanged",
  95. Type = "Event",
  96. LiteralName = "TRADE_TARGET_ITEM_CHANGED",
  97. Payload =
  98. {
  99. { Name = "tradeSlotIndex", Type = "number", Nilable = false },
  100. },
  101. },
  102. {
  103. Name = "TradeUpdate",
  104. Type = "Event",
  105. LiteralName = "TRADE_UPDATE",
  106. },
  107. },
  108. Tables =
  109. {
  110. },
  111. };
  112. APIDocumentation:AddDocumentationTable(TradeInfo);