From ef1188cbe63e27a0cd7bf13a7393800a0871ec5c Mon Sep 17 00:00:00 2001 From: NotAdam Date: Thu, 18 Apr 2019 20:57:47 +1000 Subject: [PATCH] add some more director ids, add packet def for DirectorPopUp --- .../Network/PacketDef/Zone/ServerZoneDef.h | 16 ++++++++++++++++ src/world/Event/Director.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index 967e38d1..650979e4 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -1550,6 +1550,22 @@ namespace Sapphire::Network::Packets::Server uint16_t u28; }; + struct FFXIVIpcDirectorPopUp : FFXIVIpcBasePacket< DirectorPopUp > + { + uint32_t directorId; + uint16_t pad1[2]; + uint64_t sourceActorId; + /*! + * 2 = green text in log + */ + uint8_t flags; + uint8_t pad2[3]; + uint32_t bNPCName; + uint32_t textId; + uint32_t popupTimeMs; + uint32_t pad3[4]; + }; + struct FFXIVIpcActorGauge : FFXIVIpcBasePacket< ActorGauge > { diff --git a/src/world/Event/Director.h b/src/world/Event/Director.h index 101c7402..38970984 100644 --- a/src/world/Event/Director.h +++ b/src/world/Event/Director.h @@ -26,7 +26,9 @@ namespace Sapphire::Event PublicContent = 0x8004, QuestBattle = 0x8006, CompanyLeve = 0x8007, + TreasureHunt = 0x8009, GoldSaucer = 0x800A, + CompanyCraftDirector = 0x800B, DpsChallange = 0x800D, Fate = 0x801A };