OregonCore  revision fb2a440-git
Your Favourite TBC server
TradeHandler.cpp File Reference
#include "Common.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "World.h"
#include "ObjectAccessor.h"
#include "Log.h"
#include "Opcodes.h"
#include "Player.h"
#include "Item.h"
#include "SocialMgr.h"
#include "Language.h"

Go to the source code of this file.

Enumerations

enum  TradeStatus {
  TRADE_STATUS_BUSY = 0, TRADE_STATUS_BEGIN_TRADE = 1, TRADE_STATUS_OPEN_WINDOW = 2, TRADE_STATUS_TRADE_CANCELED = 3,
  TRADE_STATUS_TRADE_ACCEPT = 4, TRADE_STATUS_BUSY_2 = 5, TRADE_STATUS_NO_TARGET = 6, TRADE_STATUS_BACK_TO_TRADE = 7,
  TRADE_STATUS_TRADE_COMPLETE = 8, TRADE_STATUS_TARGET_TO_FAR = 10, TRADE_STATUS_WRONG_FACTION = 11, TRADE_STATUS_CLOSE_WINDOW = 12,
  TRADE_STATUS_IGNORE_YOU = 14, TRADE_STATUS_YOU_STUNNED = 15, TRADE_STATUS_TARGET_STUNNED = 16, TRADE_STATUS_YOU_DEAD = 17,
  TRADE_STATUS_TARGET_DEAD = 18, TRADE_STATUS_YOU_LOGOUT = 19, TRADE_STATUS_TARGET_LOGOUT = 20, TRADE_STATUS_TRIAL_ACCOUNT = 21,
  TRADE_STATUS_ONLY_CONJURED = 22
}
 

Enumeration Type Documentation

Enumerator
TRADE_STATUS_BUSY 
TRADE_STATUS_BEGIN_TRADE 
TRADE_STATUS_OPEN_WINDOW 
TRADE_STATUS_TRADE_CANCELED 
TRADE_STATUS_TRADE_ACCEPT 
TRADE_STATUS_BUSY_2 
TRADE_STATUS_NO_TARGET 
TRADE_STATUS_BACK_TO_TRADE 
TRADE_STATUS_TRADE_COMPLETE 
TRADE_STATUS_TARGET_TO_FAR 
TRADE_STATUS_WRONG_FACTION 
TRADE_STATUS_CLOSE_WINDOW 
TRADE_STATUS_IGNORE_YOU 
TRADE_STATUS_YOU_STUNNED 
TRADE_STATUS_TARGET_STUNNED 
TRADE_STATUS_YOU_DEAD 
TRADE_STATUS_TARGET_DEAD 
TRADE_STATUS_YOU_LOGOUT 
TRADE_STATUS_TARGET_LOGOUT 
TRADE_STATUS_TRIAL_ACCOUNT 
TRADE_STATUS_ONLY_CONJURED 

Definition at line 30 of file TradeHandler.cpp.

31 {
41  // 9?
45  // 13?
53  TRADE_STATUS_TRIAL_ACCOUNT = 21, // Trial accounts can not perform that action
54  TRADE_STATUS_ONLY_CONJURED = 22 // You can only trade conjured items... (cross realm BG related).
55 };