mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
derp
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
public const ushort OPCODE = 0x016D;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorId)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId)
|
||||
{
|
||||
byte[] data = new byte[8];
|
||||
data[0] = 2;
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorId, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorId, data);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID)
|
||||
|
@@ -5,9 +5,9 @@
|
||||
public const ushort OPCODE = 0x016E;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorId)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId)
|
||||
{
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorId, new byte[8]);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorId, new byte[8]);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID)
|
||||
|
@@ -13,7 +13,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
|
||||
return BuildPacket(playerActorId, playerActorId, item);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorId, InventoryItem item)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId, InventoryItem item)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
|
||||
}
|
||||
}
|
||||
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorId, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorId, data);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -15,7 +15,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
|
||||
return BuildPacket(playerActorId, playerActorId, items, ref listOffset);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorId, List<InventoryItem> items, ref int listOffset)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId, List<InventoryItem> items, ref int listOffset)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
|
||||
}
|
||||
}
|
||||
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorId, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorId, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
|
||||
return BuildPacket(playerActorId, playerActorId, items, ref listOffset);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorId, List<InventoryItem> items, ref int listOffset)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId, List<InventoryItem> items, ref int listOffset)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
|
||||
}
|
||||
}
|
||||
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorId, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorId, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
|
||||
return BuildPacket(playerActorId, playerActorId, size, code);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorId, ushort size, ushort code)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId, ushort size, ushort code)
|
||||
{
|
||||
byte[] data = new byte[8];
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
|
||||
}
|
||||
}
|
||||
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorId, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorId, data);
|
||||
}
|
||||
|
||||
}
|
||||
|
@@ -11,9 +11,9 @@
|
||||
return new SubPacket(OPCODE, playerActorId, playerActorId, new byte[8]);
|
||||
}
|
||||
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint tarGetActorID)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorID)
|
||||
{
|
||||
return new SubPacket(OPCODE, sourceActorId, tarGetActorID, new byte[8]);
|
||||
return new SubPacket(OPCODE, sourceActorId, targetActorID, new byte[8]);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user