Update opcodes to 7.3.2

This commit is contained in:
hondacrx
2017-11-17 16:56:54 -05:00
parent 39b13bfc84
commit a60fbcdf12
14 changed files with 1130 additions and 1081 deletions
+8 -3
View File
@@ -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