mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-06 10:47:45 +00:00
Convert markerId in FFXIVIpcPlaceFieldMarker into an enum
This commit is contained in:
parent
d9777084c5
commit
4ae5d6120d
2 changed files with 13 additions and 1 deletions
|
@ -577,6 +577,18 @@ namespace Sapphire::Common
|
||||||
Three = 0x40,
|
Three = 0x40,
|
||||||
Four = 0x80
|
Four = 0x80
|
||||||
};
|
};
|
||||||
|
// TODO: consolidate these two into one since FieldMarkerStatus == 1 << FieldMarkerId?
|
||||||
|
enum class FieldMarkerId : uint8_t
|
||||||
|
{
|
||||||
|
A,
|
||||||
|
B,
|
||||||
|
C,
|
||||||
|
D,
|
||||||
|
One,
|
||||||
|
Two,
|
||||||
|
Three,
|
||||||
|
Four
|
||||||
|
};
|
||||||
|
|
||||||
enum struct ActionAspect : uint8_t
|
enum struct ActionAspect : uint8_t
|
||||||
{
|
{
|
||||||
|
|
|
@ -1701,7 +1701,7 @@ namespace Sapphire::Network::Packets::Server
|
||||||
*/
|
*/
|
||||||
struct FFXIVIpcPlaceFieldMarker : FFXIVIpcBasePacket< PlaceFieldMarker >
|
struct FFXIVIpcPlaceFieldMarker : FFXIVIpcBasePacket< PlaceFieldMarker >
|
||||||
{
|
{
|
||||||
uint8_t markerId;
|
Common::FieldMarkerId markerId;
|
||||||
uint8_t status;
|
uint8_t status;
|
||||||
uint8_t pad[2];
|
uint8_t pad[2];
|
||||||
uint32_t Xint;
|
uint32_t Xint;
|
||||||
|
|
Loading…
Add table
Reference in a new issue