Core/Spells: Implemented SPELL_EFFECT_TELEPORT_WITH_SPELL_VISUAL_KIT_LOADING_SCREEN
Port From (https://github.com/TrinityCore/TrinityCore/commit/49eb3cf8fea8e5eab0c102c2bfb27fad763ba07e)
This commit is contained in:
@@ -778,6 +778,24 @@ namespace Game.Networking.Packets
|
||||
public bool MountedVisual;
|
||||
}
|
||||
|
||||
class SpellVisualLoadScreen : ServerPacket
|
||||
{
|
||||
public int SpellVisualKitID;
|
||||
public int Delay;
|
||||
|
||||
public SpellVisualLoadScreen(int spellVisualKitId, int delay) : base(ServerOpcodes.SpellVisualLoadScreen, ConnectionType.Instance)
|
||||
{
|
||||
SpellVisualKitID = spellVisualKitId;
|
||||
Delay = delay;
|
||||
}
|
||||
|
||||
public override void Write()
|
||||
{
|
||||
_worldPacket.WriteInt32(SpellVisualKitID);
|
||||
_worldPacket.WriteInt32(Delay);
|
||||
}
|
||||
}
|
||||
|
||||
public class CancelCast : ClientPacket
|
||||
{
|
||||
public CancelCast(WorldPacket packet) : base(packet) { }
|
||||
|
||||
Reference in New Issue
Block a user