F4MP/codigos originales/tiltedcode/Code/client/Events/SpellCastEvent.h

21 lines
421 B
C
Raw Normal View History

#pragma once
struct ActorMagicCaster;
/**
* @brief Dispatched when a spell has been cast locally.
*/
struct SpellCastEvent
{
SpellCastEvent(ActorMagicCaster* apCaster, uint32_t aSpellId, uint32_t aDesiredTargetID)
: pCaster(apCaster)
, SpellId(aSpellId)
, DesiredTargetID(aDesiredTargetID)
{
}
ActorMagicCaster* pCaster;
uint32_t SpellId;
uint32_t DesiredTargetID;
};