aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellDefines.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2020-11-15 21:59:18 +0100
committerShauren <shauren.trinity@gmail.com>2020-12-08 18:16:46 +0100
commit7f6eef37e61ea3d47bf8028c6e37175ba0a71373 (patch)
treec7220fc9dba28d51779c8c1a5a613f07d6cb7794 /src/server/game/Spells/SpellDefines.h
parent587ec1fd21ac7cba275fbe9131ae5a694465834d (diff)
Core/Spells: Use new spell visual structure instead of just SpellXSpellVisualID
Diffstat (limited to 'src/server/game/Spells/SpellDefines.h')
-rw-r--r--src/server/game/Spells/SpellDefines.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellDefines.h b/src/server/game/Spells/SpellDefines.h
new file mode 100644
index 00000000000..0df1fbe0e6b
--- /dev/null
+++ b/src/server/game/Spells/SpellDefines.h
@@ -0,0 +1,39 @@
+/*
+ * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef TRINITY_SPELLDEFINES_H
+#define TRINITY_SPELLDEFINES_H
+
+#include "Define.h"
+
+namespace WorldPackets
+{
+ namespace Spells
+ {
+ struct SpellCastVisual;
+ }
+}
+
+struct SpellCastVisual
+{
+ uint32 SpellXSpellVisualID = 0;
+ uint32 ScriptVisualID = 0;
+
+ operator WorldPackets::Spells::SpellCastVisual() const;
+};
+
+#endif