From e34e3606b6fa6f70ec3a836b268d0508ff1f0beb Mon Sep 17 00:00:00 2001 From: Maple <8961085+MapleHinata@users.noreply.github.com> Date: Mon, 29 May 2023 22:26:00 -0300 Subject: [PATCH] Add FFXIVIpcEnvironmentControl and FFXIVIpcRemoteServerValue for 6.40 --- src/common/Network/PacketDef/Ipcs.h | 1 + src/common/Network/PacketDef/Zone/ServerZoneDef.h | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/common/Network/PacketDef/Ipcs.h b/src/common/Network/PacketDef/Ipcs.h index 5a6ef6f7..ec3110c0 100644 --- a/src/common/Network/PacketDef/Ipcs.h +++ b/src/common/Network/PacketDef/Ipcs.h @@ -324,6 +324,7 @@ enum ServerZoneIpcType : SubmarineExplorationResult = 0x2c9, // updated 6.40 EnvironmentControl = 0x108, // updated 6.40 + RSVData = 0x01DD, // updated 6.40 IslandWorkshopSupplyDemand = 0x1b7, // updated 6.40 }; diff --git a/src/common/Network/PacketDef/Zone/ServerZoneDef.h b/src/common/Network/PacketDef/Zone/ServerZoneDef.h index bcefb8ef..590354af 100644 --- a/src/common/Network/PacketDef/Zone/ServerZoneDef.h +++ b/src/common/Network/PacketDef/Zone/ServerZoneDef.h @@ -2360,6 +2360,21 @@ namespace Sapphire::Network::Packets::Server FFXIVIpcMapUpdateN< 128 > { }; + +struct FFXIVIpcEnvironmentControl : FFXIVIpcBasePacket< EnvironmentControl > +{ + uint32_t directorId; + uint32_t state; + uint16_t param3; + uint16_t param4; +}; + +struct FFXIVIpcRemoteServerValue : FFXIVIpcBasePacket< RSVData > +{ + uint32_t value_size; + char key_str[48]; + char value_str[1024]; +}; } #endif /*_CORE_NETWORK_PACKETS_SERVER_IPC_H*/