933
|
1 #pragma once
|
1519
|
2
|
|
3 #include <cstdint>
|
|
4
|
1202
|
5 #include <array>
|
933
|
6
|
1517
|
7 namespace CastSpellInfoHelpers
|
|
8 {
|
|
9 void _427D48();
|
|
10 void _427E01_cast_spell();
|
|
11 };
|
933
|
12
|
|
13 /* 271 */
|
|
14 #pragma pack(push, 1)
|
|
15 struct CastSpellInfo
|
|
16 {
|
|
17 //----- (00426987) --------------------------------------------------------
|
|
18 inline CastSpellInfo()
|
|
19 {
|
1519
|
20 memset(this, 0, sizeof(this));
|
933
|
21 }
|
|
22
|
1455
|
23 struct GUIWindow *GetCastSpellInInventoryWindow();
|
933
|
24
|
1519
|
25 uint16_t uSpellID;
|
|
26 uint16_t uPlayerID;
|
|
27 uint16_t uPlayerID_2;
|
933
|
28 __int16 field_6;
|
1519
|
29 uint16_t uFlags;
|
933
|
30 __int16 forced_spell_skill_level;
|
|
31 int spell_target_pid;
|
|
32 int sound_id;
|
|
33 };
|
|
34 #pragma pack(pop)
|