annotate CastSpellInfo.h @ 1722:e1c451f4d5ba

m
author Ritor1
date Wed, 25 Sep 2013 11:12:49 +0600
parents 4c787c28ddce
children 70b63fe6587c
rev   line source
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
1 #pragma once
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
2
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
3 #include <cstdint>
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
4
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 933
diff changeset
5 #include <array>
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
6
1517
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
7 namespace CastSpellInfoHelpers
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
8 {
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
9 void _427D48();
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
10 void _427E01_cast_spell();
c3da3c2985b8 Clean CastSpellInfo. (1)
yoctozepto
parents: 1455
diff changeset
11 };
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
12
bfb00599a133 New files
Ritor1
parents:
diff changeset
13 /* 271 */
bfb00599a133 New files
Ritor1
parents:
diff changeset
14 #pragma pack(push, 1)
bfb00599a133 New files
Ritor1
parents:
diff changeset
15 struct CastSpellInfo
bfb00599a133 New files
Ritor1
parents:
diff changeset
16 {
bfb00599a133 New files
Ritor1
parents:
diff changeset
17 //----- (00426987) --------------------------------------------------------
bfb00599a133 New files
Ritor1
parents:
diff changeset
18 inline CastSpellInfo()
bfb00599a133 New files
Ritor1
parents:
diff changeset
19 {
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
20 memset(this, 0, sizeof(this));
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
21 }
bfb00599a133 New files
Ritor1
parents:
diff changeset
22
1455
bfe342ae0c1f DrawPaperdoll cleaning
Ritor1
parents: 1202
diff changeset
23 struct GUIWindow *GetCastSpellInInventoryWindow();
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
24
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
25 uint16_t uSpellID;
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
26 uint16_t uPlayerID;
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
27 uint16_t uPlayerID_2;
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
28 __int16 field_6;
1519
4c787c28ddce Clean CastSpellInfo. (2)
yoctozepto
parents: 1517
diff changeset
29 uint16_t uFlags;
933
bfb00599a133 New files
Ritor1
parents:
diff changeset
30 __int16 forced_spell_skill_level;
bfb00599a133 New files
Ritor1
parents:
diff changeset
31 int spell_target_pid;
bfb00599a133 New files
Ritor1
parents:
diff changeset
32 int sound_id;
bfb00599a133 New files
Ritor1
parents:
diff changeset
33 };
bfb00599a133 New files
Ritor1
parents:
diff changeset
34 #pragma pack(pop)