1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00

aoeeffect8/16/24/32 packet defs/opcodes

This commit is contained in:
NotAdam 2018-07-21 23:48:14 +10:00
parent c84beee30a
commit 2665e55a17
2 changed files with 44 additions and 0 deletions

View file

@ -97,6 +97,10 @@ namespace Packets {
StatusEffectList = 0x014E, // updated 4.3 StatusEffectList = 0x014E, // updated 4.3
Effect = 0x0151, // updated 4.3 Effect = 0x0151, // updated 4.3
AoeEffect8 = 0x0154, // updated 4.3
AoeEffect16 = 0x0155, // updated 4.3
AoeEffect24 = 0x0156, // updated 4.3
AoeEffect32 = 0x0157, // updated 4.3
PersistantEffect = 0x0158, // updated 4.3 PersistantEffect = 0x0158, // updated 4.3
GCAffiliation = 0xCCFC, // OUTDATED GCAffiliation = 0xCCFC, // OUTDATED

View file

@ -344,6 +344,46 @@ struct FFXIVIpcEffect : FFXIVIpcBasePacket<Effect>
uint32_t padding_78; uint32_t padding_78;
}; };
template< int size >
struct FFXIVIpcAoeEffect
{
uint64_t animationTargetId;
uint32_t actionId;
uint32_t globalEffectCounter;
float animationLockTime;
uint32_t someTargetId;
uint16_t hiddenAnimation;
uint16_t rotation;
uint16_t actionAnimationId;
uint8_t unknown1E;
Common::ActionEffectDisplayType effectDisplayType;
uint8_t unknown20;
uint8_t effectCount;
uint32_t padding_22[2];
EffectEntry effects[size];
uint16_t padding_6A[3];
uint32_t effectTargetId[size];
uint32_t effectFlags;
uint32_t padding_78;
};
struct FFXIVIpcAoeEffect8 : FFXIVIpcBasePacket< AoeEffect8 >, FFXIVIpcAoeEffect< 8 > {};
struct FFXIVIpcAoeEffect16 : FFXIVIpcBasePacket< AoeEffect16 >, FFXIVIpcAoeEffect< 16 > {};
struct FFXIVIpcAoeEffect24 : FFXIVIpcBasePacket< AoeEffect24 >, FFXIVIpcAoeEffect< 24 > {};
struct FFXIVIpcAoeEffect32 : FFXIVIpcBasePacket< AoeEffect32 >, FFXIVIpcAoeEffect< 32 > {};
/** /**
* Structural representation of the packet sent by the server * Structural representation of the packet sent by the server