TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ScriptedGossip.h File Reference
#include "GossipDef.h"
#include "QuestDef.h"
+ Include dependency graph for ScriptedGossip.h:

Go to the source code of this file.

Macros

#define GOSSIP_TEXT_BROWSE_GOODS   "I'd like to browse your goods."
 
#define GOSSIP_TEXT_TRAIN   "Train me!"
 
#define ADD_GOSSIP_ITEM(a, b, c, d)   PlayerTalkClass->GetGossipMenu().AddMenuItem(-1, a, b, c, d, "", 0)
 
#define ADD_GOSSIP_ITEM_DB(h, i, c, d)   PlayerTalkClass->GetGossipMenu().AddMenuItem(h, i, c, d)
 
#define ADD_GOSSIP_ITEM_EXTENDED(a, b, c, d, e, f, g)   PlayerTalkClass->GetGossipMenu().AddMenuItem(-1, a, b, c, d, e, f, g)
 
#define SEND_GOSSIP_MENU(a, b)   PlayerTalkClass->SendGossipMenu(a, b)
 
#define CLOSE_GOSSIP_MENU()   PlayerTalkClass->SendCloseGossip()
 

Enumerations

enum  eTradeskill {
  TRADESKILL_ALCHEMY = 1, TRADESKILL_BLACKSMITHING = 2, TRADESKILL_COOKING = 3, TRADESKILL_ENCHANTING = 4,
  TRADESKILL_ENGINEERING = 5, TRADESKILL_FIRSTAID = 6, TRADESKILL_HERBALISM = 7, TRADESKILL_LEATHERWORKING = 8,
  TRADESKILL_POISONS = 9, TRADESKILL_TAILORING = 10, TRADESKILL_MINING = 11, TRADESKILL_FISHING = 12,
  TRADESKILL_SKINNING = 13, TRADESKILL_JEWLCRAFTING = 14, TRADESKILL_INSCRIPTION = 15, TRADESKILL_ARCHAEOLOGY = 16,
  TRADESKILL_LEVEL_NONE = 0, TRADESKILL_LEVEL_APPRENTICE = 1, TRADESKILL_LEVEL_JOURNEYMAN = 2, TRADESKILL_LEVEL_EXPERT = 3,
  TRADESKILL_LEVEL_ARTISAN = 4, TRADESKILL_LEVEL_MASTER = 5, TRADESKILL_LEVEL_GRAND_MASTER = 6, TRADESKILL_LEVEL_ILLUSTRIOUS = 7,
  GOSSIP_ACTION_TRADE = 1, GOSSIP_ACTION_TRAIN = 2, GOSSIP_ACTION_TAXI = 3, GOSSIP_ACTION_GUILD = 4,
  GOSSIP_ACTION_BATTLE = 5, GOSSIP_ACTION_BANK = 6, GOSSIP_ACTION_INN = 7, GOSSIP_ACTION_HEAL = 8,
  GOSSIP_ACTION_TABARD = 9, GOSSIP_ACTION_AUCTION = 10, GOSSIP_ACTION_INN_INFO = 11, GOSSIP_ACTION_UNLEARN = 12,
  GOSSIP_ACTION_INFO_DEF = 1000, GOSSIP_SENDER_MAIN = 1, GOSSIP_SENDER_INN_INFO = 2, GOSSIP_SENDER_INFO = 3,
  GOSSIP_SENDER_SEC_PROFTRAIN = 4, GOSSIP_SENDER_SEC_CLASSTRAIN = 5, GOSSIP_SENDER_SEC_BATTLEINFO = 6, GOSSIP_SENDER_SEC_BANK = 7,
  GOSSIP_SENDER_SEC_INN = 8, GOSSIP_SENDER_SEC_MAILBOX = 9, GOSSIP_SENDER_SEC_STABLEMASTER = 10
}
 

Macro Definition Documentation

#define ADD_GOSSIP_ITEM (   a,
  b,
  c,
 
)    PlayerTalkClass->GetGossipMenu().AddMenuItem(-1, a, b, c, d, "", 0)
#define ADD_GOSSIP_ITEM_DB (   h,
  i,
  c,
 
)    PlayerTalkClass->GetGossipMenu().AddMenuItem(h, i, c, d)
#define ADD_GOSSIP_ITEM_EXTENDED (   a,
  b,
  c,
  d,
  e,
  f,
 
)    PlayerTalkClass->GetGossipMenu().AddMenuItem(-1, a, b, c, d, e, f, g)
#define CLOSE_GOSSIP_MENU ( )    PlayerTalkClass->SendCloseGossip()
#define GOSSIP_TEXT_BROWSE_GOODS   "I'd like to browse your goods."
#define GOSSIP_TEXT_TRAIN   "Train me!"
#define SEND_GOSSIP_MENU (   a,
 
)    PlayerTalkClass->SendGossipMenu(a, b)

