CommonLibSSE NG
BGSEntryPoint.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
5  class Actor;
6 
7  struct BGSEntryPoint
8  {
9  struct ENTRY_POINTS
10  {
11  enum ENTRY_POINT : std::uint32_t
12  {
27  kActivate = 14,
105 
106  kTotal
107  };
108  };
110 
111  template <class... Args>
112  static void HandleEntryPoint(ENTRY_POINT a_entryPoint, Actor* a_perkOwner, Args... a_args)
113  {
114  using func_t = decltype(&BGSEntryPoint::HandleEntryPoint<Args...>);
115  REL::Relocation<func_t> func{ RELOCATION_ID(23073, 23526) };
116  func(a_entryPoint, a_perkOwner, a_args...);
117  }
118  };
119 }
#define RELOCATION_ID(a_se, a_ae)
Definition: PCH.h:724
Definition: Relocation.h:204
Definition: Actor.h:135
Definition: AbsorbEffect.h:6
Definition: BGSEntryPoint.h:10
ENTRY_POINT
Definition: BGSEntryPoint.h:12
@ kModLockpickSweetSpot
Definition: BGSEntryPoint.h:72
@ kModPotionsCreated
Definition: BGSEntryPoint.h:102
@ kShouldApplyPlacedItem
Definition: BGSEntryPoint.h:97
@ kModSecondaryValueWeight
Definition: BGSEntryPoint.h:44
@ kAddLeveledListOnDeath
Definition: BGSEntryPoint.h:22
@ kApplyBashingSpell
Definition: BGSEntryPoint.h:65
@ kIgnoreRunningDuringDetection
Definition: BGSEntryPoint.h:28
@ kModTargetDamageResistance
Definition: BGSEntryPoint.h:50
@ kModAttackDamage
Definition: BGSEntryPoint.h:48
@ kModPickpocketChance
Definition: BGSEntryPoint.h:69
@ kCanDualCastSpell
Definition: BGSEntryPoint.h:88
@ kCalculateMyCriticalHitDamage
Definition: BGSEntryPoint.h:15
@ kModSpellCastingSoundEvent
Definition: BGSEntryPoint.h:68
@ kSetProgressionPicking
Definition: BGSEntryPoint.h:77
@ kModSneakAttackMult
Definition: BGSEntryPoint.h:31
@ kModCommandedActorLimit
Definition: BGSEntryPoint.h:81
@ kTotal
Definition: BGSEntryPoint.h:106
@ kCalculateMineExplodeChance
Definition: BGSEntryPoint.h:16
@ kGetShouldAttack
Definition: BGSEntryPoint.h:20
@ kModLockpickingKeyRewardChance
Definition: BGSEntryPoint.h:103
@ kModRecoverArrowChance
Definition: BGSEntryPoint.h:34
@ kModBowZoom
Definition: BGSEntryPoint.h:33
@ kModSpellDuration
Definition: BGSEntryPoint.h:43
@ kModTelekinesisDamage
Definition: BGSEntryPoint.h:38
@ kModEnemyCriticalHitChance
Definition: BGSEntryPoint.h:30
@ kModIncomingStagger
Definition: BGSEntryPoint.h:46
@ kModFallingDamage
Definition: BGSEntryPoint.h:71
@ kModSpellMagnitude
Definition: BGSEntryPoint.h:42
@ kModPlayerReputation
Definition: BGSEntryPoint.h:57
@ kApplyWeaponSwingSpell
Definition: BGSEntryPoint.h:80
@ kModAddictionDuration
Definition: BGSEntryPoint.h:25
@ kModMaxPlaceableMines
Definition: BGSEntryPoint.h:32
@ kApplyReanimateSpell
Definition: BGSEntryPoint.h:66
@ kModLockpickingCrimeChance
Definition: BGSEntryPoint.h:99
@ kSetBooleanGraphVariable
Definition: BGSEntryPoint.h:67
@ kApplyCombatHitSpell
Definition: BGSEntryPoint.h:64
@ kGetMaxCarryWeight
Definition: BGSEntryPoint.h:23
@ kModPoisonDoseCount
Definition: BGSEntryPoint.h:96
@ kModShoutOK
Definition: BGSEntryPoint.h:95
@ kAdjustBookSkillPoints
Definition: BGSEntryPoint.h:18
@ kModAddictionChance
Definition: BGSEntryPoint.h:24
@ kModSpellRange_TargetLoc
Definition: BGSEntryPoint.h:101
@ kIgnoreBrokenLock
Definition: BGSEntryPoint.h:29
@ kModFavorPoints
Definition: BGSEntryPoint.h:58
@ kModSpellCost
Definition: BGSEntryPoint.h:51
@ kModArmorWeight
Definition: BGSEntryPoint.h:45
@ kModSoulGemEnchanting
Definition: BGSEntryPoint.h:92
@ kModBashingDamage
Definition: BGSEntryPoint.h:39
@ kModIngredientsHarvested
Definition: BGSEntryPoint.h:100
@ kModIncomingDamage
Definition: BGSEntryPoint.h:49
@ kCanPickpocketEquippedItem
Definition: BGSEntryPoint.h:74
@ kModPowerAttackDamage
Definition: BGSEntryPoint.h:41
@ kModBuyPrices
Definition: BGSEntryPoint.h:21
@ kFilterActivation
Definition: BGSEntryPoint.h:87
@ kApplySneakingSpell
Definition: BGSEntryPoint.h:82
@ kModDetectionMovement
Definition: BGSEntryPoint.h:61
@ kModAlchemyEffectiveness
Definition: BGSEntryPoint.h:79
@ kModIncomingSpellDuration
Definition: BGSEntryPoint.h:55
@ kModShieldDeflectArrowChance
Definition: BGSEntryPoint.h:53
@ kModTargetStagger
Definition: BGSEntryPoint.h:47
@ kModBribeAmount
Definition: BGSEntryPoint.h:59
@ kModInitialIngredientEffectsLearned
Definition: BGSEntryPoint.h:85
@ kModSoulGemRecharge
Definition: BGSEntryPoint.h:62
@ kModDetectionSneakSkill
Definition: BGSEntryPoint.h:70
@ kModTemperingHealth
Definition: BGSEntryPoint.h:89
@ kPurifyAlchemyIngredients
Definition: BGSEntryPoint.h:86
@ kAllowMountActor
Definition: BGSEntryPoint.h:104
@ kActivate
Definition: BGSEntryPoint.h:27
@ kSetLockpickStartingArc
Definition: BGSEntryPoint.h:76
@ kModSellPrices
Definition: BGSEntryPoint.h:73
@ kModPositiveChemDuration
Definition: BGSEntryPoint.h:26
@ kSetActivateLabel
Definition: BGSEntryPoint.h:94
@ kModDetectionLight
Definition: BGSEntryPoint.h:60
@ kModPercentBlocked
Definition: BGSEntryPoint.h:52
@ kCalculateMyCriticalHitChance
Definition: BGSEntryPoint.h:14
@ kModPlayerMagicSlowdown
Definition: BGSEntryPoint.h:83
@ kModEnchantmentPower
Definition: BGSEntryPoint.h:90
@ kModIncomingSpellMagnitude
Definition: BGSEntryPoint.h:54
@ kModNumberAppliedEnchantmentsAllowed
Definition: BGSEntryPoint.h:93
@ kModWardMagickaAbsorptionPct
Definition: BGSEntryPoint.h:84
@ kAdjustLimbDamage
Definition: BGSEntryPoint.h:17
@ kSetSweepAttack
Definition: BGSEntryPoint.h:63
@ kCalculateWeaponDamage
Definition: BGSEntryPoint.h:13
@ kModPlayerIntimidation
Definition: BGSEntryPoint.h:56
@ kMakeLockpicksUnbreakable
Definition: BGSEntryPoint.h:78
@ kModSoulPctCapturedToWeapon
Definition: BGSEntryPoint.h:91
@ kModSkillUse
Definition: BGSEntryPoint.h:35
@ kModTelekinesisDamageMult
Definition: BGSEntryPoint.h:37
@ kModLockpickLevelAllowed
Definition: BGSEntryPoint.h:75
@ kModTelekinesisDistance
Definition: BGSEntryPoint.h:36
@ kModRecoveredHealth
Definition: BGSEntryPoint.h:19
@ kModPowerAttackStamina
Definition: BGSEntryPoint.h:40
@ kModArmorRating
Definition: BGSEntryPoint.h:98
Definition: BGSEntryPoint.h:8
static void HandleEntryPoint(ENTRY_POINT a_entryPoint, Actor *a_perkOwner, Args... a_args)
Definition: BGSEntryPoint.h:112