aboutsummaryrefslogtreecommitdiff
path: root/src/game/Channel.h
diff options
context:
space:
mode:
authorRat <none@none>2009-07-18 22:15:56 +0200
committerRat <none@none>2009-07-18 22:15:56 +0200
commit7166e8d26fe1bdf0f5765dd3e9b110b395d412e7 (patch)
tree2a685074c350fd74bc5ef47c5057b4fd2d836649 /src/game/Channel.h
parentb7b3264cb5ff6d6393e0d1021e0a233a19852f50 (diff)
*implemented basic Chat Channel saving
*includes owner, banlist,announce,password, saving *todo: -make it cacheble -add a filter to not save some addon spec channels -find someone who does these for me :) --HG-- branch : trunk
Diffstat (limited to 'src/game/Channel.h')
-rw-r--r--src/game/Channel.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/game/Channel.h b/src/game/Channel.h
index c2dd5ecd3ac..69a1e2f66f6 100644
--- a/src/game/Channel.h
+++ b/src/game/Channel.h
@@ -158,6 +158,7 @@ class Channel
uint8 m_flags;
uint32 m_channelId;
uint64 m_ownerGUID;
+ bool m_IsSaved;
private:
// initial packet data (notify type and channel name)
@@ -243,7 +244,8 @@ class Channel
}
public:
- Channel(const std::string& name, uint32 channel_id);
+ uint32 m_Team;
+ Channel(const std::string& name, uint32 channel_id, uint32 Team = 0);
std::string GetName() const { return m_name; }
uint32 GetChannelId() const { return m_channelId; }
bool IsConstant() const { return m_channelId != 0; }