CommonLibSSE NG
Loading...
Searching...
No Matches
MagicSystem.h
Go to the documentation of this file.
1#pragma once
2
3namespace RE
4{
5 class BGSSoundDescriptorForm;
6
7 namespace MagicSystem
8 {
9 enum class CannotCastReason
10 {
11 kOK = 0,
12 kMagicka = 1,
13 kPowerUsed = 2,
15 kMultipleCast = 4,
16 kItemCharge = 5,
20 };
21
22 enum class CastingSource
23 {
24 kLeftHand = 0,
25 kRightHand = 1,
26 kOther = 2,
27 kInstant = 3
28 };
29
30 enum class CastingType
31 {
35 kScroll = 3
36 };
37
38 enum class Delivery
39 {
40 kSelf = 0,
41 kTouch = 1,
42 kAimed = 2,
43 kTargetActor = 3,
45
46 kTotal
47 };
48
49 enum class SoundID
50 {
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
94 }
95}
Definition BGSSoundDescriptorForm.h:14
SoundID
Definition MagicSystem.h:50
BGSSoundDescriptorForm * GetMagicFailureSound(SpellType a_type)
SpellType
Definition MagicSystem.h:60
CannotCastReason
Definition MagicSystem.h:10
float GetMagicCasterTargetUpdateInterval()
const char * GetCannotCastString(CannotCastReason a_reason)
CastingType
Definition MagicSystem.h:31
CastingSource
Definition MagicSystem.h:23
Delivery
Definition MagicSystem.h:39
WardState
Definition MagicSystem.h:83
Definition AbsorbEffect.h:6