// Copyright (c) CypherCore All rights reserved. // Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE file in the project root for full license information. using System; namespace Framework.Constants { public enum ChatNotify { JoinedNotice = 0x00, //+ "%S Joined Channel."; LeftNotice = 0x01, //+ "%S Left Channel."; //SuspendedNotice = 0x01, // "%S Left Channel."; YouJoinedNotice = 0x02, //+ "Joined Channel: [%S]"; -- You Joined //YouChangedNotice = 0x02, // "Changed Channel: [%S]"; YouLeftNotice = 0x03, //+ "Left Channel: [%S]"; -- You Left WrongPasswordNotice = 0x04, //+ "Wrong Password For %S."; NotMemberNotice = 0x05, //+ "Not On Channel %S."; NotModeratorNotice = 0x06, //+ "Not A Moderator Of %S."; PasswordChangedNotice = 0x07, //+ "[%S] Password Changed By %S."; OwnerChangedNotice = 0x08, //+ "[%S] Owner Changed To %S."; PlayerNotFoundNotice = 0x09, //+ "[%S] Player %S Was Not Found."; NotOwnerNotice = 0x0a, //+ "[%S] You Are Not The Channel Owner."; ChannelOwnerNotice = 0x0b, //+ "[%S] Channel Owner Is %S."; ModeChangeNotice = 0x0c, //? AnnouncementsOnNotice = 0x0d, //+ "[%S] Channel Announcements Enabled By %S."; AnnouncementsOffNotice = 0x0e, //+ "[%S] Channel Announcements Disabled By %S."; ModerationOnNotice = 0x0f, //+ "[%S] Channel Moderation Enabled By %S."; ModerationOffNotice = 0x10, //+ "[%S] Channel Moderation Disabled By %S."; MutedNotice = 0x11, //+ "[%S] You Do Not Have Permission To Speak."; PlayerKickedNotice = 0x12, //? "[%S] Player %S Kicked By %S."; BannedNotice = 0x13, //+ "[%S] You Are Bannedstore From That Channel."; PlayerBannedNotice = 0x14, //? "[%S] Player %S Bannedstore By %S."; PlayerUnbannedNotice = 0x15, //? "[%S] Player %S Unbanned By %S."; PlayerNotBannedNotice = 0x16, //+ "[%S] Player %S Is Not Bannedstore."; PlayerAlreadyMemberNotice = 0x17, //+ "[%S] Player %S Is Already On The Channel."; InviteNotice = 0x18, //+ "%2$S Has Invited You To Join The Channel '%1$S'."; InviteWrongFactionNotice = 0x19, //+ "Target Is In The Wrong Alliance For %S."; WrongFactionNotice = 0x1a, //+ "Wrong Alliance For %S."; InvalidNameNotice = 0x1b, //+ "Invalid Channel Name"; NotModeratedNotice = 0x1c, //+ "%S Is Not Moderated"; PlayerInvitedNotice = 0x1d, //+ "[%S] You Invited %S To Join The Channel"; PlayerInviteBannedNotice = 0x1e, //+ "[%S] %S Has Been Bannedstore."; ThrottledNotice = 0x1f, //+ "[%S] The Number Of Messages That Can Be Sent To This Channel Is Limited, Please Wait To Send Another Message."; NotInAreaNotice = 0x20, //+ "[%S] You Are Not In The Correct Area For This Channel."; -- The User Is Trying To Send A Chat To A Zone Specific Channel, And They'Re Not Physically In That Zone. NotInLfgNotice = 0x21, //+ "[%S] You Must Be Queued In Looking For Group Before Joining This Channel."; -- The User Must Be In The Looking For Group System To Join Lfg Chat Channels. VoiceOnNotice = 0x22, //+ "[%S] Channel Voice Enabled By %S."; VoiceOffNotice = 0x23, //+ "[%S] Channel Voice Disabled By %S."; VoiceOnNoAnnounceNotice = 0x24, // same as CHAT_VOICE_ON_NOTICE but no chat mode change announcement TrialRestricted = 0x25, //+ "[%s] Free Trial accounts cannot send messages to this channel. |cffffd000|Hstorecategory:gametime|h[Click To Upgrade]|h|r" NotAllowedInChannel = 0x26 //+ "That operation is not permitted in this channel." } public enum ChannelFlags { None = 0x00, Custom = 0x01, // 0x02 Trade = 0x04, NotLfg = 0x08, General = 0x10, City = 0x20, Lfg = 0x40, Voice = 0x80 // General 0x18 = 0x10 | 0x08 // Trade 0x3C = 0x20 | 0x10 | 0x08 | 0x04 // LocalDefence 0x18 = 0x10 | 0x08 // GuildRecruitment 0x38 = 0x20 | 0x10 | 0x08 // LookingForGroup 0x50 = 0x40 | 0x10 } public enum ChannelMemberFlags { None = 0x00, Owner = 0x01, Moderator = 0x02, Voiced = 0x04, Muted = 0x08, Custom = 0x10, MicMuted = 0x20 // 0x40 // 0x80 } public enum ChatWhisperTargetStatus { CanWhisper = 0, CanWhisperGuild = 1, Offline = 2, WrongFaction = 3 } }