mirror of
				https://bitbucket.org/Ioncannon/project-meteor-server.git
				synced 2025-05-20 08:26:59 -04:00 
			
		
		
		
	Add equip ability functions
Fix EquipAbility SQL query
This commit is contained in:
		| @@ -10,7 +10,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01C9; | ||||
|         public const uint PACKET_SIZE = 0x048; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, bool isSuccess, string nameToAdd) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, bool isSuccess, string nameToAdd) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -10,7 +10,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01CA; | ||||
|         public const uint PACKET_SIZE = 0x048; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, bool isSuccess, string nameToRemove) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, bool isSuccess, string nameToRemove) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -10,7 +10,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01CF; | ||||
|         public const uint PACKET_SIZE = 0x686; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, Tuple<long, bool>[] friendStatus) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, Tuple<long, bool>[] friendStatus) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -42,7 +42,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -11,7 +11,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01CC; | ||||
|         public const uint PACKET_SIZE = 0x067; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, bool isSuccess, long id, bool isOnline, string nameToAdd) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, bool isSuccess, long id, bool isOnline, string nameToAdd) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -26,7 +26,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -10,7 +10,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01CD; | ||||
|         public const uint PACKET_SIZE = 0x057; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, bool isSuccess, string nameToRemove) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, bool isSuccess, string nameToRemove) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -23,7 +23,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -11,7 +11,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01CB; | ||||
|         public const uint PACKET_SIZE = 0x686; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, string[] blacklistedNames, ref int offset) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, string[] blacklistedNames, ref int offset) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -36,7 +36,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
| @@ -11,7 +11,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|         public const ushort OPCODE = 0x01CE; | ||||
|         public const uint PACKET_SIZE = 0x686; | ||||
|  | ||||
|         public static SubPacket BuildPacket(uint playerActorID, Tuple<long, string>[] friends, ref int offset) | ||||
|         public static SubPacket BuildPacket(uint sourceActorId, Tuple<long, string>[] friends, ref int offset) | ||||
|         { | ||||
|             byte[] data = new byte[PACKET_SIZE - 0x20]; | ||||
|  | ||||
| @@ -39,7 +39,7 @@ namespace FFXIVClassic_Map_Server.packets.send.social | ||||
|                 } | ||||
|             } | ||||
|  | ||||
|             return new SubPacket(OPCODE, playerActorID, playerActorID, data); | ||||
|             return new SubPacket(OPCODE, sourceActorId, data); | ||||
|         } | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user