Misc updates.

This commit is contained in:
hondacrx
2021-11-03 12:34:28 -04:00
parent 5a90a3ddde
commit d5bdf04cca
4 changed files with 42 additions and 30 deletions
@@ -104,6 +104,7 @@ namespace Framework.Constants
Graveyard = 27, Graveyard = 27,
AreaTrigger = 28, AreaTrigger = 28,
ConversationLine = 29, ConversationLine = 29,
AreatriggerClientTriggered = 30,
Max Max
} }
+34 -27
View File
@@ -15,6 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
using System;
namespace Framework.Constants namespace Framework.Constants
{ {
public class GuildConst public class GuildConst
@@ -49,30 +51,34 @@ namespace Framework.Constants
public static uint MasterDethroneInactiveDays = 90; public static uint MasterDethroneInactiveDays = 90;
} }
[Flags]
public enum GuildRankRights public enum GuildRankRights
{ {
None = 0x00000000, None = 0x00,
GChatListen = 0x00000001, GChatListen = 0x01,
GChatSpeak = 0x00000002, GChatSpeak = 0x02,
OffChatListen = 0x00000004, OffChatListen = 0x04,
OffChatSpeak = 0x00000008, OffChatSpeak = 0x08,
Invite = 0x00000010, Invite = 0x10,
Remove = 0x00000020, Remove = 0x20,
Roster = 0x00000040, Roster = 0x40,
Promote = 0x00000080, Promote = 0x80,
Demote = 0x00000100, Demote = 0x100,
Unk200 = 0x00000200, Unk200 = 0x200,
Unk400 = 0x00000400, Unk400 = 0x400,
Unk800 = 0x00000800, Unk800 = 0x800,
SetMotd = 0x00001000, SetMotd = 0x1000,
EditPublicNote = 0x00002000, EditPublicNote = 0x2000,
ViewOffNote = 0x00004000, ViewOffNote = 0x4000,
EOffNote = 0x00008000, EOffNote = 0x8000,
ModifyGuildInfo = 0x00010000, ModifyGuildInfo = 0x10000,
WithdrawGoldLock = 0x00020000, // remove money withdraw capacity WithdrawGoldLock = 0x20000, // remove money withdraw capacity
WithdrawRepair = 0x00040000, // withdraw for repair WithdrawRepair = 0x40000, // withdraw for repair
WithdrawGold = 0x00080000, // withdraw gold WithdrawGold = 0x80000, // withdraw gold
CreateGuildEvent = 0x00100000, // wotlk CreateGuildEvent = 0x100000, // wotlk
InAuthenticatedRank = 0x200000,
EditGuildBankTabInfo = 0x400000,
Officer = 0x800000,
All = 0x00DDFFBF All = 0x00DDFFBF
} }
@@ -85,13 +91,14 @@ namespace Framework.Constants
public const int Initiate = 4; public const int Initiate = 4;
} }
[Flags]
public enum GuildMemberFlags public enum GuildMemberFlags
{ {
None = 0, None = 0x00,
Online = 1, Online = 0x01,
AFK = 2, AFK = 0x02,
DND = 3, DND = 0x04,
Mobile = 4 Mobile = 0x08
} }
public enum GuildMemberData public enum GuildMemberData
+6 -3
View File
@@ -23,16 +23,19 @@ namespace Framework.Constants
AccountListener = 0x54DFDA17u, AccountListener = 0x54DFDA17u,
AuthenticationListener = 0x71240E35u, AuthenticationListener = 0x71240E35u,
AuthenticationService = 0xDECFC01u, AuthenticationService = 0xDECFC01u,
ChallengeService = 0xDBBF6F19u,
ChallengeListener = 0xBBDA171Fu, ChallengeListener = 0xBBDA171Fu,
ChannelService = 0xB732DB32u, ClubListener = 0x80909D73u,
ChannelListener = 0xBF8C8094u, ClubMembershipListener = 0x2B34597Bu,
ClubMembershipService = 0x94B94786u,
ClubService = 0xE273DE0Eu,
ConnectionService = 0x65446991u, ConnectionService = 0x65446991u,
FriendsService = 0xA3DDB1BDu, FriendsService = 0xA3DDB1BDu,
FriendsListener = 0x6F259A13u, FriendsListener = 0x6F259A13u,
GameUtilitiesService = 0x3FC1274Du, GameUtilitiesService = 0x3FC1274Du,
PresenceListener = 0x890AB85Fu,
PresenceService = 0xFA0796FFu, PresenceService = 0xFA0796FFu,
ReportService = 0x7CAF61C9u, ReportService = 0x7CAF61C9u,
ReportServiceV2 = 0x3A4218FBu,
ResourcesService = 0xECBE75BAu, ResourcesService = 0xECBE75BAu,
UserManagerService = 0x3E19268Au, UserManagerService = 0x3E19268Au,
UserManagerListener = 0xBC872C22u UserManagerListener = 0xBC872C22u
+1
View File
@@ -3291,6 +3291,7 @@ namespace Game.Spells
case 40268: // Spiritual Vengeance, Teron Gorefiend, Black Temple case 40268: // Spiritual Vengeance, Teron Gorefiend, Black Temple
case 61987: // Avenging Wrath Marker case 61987: // Avenging Wrath Marker
case 61988: // Divine Shield exclude aura case 61988: // Divine Shield exclude aura
case 64412: // Phase Punch, Algalon the Observer, Ulduar
case 72410: // Rune of Blood, Saurfang, Icecrown Citadel case 72410: // Rune of Blood, Saurfang, Icecrown Citadel
case 71204: // Touch of Insignificance, Lady Deathwhisper, Icecrown Citadel case 71204: // Touch of Insignificance, Lady Deathwhisper, Icecrown Citadel
return false; return false;