1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 06:27:45 +00:00

Some packet cleanup, long overdue

This commit is contained in:
Mordred 2019-10-10 22:58:59 +02:00
parent 9d49f0a272
commit bae6c7f12a
2 changed files with 9 additions and 13 deletions

View file

@ -55,7 +55,7 @@ namespace Sapphire::Network::Packets
ActorControl = 0x0142, ActorControl = 0x0142,
ActorControlSelf = 0x0143, ActorControlSelf = 0x0143,
ActorControlTarget = 0x0144, ActorControlTarget = 0x0144,
UpdateHpMpTp = 0x0145, UpdateHpMpTp = 0x0145, // used when resting
/////////////////////////////////////////////////// ///////////////////////////////////////////////////
@ -137,9 +137,7 @@ namespace Sapphire::Network::Packets
ActorSetPos = 0x0184, // updated 5.0 ActorSetPos = 0x0184, // updated 5.0
ActorCast = 0x0186, // updated 5.0 ActorCast = 0x0186, // updated 5.0
SomeCustomiseChangePacketProbably = 0x0187, // added 5.0 SomeCustomiseChangePacketProbably = 0x0187, // added 5.0
PartyList = 0x0188, // updated 5.0 PartyList = 0x0188, // updated 5.0
HateRank = 0x0189, // updated 5.0 HateRank = 0x0189, // updated 5.0
HateList = 0x018A, // updated 5.0 HateList = 0x018A, // updated 5.0
@ -166,7 +164,6 @@ namespace Sapphire::Network::Packets
ContainerInfo = 0x01A2, // updated 5.0 ContainerInfo = 0x01A2, // updated 5.0
InventoryTransactionFinish = 0x01A3, // updated 5.0 InventoryTransactionFinish = 0x01A3, // updated 5.0
InventoryTransaction = 0x01A4, // updated 5.0 InventoryTransaction = 0x01A4, // updated 5.0
CurrencyCrystalInfo = 0x01A5, // updated 5.0 CurrencyCrystalInfo = 0x01A5, // updated 5.0
InventoryActionAck = 0x01A7, // updated 5.0 InventoryActionAck = 0x01A7, // updated 5.0
@ -244,11 +241,9 @@ namespace Sapphire::Network::Packets
PrepareZoning = 0x02A4, // updated 5.0 PrepareZoning = 0x02A4, // updated 5.0
ActorGauge = 0x0292, // updated 4.3 ActorGauge = 0x0292, // updated 4.3
// Unknown IPC types that still need to be sent // daily quest info -> without them sent, login will take longer...
// TODO: figure all these out properly DailyQuests = 0x025E, // updated 5.0
// daily quest related, init seed and current quota probably DailyQuestRepeatFlags = 0x0260, // updated 5.0
IPCTYPE_UNK_320 = 0x025E, // updated 5.0
IPCTYPE_UNK_322 = 0x0260, // updated 5.0
/// Doman Mahjong ////////////////////////////////////// /// Doman Mahjong //////////////////////////////////////
MahjongOpenGui = 0x02A4, // only available in mahjong instance MahjongOpenGui = 0x02A4, // only available in mahjong instance

View file

@ -520,8 +520,9 @@ namespace Sapphire::Network::Packets::Server
/* 0000 */ uint32_t hp; /* 0000 */ uint32_t hp;
/* 0004 */ uint16_t mp; /* 0004 */ uint16_t mp;
/* 0006 */ uint16_t tp; /* 0006 */ uint16_t tp;
/* 0008 */ uint32_t unknown_8; /* 0008 */ uint16_t gp;
/* 000C */ uint32_t unknown_12; /* 0010 */ uint16_t unknown_10;
/* 0012 */ uint32_t unknown_12;
}; };
@ -1557,7 +1558,7 @@ namespace Sapphire::Network::Packets::Server
/** /**
* UNKOWN TYPE * UNKOWN TYPE
*/ */
struct FFXIVARR_IPC_UNK322 : FFXIVIpcBasePacket< IPCTYPE_UNK_322 > struct FFXIVARR_IPC_UNK322 : FFXIVIpcBasePacket< DailyQuestRepeatFlags >
{ {
/* 0000 */ uint8_t unk[8]; /* 0000 */ uint8_t unk[8];
}; };
@ -1565,7 +1566,7 @@ namespace Sapphire::Network::Packets::Server
/** /**
* UNKOWN TYPE * UNKOWN TYPE
*/ */
struct FFXIVARR_IPC_UNK320 : FFXIVIpcBasePacket< IPCTYPE_UNK_320 > struct FFXIVARR_IPC_UNK320 : FFXIVIpcBasePacket< DailyQuests >
{ {
/* 0000 */ uint8_t unk[0x38]; /* 0000 */ uint8_t unk[0x38];
}; };