190 ItemPosCountVec dest;
194 Item* item = player->StoreNewItem(dest, obj.
ObjectID,
true);
195 player->SendNewItem(item, obj.
Amount - curItemCount,
true,
false);
214 uint32 curRep = player->GetReputationMgr().GetReputation(obj.
ObjectID);
217 player->GetReputationMgr().SetReputation(factionEntry, obj.
Amount);
222 uint32 curRep = player->GetReputationMgr().GetReputation(obj.
ObjectID);
225 player->GetReputationMgr().SetReputation(factionEntry, obj.
Amount);
230 player->ModifyMoney(obj.
Amount);
241 stmt->
setUInt64(1, player->GetGUID().GetCounter());
247 player->CompleteQuest(entry);
Definition: QuestDef.h:226
Definition: CharacterDatabase.h:577
void SetSentErrorMessage(bool val)
Definition: Chat.h:138
void Execute(const char *sql)
Definition: DatabaseWorkerPool.h:87
static ObjectGuid const Empty
Definition: ObjectGuid.h:196
Definition: QuestDef.h:221
Definition: QuestDef.h:279
Definition: QuestDef.h:261
Player * getSelectedPlayerOrSelf()
Definition: Chat.cpp:623
#define sWorld
Definition: World.h:887
Definition: Language.h:140
#define sObjectMgr
Definition: ObjectMgr.h:1567
Definition: PreparedStatement.h:74
Definition: QuestDef.h:110
uint8 Type
Definition: QuestDef.h:264
Definition: QuestDef.h:228
unsigned long atoul(char const *str)
Definition: Common.h:90
Definition: QuestDef.h:220
uint32 GetQuestId() const
Definition: QuestDef.h:304
G3D::int16 z
Definition: Vector3int16.h:46
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
Definition: QuestDef.h:227
void setUInt32(const uint8 index, const uint32 value)
Definition: PreparedStatement.cpp:115
int32 ObjectID
Definition: QuestDef.h:266
Definition: DBCStructure.h:405
Definition: Language.h:474
void setUInt64(const uint8 index, const uint64 value)
Definition: PreparedStatement.cpp:124
uint8_t uint8
Definition: Define.h:152
CharacterDatabaseWorkerPool CharacterDatabase
Accessor to the character database.
Definition: DatabaseEnv.cpp:21
void PSendSysMessage(const char *fmt, Args &&...args)
Definition: Chat.h:72
DBCStorage< FactionEntry > sFactionStore(Factionfmt)
uint32_t uint32
Definition: g3dmath.h:168
Definition: QuestDef.h:222
virtual void SendSysMessage(char const *str, bool escapeCharacters=false)
Definition: Chat.cpp:152
char * extractKeyFromLink(char *text, char const *linkType, char **something1=NULL)
Definition: Chat.cpp:641
int32 Amount
Definition: QuestDef.h:267
Definition: Creature.h:79
QuestObjectives Objectives
Definition: QuestDef.h:454