Update opcodes to 7.3.2
This commit is contained in:
@@ -76,9 +76,9 @@ namespace Game.Network.Packets
|
||||
public ByteBuffer Data = new ByteBuffer();
|
||||
}
|
||||
|
||||
class HotfixList : ServerPacket
|
||||
class AvailableHotfixes : ServerPacket
|
||||
{
|
||||
public HotfixList(int hotfixCacheVersion, Dictionary<ulong, int> hotfixes) : base(ServerOpcodes.HotfixList)
|
||||
public AvailableHotfixes(int hotfixCacheVersion, Dictionary<ulong, int> hotfixes) : base(ServerOpcodes.AvailableHotfixes)
|
||||
{
|
||||
HotfixCacheVersion = hotfixCacheVersion;
|
||||
Hotfixes = hotfixes;
|
||||
@@ -97,9 +97,9 @@ namespace Game.Network.Packets
|
||||
public Dictionary<ulong, int> Hotfixes = new Dictionary<ulong, int>();
|
||||
}
|
||||
|
||||
class HotfixQuery : ClientPacket
|
||||
class HotfixRequest : ClientPacket
|
||||
{
|
||||
public HotfixQuery(WorldPacket packet) : base(packet) { }
|
||||
public HotfixRequest(WorldPacket packet) : base(packet) { }
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
@@ -114,9 +114,9 @@ namespace Game.Network.Packets
|
||||
public List<ulong> Hotfixes = new List<ulong>();
|
||||
}
|
||||
|
||||
class HotfixQueryResponse : ServerPacket
|
||||
class HotfixResponse : ServerPacket
|
||||
{
|
||||
public HotfixQueryResponse() : base(ServerOpcodes.HotfixQueryResponse) { }
|
||||
public HotfixResponse() : base(ServerOpcodes.HotfixResponse) { }
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
|
||||
@@ -359,6 +359,7 @@ namespace Game.Network.Packets
|
||||
_worldPacket.WriteUInt32(Slot);
|
||||
_worldPacket.WriteUInt8(State);
|
||||
_worldPacket.WriteUInt32(CompletedMask);
|
||||
_worldPacket.WriteUInt32(EncounterMask);
|
||||
_worldPacket.WriteUInt32(Players.Count);
|
||||
_worldPacket.WriteUInt8(Unused);
|
||||
_worldPacket.WriteBit(ValidCompletedMask);
|
||||
@@ -376,6 +377,7 @@ namespace Game.Network.Packets
|
||||
public uint Slot;
|
||||
public byte State;
|
||||
public uint CompletedMask;
|
||||
public uint EncounterMask;
|
||||
public byte Unused;
|
||||
public bool ValidCompletedMask;
|
||||
public bool ProposalSilent;
|
||||
|
||||
@@ -477,6 +477,7 @@ namespace Game.Network.Packets
|
||||
}
|
||||
|
||||
public int MapID = -1;
|
||||
public Position OldMapPosition;
|
||||
public Optional<ShipTransferPending> Ship;
|
||||
public Optional<int> TransferSpellID;
|
||||
|
||||
|
||||
@@ -1605,7 +1605,7 @@ namespace Game.Network.Packets
|
||||
Immunities.Write(data);
|
||||
Predict.Write(data);
|
||||
|
||||
data.WriteBits(CastFlagsEx, 22);
|
||||
data.WriteBits(CastFlagsEx, 23);
|
||||
data.WriteBits(HitTargets.Count, 16);
|
||||
data.WriteBits(MissTargets.Count, 16);
|
||||
data.WriteBits(MissStatus.Count, 16);
|
||||
|
||||
@@ -46,6 +46,8 @@ namespace Game.Network.Packets
|
||||
_worldPacket.WriteUInt32(TokenRedeemIndex);
|
||||
_worldPacket.WriteInt64(TokenBalanceAmount);
|
||||
|
||||
_worldPacket.WriteUInt32(BpayStoreProductDeliveryDelay);
|
||||
|
||||
_worldPacket.WriteBit(VoiceEnabled);
|
||||
_worldPacket.WriteBit(EuropaTicketSystemStatus.HasValue);
|
||||
_worldPacket.WriteBit(ScrollOfResurrectionEnabled);
|
||||
@@ -141,6 +143,7 @@ namespace Game.Network.Packets
|
||||
public uint TokenPollTimeSeconds;
|
||||
public uint TokenRedeemIndex;
|
||||
public long TokenBalanceAmount;
|
||||
public uint BpayStoreProductDeliveryDelay;
|
||||
public bool ItemRestorationButtonEnabled;
|
||||
public bool CharUndeleteEnabled; // Implemented
|
||||
public bool BpayStoreDisabledByParentalControls;
|
||||
@@ -231,11 +234,15 @@ namespace Game.Network.Packets
|
||||
_worldPacket.WriteBit(false); // not accessed in handler
|
||||
_worldPacket.WriteBit(TrialBoostEnabled);
|
||||
_worldPacket.WriteBit(TokenBalanceEnabled);
|
||||
_worldPacket.WriteBit(LiveRegionCharacterListEnabled);
|
||||
_worldPacket.WriteBit(LiveRegionCharacterCopyEnabled);
|
||||
_worldPacket.WriteBit(LiveRegionAccountCopyEnabled);
|
||||
_worldPacket.FlushBits();
|
||||
|
||||
_worldPacket.WriteInt32(TokenPollTimeSeconds);
|
||||
_worldPacket.WriteInt32(TokenRedeemIndex);
|
||||
_worldPacket.WriteInt64(TokenBalanceAmount);
|
||||
_worldPacket.WriteUInt32(BpayStoreProductDeliveryDelay);
|
||||
}
|
||||
|
||||
public bool BpayStoreAvailable; // NYI
|
||||
@@ -250,9 +257,13 @@ namespace Game.Network.Packets
|
||||
public bool CompetitiveModeEnabled; // NYI
|
||||
public bool TrialBoostEnabled; // NYI
|
||||
public bool TokenBalanceEnabled; // NYI
|
||||
public bool LiveRegionCharacterListEnabled; // NYI
|
||||
public bool LiveRegionCharacterCopyEnabled; // NYI
|
||||
public bool LiveRegionAccountCopyEnabled; // NYI
|
||||
public int TokenPollTimeSeconds; // NYI
|
||||
public int TokenRedeemIndex; // NYI
|
||||
public long TokenBalanceAmount; // NYI
|
||||
public uint BpayStoreProductDeliveryDelay; // NYI
|
||||
}
|
||||
|
||||
public class MOTD : ServerPacket
|
||||
|
||||
@@ -57,7 +57,8 @@ namespace Game.Network.Packets
|
||||
_worldPacket.WriteBit(WindowInfo.HasValue);
|
||||
_worldPacket.FlushBits();
|
||||
|
||||
_worldPacket.WriteInt32(Nodes.Length);
|
||||
_worldPacket.WriteUInt32(CanLandNodes.Length);
|
||||
_worldPacket.WriteUInt32(CanUseNodes.Length);
|
||||
|
||||
if (WindowInfo.HasValue)
|
||||
{
|
||||
@@ -65,12 +66,16 @@ namespace Game.Network.Packets
|
||||
_worldPacket.WriteUInt32(WindowInfo.Value.CurrentNode);
|
||||
}
|
||||
|
||||
foreach (var node in Nodes)
|
||||
foreach (var node in CanLandNodes)
|
||||
_worldPacket.WriteUInt8(node);
|
||||
|
||||
foreach (var node in CanUseNodes)
|
||||
_worldPacket.WriteUInt8(node);
|
||||
}
|
||||
|
||||
public Optional<ShowTaxiNodesWindowInfo> WindowInfo;
|
||||
public byte[] Nodes = null;
|
||||
public byte[] CanLandNodes = null; // Nodes known by player
|
||||
public byte[] CanUseNodes = null; // Nodes available for use - this can temporarily disable a known node
|
||||
}
|
||||
|
||||
class EnableTaxiNode : ClientPacket
|
||||
|
||||
@@ -39,12 +39,10 @@ namespace Game.Network.Packets
|
||||
|
||||
public override void Read()
|
||||
{
|
||||
ItemID = _worldPacket.ReadUInt32();
|
||||
Cast.Read(_worldPacket);
|
||||
}
|
||||
|
||||
public SpellCastRequest Cast = new SpellCastRequest();
|
||||
public uint ItemID;
|
||||
}
|
||||
|
||||
class AccountToysUpdate : ServerPacket
|
||||
|
||||
Reference in New Issue
Block a user