aboutsummaryrefslogtreecommitdiff
path: root/src/game/GossipDef.h
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-07 22:59:46 +0200
committerSpp <none@none>2010-04-07 22:59:46 +0200
commit49d05ba9aa1cd5c1f3ae96546283e6d03a037ff7 (patch)
treef7e6135573366a686c1f527e16a0a7d42a7877ff /src/game/GossipDef.h
parentd19e12708001fbef2308be0e8cb5375a2ac7af48 (diff)
Code style (game + scripts only):
"( " --> "(" " )" --> ")" --HG-- branch : trunk
Diffstat (limited to 'src/game/GossipDef.h')
-rw-r--r--src/game/GossipDef.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/game/GossipDef.h b/src/game/GossipDef.h
index b487653b402..ce2049cc23f 100644
--- a/src/game/GossipDef.h
+++ b/src/game/GossipDef.h
@@ -175,7 +175,7 @@ class GossipMenu
return m_gItems.empty();
}
- GossipMenuItem const& GetItem( unsigned int Id )
+ GossipMenuItem const& GetItem(unsigned int Id)
{
return m_gItems[ Id ];
}
@@ -185,9 +185,9 @@ class GossipMenu
return m_gItemsData[indexId];
}
- uint32 MenuItemSender( unsigned int ItemId );
- uint32 MenuItemAction( unsigned int ItemId );
- bool MenuItemCoded( unsigned int ItemId );
+ uint32 MenuItemSender(unsigned int ItemId);
+ uint32 MenuItemAction(unsigned int ItemId);
+ bool MenuItemCoded(unsigned int ItemId);
void ClearMenu();
@@ -204,7 +204,7 @@ class QuestMenu
QuestMenu();
~QuestMenu();
- void AddMenuItem( uint32 QuestId, uint8 Icon);
+ void AddMenuItem(uint32 QuestId, uint8 Icon);
void ClearMenu();
uint8 MenuItemCount() const
@@ -217,9 +217,9 @@ class QuestMenu
return m_qItems.empty();
}
- bool HasItem( uint32 questid );
+ bool HasItem(uint32 questid);
- QuestMenuItem const& GetItem( uint16 Id )
+ QuestMenuItem const& GetItem(uint16 Id)
{
return m_qItems[ Id ];
}
@@ -236,7 +236,7 @@ class PlayerMenu
WorldSession* pSession;
public:
- PlayerMenu( WorldSession *Session );
+ PlayerMenu(WorldSession *Session);
~PlayerMenu();
GossipMenu& GetGossipMenu() { return mGossipMenu; }
@@ -245,28 +245,28 @@ class PlayerMenu
bool Empty() const { return mGossipMenu.Empty() && mQuestMenu.Empty(); }
void ClearMenus();
- uint32 GossipOptionSender( unsigned int Selection );
- uint32 GossipOptionAction( unsigned int Selection );
- bool GossipOptionCoded( unsigned int Selection );
+ uint32 GossipOptionSender(unsigned int Selection);
+ uint32 GossipOptionAction(unsigned int Selection);
+ bool GossipOptionCoded(unsigned int Selection);
- void SendGossipMenu( uint32 TitleTextId, uint64 npcGUID );
+ void SendGossipMenu(uint32 TitleTextId, uint64 npcGUID);
void CloseGossip();
- void SendPointOfInterest( float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, const char * locName );
- void SendPointOfInterest( uint32 poi_id );
- void SendTalking( uint32 textID );
- void SendTalking( char const * title, char const * text );
+ void SendPointOfInterest(float X, float Y, uint32 Icon, uint32 Flags, uint32 Data, const char * locName);
+ void SendPointOfInterest(uint32 poi_id);
+ void SendTalking(uint32 textID);
+ void SendTalking(char const * title, char const * text);
/*********************************************************/
/*** QUEST SYSTEM ***/
/*********************************************************/
- void SendQuestGiverStatus( uint8 questStatus, uint64 npcGUID );
+ void SendQuestGiverStatus(uint8 questStatus, uint64 npcGUID);
- void SendQuestGiverQuestList( QEmote eEmote, const 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);
+ void SendQuestQueryResponse (Quest const *pQuest);
+ void SendQuestGiverQuestDetails(Quest const *pQuest, uint64 npcGUID, bool ActivateAccept);
- void SendQuestGiverOfferReward( Quest const* pQuest, uint64 npcGUID, bool EnableNext );
- void SendQuestGiverRequestItems( Quest const *pQuest, uint64 npcGUID, bool Completable, bool CloseOnCancel );
+ void SendQuestGiverOfferReward(Quest const* pQuest, uint64 npcGUID, bool EnableNext);
+ void SendQuestGiverRequestItems(Quest const *pQuest, uint64 npcGUID, bool Completable, bool CloseOnCancel);
};
#endif