mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-14 00:14:40 +02:00
Figured out a lot of the 19X and 1AX packets. Adding test packet data used in experiments.
This commit is contained in:
parent
109eeff3a5
commit
9a9388aabf
20 changed files with 283 additions and 7 deletions
|
@ -0,0 +1,22 @@
|
|||
using FFXIVClassic_Lobby_Server.packets;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace FFXIVClassic_Map_Server.packets.send.player
|
||||
{
|
||||
class SetChocoboNamePacket
|
||||
{
|
||||
public const ushort OPCODE = 0x0198;
|
||||
public const uint PACKET_SIZE = 0x40;
|
||||
|
||||
public static SubPacket buildPacket(uint playerActorID, uint targetActorID, string name)
|
||||
{
|
||||
if (Encoding.Unicode.GetByteCount(name) >= 0x20)
|
||||
name = "ERR: Too Long";
|
||||
return new SubPacket(OPCODE, playerActorID, targetActorID, Encoding.Unicode.GetBytes(name));
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue