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