CommonLibSSE (Parapets fork)
MagicSystem.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  namespace MagicSystem
6  {
7  enum class CannotCastReason
8  {
9  kOK = 0,
10  kMagicka = 1,
11  kPowerUsed = 2,
13  kMultipleCast = 4,
14  kItemCharge = 5,
18  };
19 
20  enum class CastingSource
21  {
22  kLeftHand = 0,
23  kRightHand = 1,
24  kOther = 2,
25  kInstant = 3,
26 
27  kNone = 4
28  };
29 
30  enum class CastingType
31  {
32  kConstantEffect = 0,
33  kFireAndForget = 1,
34  kConcentration = 2,
35  kScroll = 3
36  };
37 
38  enum class Delivery
39  {
40  kSelf = 0,
41  kTouch = 1,
42  kAimed = 2,
43  kTargetActor = 3,
44  kTargetLocation = 4,
45 
46  kNone = 5
47  };
48 
49  enum class SoundID
50  {
51  kDrawSheatheLPM = 0,
52  kCharge = 1,
53  kReadyLoop = 2,
54  kRelease = 3,
55  kCastLoop = 4,
56  kHit = 5
57  };
58 
59  enum class SpellType
60  {
61  kSpell = 0,
62  kDisease = 1,
63  kPower = 2,
64  kLesserPower = 3,
65  kAbility = 4,
66  kPoison = 5,
67  kEnchantment = 6,
68 
69  kPotion = 7,
70  kAlchemy = static_cast<std::underlying_type_t<SpellType>>(kPotion),
71 
72  kWortCraft = 8,
73  kIngredient = static_cast<std::underlying_type_t<SpellType>>(kWortCraft),
74 
75  kLeveledSpell = 9,
76  kAddiction = 10,
77  kVoicePower = 11,
78  kStaffEnchantment = 12,
79  kScroll = 13
80  };
81 
82  enum class WardState
83  {
84  kNone = 0,
85  kAbsorb = 1,
86  kBreak = 2,
87 
88  kTotal
89  };
90  }
91 }
SoundID
Definition: MagicSystem.h:50
SpellType
Definition: MagicSystem.h:60
CannotCastReason
Definition: MagicSystem.h:8
CastingType
Definition: MagicSystem.h:31
CastingSource
Definition: MagicSystem.h:21
Delivery
Definition: MagicSystem.h:39
WardState
Definition: MagicSystem.h:83
Definition: AbsorbEffect.h:6