Core/PacketIO: Renamed a bunch of opcodes based on more research (only those added after 6.0)

Port From (https://github.com/TrinityCore/TrinityCore/commit/f922c6e7a46a7c712daaaef9b1a72ca865fbe94b)
This commit is contained in:
hondacrx
2020-09-22 20:05:58 -04:00
parent 184915abc2
commit d40c2938a3
65 changed files with 552 additions and 527 deletions
@@ -71,18 +71,18 @@ namespace Game.Networking.Packets
_worldPacket.WritePackedGuid(TriggerGUID);
_worldPacket.WriteBit(AreaTriggerSpline.HasValue);
_worldPacket.WriteBit(AreaTriggerCircularMovement.HasValue);
_worldPacket.WriteBit(AreaTriggerOrbit.HasValue);
_worldPacket.FlushBits();
if (AreaTriggerSpline.HasValue)
AreaTriggerSpline.Value.Write(_worldPacket);
if (AreaTriggerCircularMovement.HasValue)
AreaTriggerCircularMovement.Value.Write(_worldPacket);
if (AreaTriggerOrbit.HasValue)
AreaTriggerOrbit.Value.Write(_worldPacket);
}
public Optional<AreaTriggerSplineInfo> AreaTriggerSpline;
public Optional<AreaTriggerCircularMovementInfo> AreaTriggerCircularMovement;
public Optional<AreaTriggerOrbitInfo> AreaTriggerOrbit;
public ObjectGuid TriggerGUID;
}
@@ -81,9 +81,9 @@ namespace Game.Networking.Packets
public ObjectGuid NpcGUID;
}
class ArtifactForgeOpened : ServerPacket
class OpenArtifactForge : ServerPacket
{
public ArtifactForgeOpened() : base(ServerOpcodes.ArtifactForgeOpened) { }
public OpenArtifactForge() : base(ServerOpcodes.OpenArtifactForge) { }
public override void Write()
{
@@ -95,9 +95,9 @@ namespace Game.Networking.Packets
public ObjectGuid ForgeGUID;
}
class ArtifactRespecConfirm : ServerPacket
class ArtifactRespecPrompt : ServerPacket
{
public ArtifactRespecConfirm() : base(ServerOpcodes.ArtifactRespecConfirm) { }
public ArtifactRespecPrompt() : base(ServerOpcodes.ArtifactRespecPrompt) { }
public override void Write()
{
@@ -119,7 +119,7 @@ namespace Game.Networking.Packets
}
}
class AuctionListBidderItems : ClientPacket
class AuctionListBiddedItems : ClientPacket
{
public ObjectGuid Auctioneer;
public uint Offset;
@@ -127,7 +127,7 @@ namespace Game.Networking.Packets
public Array<AuctionSortDef> Sorts = new Array<AuctionSortDef>(2);
public Optional<AddOnInfo> TaintedBy;
public AuctionListBidderItems(WorldPacket packet) : base(packet) { }
public AuctionListBiddedItems(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -237,14 +237,14 @@ namespace Game.Networking.Packets
}
}
class AuctionListOwnerItems : ClientPacket
class AuctionListOwnedItems : ClientPacket
{
public ObjectGuid Auctioneer;
public uint Offset;
public Optional<AddOnInfo> TaintedBy;
public Array<AuctionSortDef> Sorts = new Array<AuctionSortDef>(2);
public AuctionListOwnerItems(WorldPacket packet) : base(packet) { }
public AuctionListOwnedItems(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -396,14 +396,14 @@ namespace Game.Networking.Packets
}
}
class AuctionStartCommoditiesPurchase : ClientPacket
class AuctionGetCommodityQuote : ClientPacket
{
public ObjectGuid Auctioneer;
public int ItemID;
public uint Quantity;
public Optional<AddOnInfo> TaintedBy;
public AuctionStartCommoditiesPurchase(WorldPacket packet) : base(packet) { }
public AuctionGetCommodityQuote(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -460,7 +460,7 @@ namespace Game.Networking.Packets
}
}
class AuctionCommodityQuote : ServerPacket
class AuctionGetCommodityQuoteResult : ServerPacket
{
public Optional<ulong> TotalPrice;
public Optional<uint> Quantity;
@@ -468,7 +468,7 @@ namespace Game.Networking.Packets
public int Unknown830;
public uint DesiredDelay;
public AuctionCommodityQuote() : base(ServerOpcodes.AuctionCommodityQuote) { }
public AuctionGetCommodityQuoteResult() : base(ServerOpcodes.AuctionGetCommodityQuoteResult) { }
public override void Write()
{
@@ -504,13 +504,13 @@ namespace Game.Networking.Packets
}
}
public class AuctionListBidderItemsResult : ServerPacket
public class AuctionListBiddedItemsResult : ServerPacket
{
public List<AuctionItem> Items = new List<AuctionItem>();
public uint DesiredDelay;
public bool HasMoreResults;
public AuctionListBidderItemsResult() : base(ServerOpcodes.AuctionListBidderItemsResult) { }
public AuctionListBiddedItemsResult() : base(ServerOpcodes.AuctionListBiddedItemsResult) { }
public override void Write()
{
@@ -550,12 +550,12 @@ namespace Game.Networking.Packets
}
}
class AuctionFavoriteItems : ServerPacket
class AuctionFavoriteList : ServerPacket
{
public uint DesiredDelay;
public List<AuctionFavoriteInfo> Items = new List<AuctionFavoriteInfo>();
public AuctionFavoriteItems() : base(ServerOpcodes.AuctionFavoriteItems) { }
public AuctionFavoriteList() : base(ServerOpcodes.AuctionFavoriteList) { }
public override void Write()
{
@@ -597,14 +597,14 @@ namespace Game.Networking.Packets
}
}
public class AuctionListOwnerItemsResult : ServerPacket
public class AuctionListOwnedItemsResult : ServerPacket
{
public List<AuctionItem> Items = new List<AuctionItem>();
public List<AuctionItem> SoldItems = new List<AuctionItem>();
public uint DesiredDelay;
public bool HasMoreResults;
public AuctionListOwnerItemsResult() : base(ServerOpcodes.AuctionListOwnerItemsResult) { }
public AuctionListOwnedItemsResult() : base(ServerOpcodes.AuctionListOwnedItemsResult) { }
public override void Write()
{
@@ -365,14 +365,14 @@ namespace Game.Networking.Packets
byte Con;
}
class EnableEncryption : ServerPacket
class EnterEncryptedMode : ServerPacket
{
byte[] EncryptionKey;
bool Enabled;
static byte[] EnableEncryptionSeed = { 0x90, 0x9C, 0xD0, 0x50, 0x5A, 0x2C, 0x14, 0xDD, 0x5C, 0x2C, 0xC0, 0x64, 0x14, 0xF3, 0xFE, 0xC9 };
public EnableEncryption(byte[] encryptionKey, bool enabled) : base(ServerOpcodes.EnableEncryption)
public EnterEncryptedMode(byte[] encryptionKey, bool enabled) : base(ServerOpcodes.EnterEncryptedMode)
{
EncryptionKey = encryptionKey;
Enabled = enabled;
@@ -21,9 +21,9 @@ using Framework.Dynamic;
namespace Game.Networking.Packets
{
class AzeriteXpGain : ServerPacket
class PlayerAzeriteItemGains : ServerPacket
{
public AzeriteXpGain() : base(ServerOpcodes.AzeriteXpGain) { }
public PlayerAzeriteItemGains() : base(ServerOpcodes.PlayerAzeriteItemGains) { }
public override void Write()
{
@@ -35,9 +35,9 @@ namespace Game.Networking.Packets
public ulong XP;
}
class AzeriteEssenceForgeOpened : ServerPacket
class OpenHeartForge : ServerPacket
{
public AzeriteEssenceForgeOpened() : base(ServerOpcodes.AzeriteEssenceForgeOpened) { }
public OpenHeartForge() : base(ServerOpcodes.OpenHeartForge) { }
public override void Write()
{
@@ -47,9 +47,9 @@ namespace Game.Networking.Packets
public ObjectGuid ForgeGUID;
}
class AzeriteEssenceForgeClose : ServerPacket
class CloseHeartForge : ServerPacket
{
public AzeriteEssenceForgeClose() : base(ServerOpcodes.AzeriteEssenceForgeClose) { }
public CloseHeartForge() : base(ServerOpcodes.CloseHeartForge) { }
public override void Write() { }
}
@@ -80,9 +80,9 @@ namespace Game.Networking.Packets
public byte Slot;
}
class AzeriteEssenceSelectionResult : ServerPacket
class ActivateEssenceFailed : ServerPacket
{
public AzeriteEssenceSelectionResult() : base(ServerOpcodes.AzeriteEssenceSelectionResult) { }
public ActivateEssenceFailed() : base(ServerOpcodes.ActivateEssenceFailed) { }
public override void Write()
{
@@ -130,9 +130,9 @@ namespace Game.Networking.Packets
public byte Slot;
}
class AzeriteEmpoweredItemEquippedStatusChanged : ServerPacket
class PlayerAzeriteItemEquippedStatusChanged : ServerPacket
{
public AzeriteEmpoweredItemEquippedStatusChanged() : base(ServerOpcodes.AzeriteEmpoweredItemEquippedStatusChanged) { }
public PlayerAzeriteItemEquippedStatusChanged() : base(ServerOpcodes.PlayerAzeriteItemEquippedStatusChanged) { }
public override void Write()
{
@@ -143,9 +143,9 @@ namespace Game.Networking.Packets
public bool IsHeartEquipped;
}
class AzeriteEmpoweredItemRespecOpen : ServerPacket
class AzeriteRespecNPC : ServerPacket
{
public AzeriteEmpoweredItemRespecOpen(ObjectGuid npcGuid) : base(ServerOpcodes.AzeriteEmpoweredItemRespecOpen)
public AzeriteRespecNPC(ObjectGuid npcGuid) : base(ServerOpcodes.AzeriteRespecNpc)
{
NpcGUID = npcGuid;
}
@@ -24,9 +24,9 @@ using System.Collections.Generic;
namespace Game.Networking.Packets
{
public class PVPSeason : ServerPacket
public class SeasonInfo : ServerPacket
{
public PVPSeason() : base(ServerOpcodes.PvpSeason) { }
public SeasonInfo() : base(ServerOpcodes.SeasonInfo) { }
public override void Write()
{
@@ -80,16 +80,16 @@ namespace Game.Networking.Packets
public override void Read() { }
}
public class PVPLogDataMessage : ServerPacket
public class PVPMatchStatisticsMessage : ServerPacket
{
public PVPLogDataMessage() : base(ServerOpcodes.PvpLogData, ConnectionType.Instance) { }
public PVPMatchStatisticsMessage() : base(ServerOpcodes.PvpMatchStatistics, ConnectionType.Instance) { }
public override void Write()
{
Data.Write(_worldPacket);
}
public PVPLogData Data;
public PVPMatchStatistics Data;
}
public class BattlefieldStatusNone : ServerPacket
@@ -442,9 +442,9 @@ namespace Game.Networking.Packets
public override void Read() { }
}
class RatedBattlefieldInfo : ServerPacket
class RatedPvpInfo : ServerPacket
{
public RatedBattlefieldInfo() : base(ServerOpcodes.RatedBattlefieldInfo) { }
public RatedPvpInfo() : base(ServerOpcodes.RatedPvpInfo) { }
public override void Write()
{
@@ -455,9 +455,9 @@ namespace Game.Networking.Packets
BracketInfo[] Bracket = new BracketInfo[6];
}
class PVPMatchInit : ServerPacket
class PVPMatchInitialize : ServerPacket
{
public PVPMatchInit() : base(ServerOpcodes.PvpMatchInit, ConnectionType.Instance) { }
public PVPMatchInitialize() : base(ServerOpcodes.PvpMatchInitialize, ConnectionType.Instance) { }
public override void Write()
{
@@ -489,9 +489,9 @@ namespace Game.Networking.Packets
public bool AffectsRating;
}
class PVPMatchEnd : ServerPacket
class PVPMatchComplete : ServerPacket
{
public PVPMatchEnd() : base(ServerOpcodes.PvpMatchEnd, ConnectionType.Instance) { }
public PVPMatchComplete() : base(ServerOpcodes.PvpMatchComplete, ConnectionType.Instance) { }
public override void Write()
{
@@ -506,7 +506,7 @@ namespace Game.Networking.Packets
public byte Winner;
public int Duration;
public Optional<PVPLogData> LogData;
public Optional<PVPMatchStatistics> LogData;
}
//Structs
@@ -547,7 +547,7 @@ namespace Game.Networking.Packets
}
}
public class PVPLogData
public class PVPMatchStatistics
{
public List<PVPMatchPlayerStatistics> Statistics = new List<PVPMatchPlayerStatistics>();
public Optional<RatingData> Ratings;
@@ -53,9 +53,9 @@ namespace Game.Networking.Packets
public ByteBuffer Data = new ByteBuffer();
}
class SetSessionState : ServerPacket
class ConnectionStatus : ServerPacket
{
public SetSessionState() : base(ServerOpcodes.BattlenetSetSessionState) { }
public ConnectionStatus() : base(ServerOpcodes.BattleNetConnectionStatus) { }
public override void Write()
{
@@ -68,9 +68,9 @@ namespace Game.Networking.Packets
public bool SuppressNotification;
}
class RealmListTicket : ServerPacket
class ChangeRealmTicketResponse : ServerPacket
{
public RealmListTicket() : base(ServerOpcodes.BattlenetRealmListTicket) { }
public ChangeRealmTicketResponse() : base(ServerOpcodes.ChangeRealmTicketResponse) { }
public override void Write()
{
@@ -101,9 +101,9 @@ namespace Game.Networking.Packets
public byte[] Data;
}
class RequestRealmListTicket : ClientPacket
class ChangeRealmTicket : ClientPacket
{
public RequestRealmListTicket(WorldPacket packet) : base(packet) { }
public ChangeRealmTicket(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -124,9 +124,9 @@ namespace Game.Networking.Packets
public long Date;
}
class SCalendarEventInvite : ServerPacket
class CalendarInviteAdded : ServerPacket
{
public SCalendarEventInvite() : base(ServerOpcodes.CalendarEventInvite) { }
public CalendarInviteAdded() : base(ServerOpcodes.CalendarInviteAdded) { }
public override void Write()
{
@@ -221,9 +221,9 @@ namespace Game.Networking.Packets
public List<CalendarEventInviteInfo> Invites = new List<CalendarEventInviteInfo>();
}
class CalendarEventInviteAlert : ServerPacket
class CalendarInviteAlert : ServerPacket
{
public CalendarEventInviteAlert() : base(ServerOpcodes.CalendarEventInviteAlert) { }
public CalendarInviteAlert() : base(ServerOpcodes.CalendarInviteAlert) { }
public override void Write()
{
@@ -301,9 +301,9 @@ namespace Game.Networking.Packets
public CalendarInviteStatus Status;
}
class CalendarEventInviteStatus : ServerPacket
class CalendarInviteStatusPacket : ServerPacket
{
public CalendarEventInviteStatus() : base(ServerOpcodes.CalendarEventInviteStatus) { }
public CalendarInviteStatusPacket() : base(ServerOpcodes.CalendarInviteStatus) { }
public override void Write()
{
@@ -327,9 +327,9 @@ namespace Game.Networking.Packets
public ObjectGuid InviteGuid;
}
class CalendarEventInviteRemoved : ServerPacket
class CalendarInviteRemoved : ServerPacket
{
public CalendarEventInviteRemoved() : base(ServerOpcodes.CalendarEventInviteRemoved) { }
public CalendarInviteRemoved() : base(ServerOpcodes.CalendarInviteRemoved) { }
public override void Write()
{
@@ -347,9 +347,9 @@ namespace Game.Networking.Packets
public bool ClearPending;
}
class CalendarEventInviteModeratorStatus : ServerPacket
class CalendarInviteModeratorStatus : ServerPacket
{
public CalendarEventInviteModeratorStatus() : base(ServerOpcodes.CalendarEventInviteModeratorStatus) { }
public CalendarInviteModeratorStatus() : base(ServerOpcodes.CalendarInviteModeratorStatus) { }
public override void Write()
{
@@ -367,9 +367,9 @@ namespace Game.Networking.Packets
public bool ClearPending;
}
class CalendarEventInviteRemovedAlert : ServerPacket
class CalendarInviteRemovedAlert : ServerPacket
{
public CalendarEventInviteRemovedAlert() : base(ServerOpcodes.CalendarEventInviteRemovedAlert) { }
public CalendarInviteRemovedAlert() : base(ServerOpcodes.CalendarInviteRemovedAlert) { }
public override void Write()
{
@@ -639,9 +639,9 @@ namespace Game.Networking.Packets
public int NewTimeRemaining;
}
class CalendarEventInitialInvites : ServerPacket
class CalendarCommunityInvite : ServerPacket
{
public CalendarEventInitialInvites() : base(ServerOpcodes.CalendarEventInitialInvites) { }
public CalendarCommunityInvite() : base(ServerOpcodes.CalendarCommunityInvite) { }
public override void Write()
{
@@ -656,9 +656,9 @@ namespace Game.Networking.Packets
public List<CalendarEventInitialInviteInfo> Invites = new List<CalendarEventInitialInviteInfo>();
}
class CalendarEventInviteStatusAlert : ServerPacket
class CalendarInviteStatusAlert : ServerPacket
{
public CalendarEventInviteStatusAlert() : base(ServerOpcodes.CalendarEventInviteStatusAlert) { }
public CalendarInviteStatusAlert() : base(ServerOpcodes.CalendarInviteStatusAlert) { }
public override void Write()
{
@@ -674,9 +674,9 @@ namespace Game.Networking.Packets
public byte Status;
}
class CalendarEventInviteNotesAlert : ServerPacket
class CalendarInviteNotesAlert : ServerPacket
{
public CalendarEventInviteNotesAlert(ulong eventID, string notes) : base(ServerOpcodes.CalendarEventInviteNotesAlert)
public CalendarInviteNotesAlert(ulong eventID, string notes) : base(ServerOpcodes.CalendarInviteNotesAlert)
{
EventID = eventID;
Notes = notes;
@@ -695,9 +695,9 @@ namespace Game.Networking.Packets
public string Notes;
}
class CalendarEventInviteNotes : ServerPacket
class CalendarInviteNotes : ServerPacket
{
public CalendarEventInviteNotes() : base(ServerOpcodes.CalendarEventInviteNotes) { }
public CalendarInviteNotes() : base(ServerOpcodes.CalendarInviteNotes) { }
public override void Write()
{
@@ -969,9 +969,9 @@ namespace Game.Networking.Packets
public uint FactionIndex;
}
class CharCustomizeResponse : ServerPacket
class CharCustomizeSuccess : ServerPacket
{
public CharCustomizeResponse(CharCustomizeInfo customizeInfo) : base(ServerOpcodes.CharCustomize)
public CharCustomizeSuccess(CharCustomizeInfo customizeInfo) : base(ServerOpcodes.CharCustomizeSuccess)
{
CharGUID = customizeInfo.CharGUID;
SexID = (byte)customizeInfo.SexID;
@@ -1010,9 +1010,9 @@ namespace Game.Networking.Packets
public Array<byte> CustomDisplay = new Array<byte>(PlayerConst.CustomDisplaySize);
}
class CharCustomizeFailed : ServerPacket
class CharCustomizeFailure : ServerPacket
{
public CharCustomizeFailed() : base(ServerOpcodes.CharCustomizeFailed) { }
public CharCustomizeFailure() : base(ServerOpcodes.CharCustomizeFailure) { }
public override void Write()
{
@@ -136,9 +136,9 @@ namespace Game.Networking.Packets
public bool PlayAsDespawn;
}
class GameObjectUIAction : ServerPacket
class GameObjectUILink : ServerPacket
{
public GameObjectUIAction() : base(ServerOpcodes.GameObjectUiAction, ConnectionType.Instance) { }
public GameObjectUILink() : base(ServerOpcodes.GameObjectUILink, ConnectionType.Instance) { }
public override void Write()
{
@@ -122,9 +122,9 @@ namespace Game.Networking.Packets
public List<HotfixRecord> Hotfixes = new List<HotfixRecord>();
}
class HotfixResponse : ServerPacket
class HotfixConnect : ServerPacket
{
public HotfixResponse() : base(ServerOpcodes.HotfixResponse) { }
public HotfixConnect() : base(ServerOpcodes.HotfixConnect) { }
public override void Write()
{
@@ -257,9 +257,9 @@ namespace Game.Networking.Packets
public uint CombatResChargeRecovery;
}
class BossKillCredit : ServerPacket
class BossKill : ServerPacket
{
public BossKillCredit() : base(ServerOpcodes.BossKillCredit, ConnectionType.Instance) { }
public BossKill() : base(ServerOpcodes.BossKill, ConnectionType.Instance) { }
public override void Write()
{
@@ -618,9 +618,9 @@ namespace Game.Networking.Packets
public ObjectGuid[] GemItem = new ObjectGuid[ItemConst.MaxGemSockets];
}
class SocketGemsResult : ServerPacket
class SocketGemsSuccess : ServerPacket
{
public SocketGemsResult() : base(ServerOpcodes.SocketGems, ConnectionType.Instance) { }
public SocketGemsSuccess() : base(ServerOpcodes.SocketGemsSuccess, ConnectionType.Instance) { }
public override void Write()
{
@@ -651,9 +651,9 @@ namespace Game.Networking.Packets
public override void Read() { }
}
class SortBagsResult : ServerPacket
class BagCleanupFinished : ServerPacket
{
public SortBagsResult() : base(ServerOpcodes.SortBagsResult, ConnectionType.Instance) { }
public BagCleanupFinished() : base(ServerOpcodes.BagCleanupFinished, ConnectionType.Instance) { }
public override void Write() { }
}
@@ -670,9 +670,9 @@ namespace Game.Networking.Packets
public ObjectGuid ItemGuid { get; set; }
}
class CharacterInventoryOverflowWarning : ServerPacket
class InventoryFullOverflow : ServerPacket
{
public CharacterInventoryOverflowWarning() : base(ServerOpcodes.CharacterInventoryOverflowWarning) { }
public InventoryFullOverflow() : base(ServerOpcodes.InventoryFullOverflow) { }
public override void Write() { }
}
@@ -294,16 +294,16 @@ namespace Game.Networking.Packets
public uint MovieID;
}
public class UITimeRequest : ClientPacket
public class ServerTimeOffsetRequest : ClientPacket
{
public UITimeRequest(WorldPacket packet) : base(packet) { }
public ServerTimeOffsetRequest(WorldPacket packet) : base(packet) { }
public override void Read() { }
}
public class UITime : ServerPacket
public class ServerTimeOffset : ServerPacket
{
public UITime() : base(ServerOpcodes.UiTime) { }
public ServerTimeOffset() : base(ServerOpcodes.ServerTimeOffset) { }
public override void Write()
{
@@ -222,9 +222,9 @@ namespace Game.Networking.Packets
public ObjectGuid TargetGUID;
}
class PartyMemberState : ServerPacket
class PartyMemberFullState : ServerPacket
{
public PartyMemberState() : base(ServerOpcodes.PartyMemberState) { }
public PartyMemberFullState() : base(ServerOpcodes.PartyMemberFullState) { }
public override void Write()
{
@@ -811,9 +811,9 @@ namespace Game.Networking.Packets
public override void Read() { }
}
class WorldQuestUpdate : ServerPacket
class WorldQuestUpdateResponse : ServerPacket
{
public WorldQuestUpdate() : base(ServerOpcodes.WorldQuestUpdate, ConnectionType.Instance) { }
public WorldQuestUpdateResponse() : base(ServerOpcodes.WorldQuestUpdateResponse, ConnectionType.Instance) { }
public override void Write()
{
@@ -21,9 +21,9 @@ using System;
namespace Game.Networking.Packets
{
public class ReferAFriendFailure : ServerPacket
public class RecruitAFriendFailure : ServerPacket
{
public ReferAFriendFailure() : base(ServerOpcodes.ReferAFriendFailure) { }
public RecruitAFriendFailure() : base(ServerOpcodes.RecruitAFriendFailure) { }
public override void Write()
{
@@ -94,9 +94,9 @@ namespace Game.Networking.Packets
public uint ScenarioID;
}
class ScenarioBoot : ServerPacket
class ScenarioVacate : ServerPacket
{
public ScenarioBoot() : base(ServerOpcodes.ScenarioBoot, ConnectionType.Instance) { }
public ScenarioVacate() : base(ServerOpcodes.ScenarioVacate, ConnectionType.Instance) { }
public override void Write()
{
@@ -106,9 +106,9 @@ namespace Game.Networking.Packets
public SpecResetType RespecType;
}
class LearnTalentsFailed : ServerPacket
class LearnTalentFailed : ServerPacket
{
public LearnTalentsFailed() : base(ServerOpcodes.LearnTalentsFailed) { }
public LearnTalentFailed() : base(ServerOpcodes.LearnTalentFailed) { }
public override void Write()
{
@@ -157,9 +157,9 @@ namespace Game.Networking.Packets
public Array<PvPTalent> Talents = new Array<PvPTalent>(4);
}
class LearnPvpTalentsFailed : ServerPacket
class LearnPvpTalentFailed : ServerPacket
{
public LearnPvpTalentsFailed() : base(ServerOpcodes.LearnPvpTalentsFailed) { }
public LearnPvpTalentFailed() : base(ServerOpcodes.LearnPvpTalentFailed) { }
public override void Write()
{
@@ -20,9 +20,9 @@ using System.Collections.Generic;
namespace Game.Networking.Packets
{
class UpdateListedAuctionableTokens : ClientPacket
class CommerceTokenGetLog : ClientPacket
{
public UpdateListedAuctionableTokens(WorldPacket packet) : base(packet) { }
public CommerceTokenGetLog(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -32,9 +32,9 @@ namespace Game.Networking.Packets
public uint UnkInt;
}
class UpdateListedAuctionableTokensResponse : ServerPacket
class CommerceTokenGetLogResponse : ServerPacket
{
public UpdateListedAuctionableTokensResponse() : base(ServerOpcodes.WowTokenUpdateAuctionableListResponse, ConnectionType.Instance) { }
public CommerceTokenGetLogResponse() : base(ServerOpcodes.CommerceTokenGetLogResponse, ConnectionType.Instance) { }
public override void Write()
{
@@ -66,9 +66,9 @@ namespace Game.Networking.Packets
}
}
class RequestWowTokenMarketPrice : ClientPacket
class CommerceTokenGetMarketPrice : ClientPacket
{
public RequestWowTokenMarketPrice(WorldPacket packet) : base(packet) { }
public CommerceTokenGetMarketPrice(WorldPacket packet) : base(packet) { }
public override void Read()
{
@@ -78,9 +78,9 @@ namespace Game.Networking.Packets
public uint UnkInt;
}
class WowTokenMarketPriceResponse : ServerPacket
class CommerceTokenGetMarketPriceResponse : ServerPacket
{
public WowTokenMarketPriceResponse() : base(ServerOpcodes.WowTokenMarketPriceResponse) { }
public CommerceTokenGetMarketPriceResponse() : base(ServerOpcodes.CommerceTokenGetMarketPriceResponse) { }
public override void Write()
{
+2 -2
View File
@@ -46,9 +46,9 @@ namespace Game.Networking.Packets
public SpellCastRequest Cast = new SpellCastRequest();
}
class AccountToysUpdate : ServerPacket
class AccountToyUpdate : ServerPacket
{
public AccountToysUpdate() : base(ServerOpcodes.AccountToysUpdate, ConnectionType.Instance) { }
public AccountToyUpdate() : base(ServerOpcodes.AccountToyUpdate, ConnectionType.Instance) { }
public override void Write()
{
@@ -45,9 +45,9 @@ namespace Game.Networking.Packets
public bool CurrentSpecOnly;
}
class TransmogCollectionUpdate : ServerPacket
class AccountTransmogUpdate : ServerPacket
{
public TransmogCollectionUpdate() : base(ServerOpcodes.TransmogCollectionUpdate) { }
public AccountTransmogUpdate() : base(ServerOpcodes.AccountTransmogUpdate) { }
public override void Write()
{
@@ -69,9 +69,9 @@ namespace Game.Networking.Packets
public List<uint> NewAppearances = new List<uint>();
}
class OpenTransmogrifier : ServerPacket
class TransmogrifyNPC : ServerPacket
{
public OpenTransmogrifier(ObjectGuid guid) : base(ServerOpcodes.OpenTransmogrifier, ConnectionType.Instance)
public TransmogrifyNPC(ObjectGuid guid) : base(ServerOpcodes.TransmogrifyNpc, ConnectionType.Instance)
{
Guid = guid;
}
@@ -54,9 +54,9 @@ namespace Game.Networking.Packets
public ByteBuffer Data;
}
class WardenDataServer : ServerPacket
class Warden3DataServer : ServerPacket
{
public WardenDataServer() : base(ServerOpcodes.WardenData) { }
public Warden3DataServer() : base(ServerOpcodes.Warden3Data) { }
public override void Write()
{