//TODO: Ctor overloads/builders //TODO: Validate parameters /// <inheritdoc /> public SMSG_SPELL_GO_Payload_Vanilla(PackedGuid spellSource, PackedGuid spellTarget, int spellId, SpellCastFlags_Vanilla castFlags, ObjectGuid[] hitTargets, SpellTargetInfo_Vanilla targetInfo, AmmoInfo amunitionInformation) { SpellSource = spellSource; SpellTarget = spellTarget; SpellId = spellId; CastFlags = castFlags; HitTargets = hitTargets; TargetInfo = targetInfo; AmunitionInformation = amunitionInformation; }
} = 0; //TC always uses 0 public SpellCastData(PackedGuid spellSource, PackedGuid spellTarget, byte spellCastCount, int spellId, SpellCastFlag castFlags, uint timeDiff, ObjectGuid[] hitTargets, SpellMissInfo[] spellMisses, SpellTargetInfo targetInfo, int powerValue, AdjustableSpellMissleInfo optionalAdjustableMissle, AmmoInfo amunitionInformation, ulong optionalVisualChainData) { SpellSource = spellSource; SpellTarget = spellTarget; SpellCastCount = spellCastCount; SpellId = spellId; CastFlags = castFlags; TimeDiff = timeDiff; HitTargets = hitTargets; SpellMisses = spellMisses; TargetInfo = targetInfo; PowerValue = powerValue; OptionalAdjustableMissle = optionalAdjustableMissle; AmunitionInformation = amunitionInformation; OptionalVisualChainData = optionalVisualChainData; }
public StartSpellCastData(PackedGuid spellSource, PackedGuid spellTarget, byte spellCastCount, int spellId, SpellCastFlag castFlags, uint timeDiff, ObjectGuid[] hitTargets, SpellMissInfo[] spellMisses, SpellTargetInfo targetInfo, int powerValue, AdjustableSpellMissleInfo optionalAdjustableMissle, AmmoInfo amunitionInformation, ulong optionalVisualChainData) : base(spellSource, spellTarget, spellCastCount, spellId, castFlags, timeDiff, hitTargets, spellMisses, targetInfo, powerValue, optionalAdjustableMissle, amunitionInformation, optionalVisualChainData) { }