aboutsummaryrefslogtreecommitdiff
path: root/src/game/GossipDef.h
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-12 11:21:28 -0600
committermegamage <none@none>2008-12-12 11:21:28 -0600
commitb6c288ca9fb271923f493ee39d78b5dc4b2a996f (patch)
treeec03c0dce11277c5e04f87a33ca76f1dd78687e7 /src/game/GossipDef.h
parent135f39a5efabc12728924933056f3ea952dd2c09 (diff)
*Update to Mangos 6902. Source: Mangos.
*Skipped rev: rev 6893, some code about waypoint movement. --HG-- branch : trunk
Diffstat (limited to 'src/game/GossipDef.h')
-rw-r--r--src/game/GossipDef.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/GossipDef.h b/src/game/GossipDef.h
index a9c56b54551..ac4ac213b3d 100644
--- a/src/game/GossipDef.h
+++ b/src/game/GossipDef.h
@@ -103,8 +103,8 @@ class TRINITY_DLL_SPEC GossipMenu
GossipMenu();
~GossipMenu();
- void AddMenuItem(uint8 Icon, std::string Message, bool Coded = false);
- void AddMenuItem(uint8 Icon, std::string Message, uint32 dtSender, uint32 dtAction, std::string BoxMessage, uint32 BoxMoney, bool Coded = false);
+ void AddMenuItem(uint8 Icon, const std::string& Message, bool Coded = false);
+ void AddMenuItem(uint8 Icon, const std::string& Message, uint32 dtSender, uint32 dtAction, const std::string& BoxMessage, uint32 BoxMoney, bool Coded = false);
// for using from scripts, don't must be inlined
void AddMenuItem(uint8 Icon, char const* Message, bool Coded = false);
@@ -197,7 +197,7 @@ class TRINITY_DLL_SPEC PlayerMenu
/*********************************************************/
void SendQuestGiverStatus( uint8 questStatus, uint64 npcGUID );
- void SendQuestGiverQuestList( QEmote eEmote, std::string Title, uint64 npcGUID );
+ void SendQuestGiverQuestList( QEmote eEmote, const std::string& Title, uint64 npcGUID );
void SendQuestQueryResponse ( Quest const *pQuest );
void SendQuestGiverQuestDetails( Quest const *pQuest, uint64 npcGUID, bool ActivateAccept);