mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-06 01:25:05 +02:00
Started removing all target actor id references.
This commit is contained in:
parent
c09471ed43
commit
a264745207
64 changed files with 141 additions and 136 deletions
|
@ -12,7 +12,7 @@ namespace FFXIVClassic_Map_Server.packets.send.recruitment
|
|||
public const ushort OPCODE = 0x01C8;
|
||||
public const uint PACKET_SIZE = 0x218;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID, RecruitmentDetails details)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, RecruitmentDetails details)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
|
@ -48,7 +48,7 @@ namespace FFXIVClassic_Map_Server.packets.send.recruitment
|
|||
}
|
||||
}
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,11 +7,11 @@ namespace FFXIVClassic_Map_Server.packets.send.recruitment
|
|||
public const ushort OPCODE = 0x01C4;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID)
|
||||
public static SubPacket BuildPacket(uint sourceActorId)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
data[0] = 1;
|
||||
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace FFXIVClassic_Map_Server.packets.send.recruitment
|
|||
public const ushort OPCODE = 0x01C5;
|
||||
public const uint PACKET_SIZE = 0x038;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID, bool isRecruiting, bool isRecruiter, long recruitmentId)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, bool isRecruiting, bool isRecruiter, long recruitmentId)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
|
@ -25,7 +25,7 @@ namespace FFXIVClassic_Map_Server.packets.send.recruitment
|
|||
}
|
||||
}
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,13 +7,13 @@ namespace FFXIVClassic_Map_Server.packets.send.recruitment
|
|||
public const ushort OPCODE = 0x01C3;
|
||||
public const uint PACKET_SIZE = 0x28;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID, bool success)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, bool success)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
data[0] = (byte)(success ? 0x1 : 0x0);
|
||||
|
||||
return new SubPacket(OPCODE, playerActorID, playerActorID, data);
|
||||
return new SubPacket(OPCODE, sourceActorId, data);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue