Core: Improve constant channel handling

- Implement area restrictions
  - Disable constant channels in arenas
  - Implement city requirement
- Implement global constant channels
- Fix some packets

--HG--
branch : trunk
This commit is contained in:
linencloth
2010-10-16 12:59:53 +02:00
parent 3bd1ee0665
commit ae213dd580
9 changed files with 122 additions and 53 deletions
+2
View File
@@ -1878,6 +1878,8 @@ class Player : public Unit, public GridObject<Player>
void SetMovement(PlayerMovementType pType);
bool CanJoinConstantChannelInZone(ChatChannelsEntry const* channel, AreaTableEntry const* zone);
void JoinedChannel(Channel *c);
void LeftChannel(Channel *c);
void CleanupChannels();