comparison Engine/Spells/CastSpellInfo.h @ 2499:68cdef6879a0

engine folder
author Ritor1
date Fri, 19 Sep 2014 02:57:42 +0600
parents
children 30eb6dcac768
comparison
equal deleted inserted replaced
2498:92eeeb5200f2 2499:68cdef6879a0
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);