CommonLibSSE (powerof3)
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 
28  enum class CastingType
29  {
30  kConstantEffect = 0,
31  kFireAndForget = 1,
32  kConcentration = 2,
33  kScroll = 3
34  };
35 
36  enum class Delivery
37  {
38  kSelf = 0,
39  kTouch = 1,
40  kAimed = 2,
41  kTargetActor = 3,
42  kTargetLocation = 4
43  };
44 
45  enum class SoundID
46  {
47  kDrawSheatheLPM = 0,
48  kCharge = 1,
49  kReadyLoop = 2,
50  kRelease = 3,
51  kCastLoop = 4,
52  kHit = 5
53  };
54 
55  enum class SpellType
56  {
57  kSpell = 0,
58  kDisease = 1,
59  kPower = 2,
60  kLesserPower = 3,
61  kAbility = 4,
62  kPoison = 5,
63  kEnchantment = 6,
64 
65  kPotion = 7,
66  kAlchemy = static_cast<std::underlying_type_t<SpellType>>(kPotion),
67 
68  kWortCraft = 8,
69  kIngredient = static_cast<std::underlying_type_t<SpellType>>(kWortCraft),
70 
71  kLeveledSpell = 9,
72  kAddiction = 10,
73  kVoicePower = 11,
74  kStaffEnchantment = 12,
75  kScroll = 13
76  };
77 
78  enum class WardState
79  {
80  kNone = 0,
81  kAbsorb = 1,
82  kBreak = 2,
83 
84  kTotal
85  };
86  }
87 }
SoundID
Definition: MagicSystem.h:46
SpellType
Definition: MagicSystem.h:56
CannotCastReason
Definition: MagicSystem.h:8
CastingType
Definition: MagicSystem.h:29
CastingSource
Definition: MagicSystem.h:21
Delivery
Definition: MagicSystem.h:37
WardState
Definition: MagicSystem.h:79
Definition: AbsorbEffect.h:6