mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Renamed the "Item" object to InventoryItem. Began writing the Item object that will be used to store game data items.
This commit is contained in:
		@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x14E;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x58;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, Item[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, InventoryItem[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x14F;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x80;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, Item[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, InventoryItem[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x150;
 | 
			
		||||
        public const uint PACKET_SIZE = 0xE0;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, Item[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, InventoryItem[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x151;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x194;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, Item[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorId, InventoryItem[] equipment, List<ushort> slotsToUpdate, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x0149;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x90;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<Item> items, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<InventoryItem> items, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -15,7 +15,7 @@ namespace FFXIVClassic_Map_Server.packets.send.Actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x014A;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x90;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<Item> items, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<InventoryItem> items, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x0148;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x90;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, Item item)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, InventoryItem item)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x0149;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x3A8;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<Item> items, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<InventoryItem> items, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x014A;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x720;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<Item> items, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<InventoryItem> items, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x014B;
 | 
			
		||||
        public const uint PACKET_SIZE = 0xE20;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<Item> items, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<InventoryItem> items, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -14,7 +14,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.inventory
 | 
			
		||||
        public const ushort OPCODE = 0x014C;
 | 
			
		||||
        public const uint PACKET_SIZE = 0x1C20;
 | 
			
		||||
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<Item> items, ref int listOffset)
 | 
			
		||||
        public static SubPacket buildPacket(uint playerActorID, List<InventoryItem> items, ref int listOffset)
 | 
			
		||||
        {
 | 
			
		||||
            byte[] data = new byte[PACKET_SIZE - 0x20];
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user