mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 22:14:39 +02:00
Refactored how zones work. Cleaned out a lot of duplciations and smoothed out how Zones/PrivateAreas work.
This commit is contained in:
parent
56ba641e2a
commit
563118372a
32 changed files with 247 additions and 417 deletions
|
@ -30,7 +30,7 @@ namespace Meteor.Map.packets.send
|
|||
public const ushort OPCODE = 0x0005;
|
||||
public const uint PACKET_SIZE = 0x30;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID, uint mapID, uint regionID)
|
||||
public static SubPacket BuildPacket(uint playerActorID, uint regionId, uint placeId)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
|
@ -38,8 +38,8 @@ namespace Meteor.Map.packets.send
|
|||
{
|
||||
using (BinaryWriter binWriter = new BinaryWriter(mem))
|
||||
{
|
||||
binWriter.Write((uint)mapID);
|
||||
binWriter.Write((uint)regionID);
|
||||
binWriter.Write((uint)regionId);
|
||||
binWriter.Write((uint)placeId);
|
||||
binWriter.Write((uint)0x28);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue