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

Add PlaceFieldMarkerPreset ServerZoneIpc and struct

This commit is contained in:
pmgr 2020-06-21 00:13:27 +01:00
parent 4ff3af5a9d
commit 7c396b90b5
2 changed files with 26 additions and 0 deletions

View file

@ -336,6 +336,7 @@ namespace Sapphire::Network::Packets
ClientTrigger = 0x017D, // updated 5.25
DiscoveryHandler = 0x02C8, // updated 5.25
PlaceFieldMarkerPreset = 0x23F, // updated 5.25
PlaceFieldMarker = 0x013C, // updated 5.0
SkillHandler = 0x0241, // updated 5.25
GMCommand1 = 0x01EC, // updated 5.25

View file

@ -1681,6 +1681,31 @@ namespace Sapphire::Network::Packets::Server
uint8_t bitmask;
};
/**
* Structural representation of the packet sent by the server
* to place/remove field marker presets
*/
struct FFXIVIpcPlaceFieldMarkerPreset : FFXIVIpcBasePacket< PlaceFieldMarkerPreset >
{
enum FieldMarkerStatus
{
A = 0x1,
B = 0x2,
C = 0x4,
D = 0x8,
One = 0x10,
Two = 0x20,
Three = 0x40,
Four = 0x80
};
/*! which fieldmarks to show */
enum FieldMarkerStatus status;
/*! A coordinates would be (float)Xints[0]/1000.0, (float)Yints[0]/1000.0, (float)Zints[0]/1000.0 */
uint32_t Xints[8];
uint32_t Yints[8];
uint32_t Zints[8];
};
/**
* Structural representation of the packet sent by the server
* to mount a player