Enumeration Type Documentation

Enumerator
TRADESKILL_ALCHEMY 
TRADESKILL_BLACKSMITHING 
TRADESKILL_COOKING 
TRADESKILL_ENCHANTING 
TRADESKILL_ENGINEERING 
TRADESKILL_FIRSTAID 
TRADESKILL_HERBALISM 
TRADESKILL_LEATHERWORKING 
TRADESKILL_POISONS 
TRADESKILL_TAILORING 
TRADESKILL_MINING 
TRADESKILL_FISHING 
TRADESKILL_SKINNING 
TRADESKILL_JEWLCRAFTING 
TRADESKILL_INSCRIPTION 
TRADESKILL_ARCHAEOLOGY 
TRADESKILL_LEVEL_NONE 
TRADESKILL_LEVEL_APPRENTICE 
TRADESKILL_LEVEL_JOURNEYMAN 
TRADESKILL_LEVEL_EXPERT 
TRADESKILL_LEVEL_ARTISAN 
TRADESKILL_LEVEL_MASTER 
TRADESKILL_LEVEL_GRAND_MASTER 
TRADESKILL_LEVEL_ILLUSTRIOUS 
GOSSIP_ACTION_TRADE 
GOSSIP_ACTION_TRAIN 
GOSSIP_ACTION_TAXI 
GOSSIP_ACTION_GUILD 
GOSSIP_ACTION_BATTLE 
GOSSIP_ACTION_BANK 
GOSSIP_ACTION_INN 
GOSSIP_ACTION_HEAL 
GOSSIP_ACTION_TABARD 
GOSSIP_ACTION_AUCTION 
GOSSIP_ACTION_INN_INFO 
GOSSIP_ACTION_UNLEARN 
GOSSIP_ACTION_INFO_DEF 
GOSSIP_SENDER_MAIN 
GOSSIP_SENDER_INN_INFO 
GOSSIP_SENDER_INFO 
GOSSIP_SENDER_SEC_PROFTRAIN 
GOSSIP_SENDER_SEC_CLASSTRAIN 
GOSSIP_SENDER_SEC_BATTLEINFO 
GOSSIP_SENDER_SEC_BANK 
GOSSIP_SENDER_SEC_INN 
GOSSIP_SENDER_SEC_MAILBOX 
GOSSIP_SENDER_SEC_STABLEMASTER 
30 {
31  // Skill defines
42  TRADESKILL_MINING = 11,
43  TRADESKILL_FISHING = 12,
48 
57 
58  // Gossip defines
72 
83 };
Definition: ScriptedGossip.h:43
Definition: ScriptedGossip.h:32
Definition: ScriptedGossip.h:74
Definition: ScriptedGossip.h:71
Definition: ScriptedGossip.h:37
Definition: ScriptedGossip.h:59
Definition: ScriptedGossip.h:61
Definition: ScriptedGossip.h:35
Definition: ScriptedGossip.h:77
Definition: ScriptedGossip.h:53
Definition: ScriptedGossip.h:36
Definition: ScriptedGossip.h:42
Definition: ScriptedGossip.h:68
Definition: ScriptedGossip.h:82
Definition: ScriptedGossip.h:34
Definition: ScriptedGossip.h:47
Definition: ScriptedGossip.h:33
Definition: ScriptedGossip.h:55
Definition: ScriptedGossip.h:78
Definition: ScriptedGossip.h:46
Definition: ScriptedGossip.h:80
Definition: ScriptedGossip.h:67
Definition: ScriptedGossip.h:65
Definition: ScriptedGossip.h:44
Definition: ScriptedGossip.h:62
Definition: ScriptedGossip.h:69
Definition: ScriptedGossip.h:70
Definition: ScriptedGossip.h:40
Definition: ScriptedGossip.h:66
Definition: ScriptedGossip.h:49
Definition: ScriptedGossip.h:51
Definition: ScriptedGossip.h:63
Definition: ScriptedGossip.h:39
Definition: ScriptedGossip.h:79
Definition: ScriptedGossip.h:81
Definition: ScriptedGossip.h:75
Definition: ScriptedGossip.h:60
Definition: ScriptedGossip.h:73
Definition: ScriptedGossip.h:38
Definition: ScriptedGossip.h:52
Definition: ScriptedGossip.h:56
Definition: ScriptedGossip.h:76
Definition: ScriptedGossip.h:41
Definition: ScriptedGossip.h:45
Definition: ScriptedGossip.h:54
Definition: ScriptedGossip.h:50
Definition: ScriptedGossip.h:64