mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-30 22:36:11 +02:00
Rewrote the BattleActionPacket classes to standardize them. Added a method in Character.cs to fire off BattleActions.
This commit is contained in:
parent
6c74222b68
commit
37b8203dae
5 changed files with 39 additions and 15 deletions
|
@ -2,8 +2,6 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
|
||||
using FFXIVClassic.Common;
|
||||
|
||||
namespace FFXIVClassic_Map_Server.packets.send.actor.battle
|
||||
{
|
||||
class BattleActionX00Packet
|
||||
|
@ -11,7 +9,7 @@ namespace FFXIVClassic_Map_Server.packets.send.actor.battle
|
|||
public const ushort OPCODE = 0x013C;
|
||||
public const uint PACKET_SIZE = 0x48;
|
||||
|
||||
public static SubPacket BuildPacket(uint playerActorID, uint sourceActorId, uint targetActorId, uint animationId, ushort commandId)
|
||||
public static SubPacket BuildPacket(uint sourceActorId, uint targetActorId, uint animationId, ushort commandId)
|
||||
{
|
||||
byte[] data = new byte[PACKET_SIZE - 0x20];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue