19 class BSFaceGenNiNode;
20 class MenuOpenCloseEvent;
111 static_assert(
sizeof(
Skills) == 0x30);
132 static_assert(
sizeof(
Sounds) == 0x8);
188 static_assert(
sizeof(
FaceData) == 0x5C);
203 static_assert(
sizeof(
Layer) == 0x10);
239 bool AddPerks(
const std::vector<BGSPerk*>& a_perks, std::int8_t a_rank);
300 void CopyPerkRankArray(
const std::vector<PerkRankData>& a_copiedData);
302 static_assert(
sizeof(
TESNPC) == 0x268);
Definition: BGSHeadPart.h:17
HeadPartType
Definition: BGSHeadPart.h:34
Definition: BGSOutfit.h:11
Definition: BGSOverridePackCollection.h:10
Definition: BGSTextureSet.h:16
Definition: BGSVoiceType.h:25
Definition: BSFaceGenNiNode.h:14
Definition: BSTEvent.h:143
BSTArray< void * > * unk00[8]
Definition: TESNPC.h:27
Definition: NiAVObject.h:50
Definition: NiColor.h:276
Definition: TESActorBase.h:32
Definition: TESBoundObject.h:24
Definition: TESClass.h:88
Definition: TESCombatStyle.h:65
Definition: TESFaction.h:120
bool SetSleepOutfit(BGSOutfit *a_outfit)
std::uint8_t unk244
Definition: TESNPC.h:290
Skills playerSkills
Definition: TESNPC.h:267
HeadRelatedData * headRelatedData
Definition: TESNPC.h:269
void InitializeData() override
std::uint8_t unk241
Definition: TESNPC.h:287
BSTArray< Layer * > * tintLayers
Definition: TESNPC.h:297
const TESNPC * GetRootFaceNPC() const
TESClass * npcClass
Definition: TESNPC.h:268
std::uint32_t pad24C
Definition: TESNPC.h:294
static constexpr auto VTABLE
Definition: TESNPC.h:39
void SaveGame(BGSSaveFormBuffer *a_buf) override
bool RemovePerk(BGSPerk *a_perk)
void SetObjectVoiceType(BGSVoiceType *a_voiceType) override
BSTArray< BGSRelationship * > * relationships
Definition: TESNPC.h:295
bool CalculateDoFavor(Actor *a_activator, bool a_arg2, TESObjectREFR *a_toActivate, float a_arg3) override
bool IsInFaction(TESFaction *a_faction) const
TESCombatStyle * combatStyle
Definition: TESNPC.h:271
bool Activate(TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
Color bodyTintColor
Definition: TESNPC.h:292
BGSListForm * giftFilter
Definition: TESNPC.h:270
void SetFaceTexture(BGSTextureSet *a_textureSet)
BSEventNotifyControl ProcessEvent(const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
TESObjectARMO * farSkin
Definition: TESNPC.h:280
std::uint32_t pad1E4
Definition: TESNPC.h:273
float GetActorValue(ActorValue a_akValue) override
void Revert(BGSLoadFormBuffer *a_buf) override
std::uint16_t pad24A
Definition: TESNPC.h:293
std::uint8_t unk243
Definition: TESNPC.h:289
void CopyFromTemplateForms(TESActorBase **a_templateForms) override
BGSHeadPart * GetHeadPartOverlayByType(HeadPartType a_type)
static constexpr auto FORMTYPE
Definition: TESNPC.h:42
void SetHairColor(BGSColorForm *a_hairColor)
float weight
Definition: TESNPC.h:277
const char * GetTextForParsedSubTag(const BSFixedString &a_tag) const override
BGSHeadPart ** headParts
Definition: TESNPC.h:285
static constexpr auto RTTI
Definition: TESNPC.h:38
stl::enumeration< SOUND_LEVEL, std::uint8_t > soundLevel
Definition: TESNPC.h:291
bool HasApplicableKeywordString(std::string_view a_editorID)
bool Load(TESFile *a_mod) override
void ChangeHeadPart(BGSHeadPart *a_target)
bool SetDefaultOutfit(BGSOutfit *a_outfit)
std::uint32_t GetNumBaseOverlays() const
BGSListForm * defaultPackList
Definition: TESNPC.h:283
void UnClone3D(TESObjectREFR *a_ref) override
void SetCombatStyle(TESCombatStyle *a_combatStyle) override
NiAVObject * Clone3D(TESObjectREFR *a_ref) override
BGSHeadPart ** GetBaseOverlays() const
BGSVoiceType * GetObjectVoiceType() const override
bool AddPerk(BGSPerk *a_perk, std::int8_t a_rank)
BGSOutfit * sleepOutfit
Definition: TESNPC.h:282
BGSHeadPart * GetCurrentHeadPartByType(HeadPartType a_type)
void ClearData() override
void SetSkinFromTint(NiColorA *a_result, TintMask *a_tintMask, bool a_fromTint)
std::int8_t numHeadParts
Definition: TESNPC.h:286
TESFaction * crimeFaction
Definition: TESNPC.h:284
std::uint32_t fileOffset
Definition: TESNPC.h:272
FaceData * faceData
Definition: TESNPC.h:296
std::optional< std::uint32_t > GetPerkIndex(BGSPerk *a_perk) const
float height
Definition: TESNPC.h:276
bool RemovePerks(const std::vector< BGSPerk * > &a_perks)
Sounds sounds
Definition: TESNPC.h:278
TESNPC * GetRootFaceNPC()
TESCombatStyle * GetCombatStyle() override
BGSHeadPart * GetHeadPartByType(HeadPartType a_type)
TESRace * originalRace
Definition: TESNPC.h:274
bool AddPerks(const std::vector< BGSPerk * > &a_perks, std::int8_t a_rank)
BSFixedString shortName
Definition: TESNPC.h:279
void Copy(TESForm *a_srcForm) override
TESSpellList::SpellData * GetSpellList()
TESNPC * faceNPC
Definition: TESNPC.h:275
std::uint8_t unk242
Definition: TESNPC.h:288
void InitItemImpl() override
bool GetActivateText(TESObjectREFR *a_activator, BSString &a_dst) override
BGSOutfit * defaultOutfit
Definition: TESNPC.h:281
void LoadGame(BGSLoadFormBuffer *a_buf) override
bool FindInFileFast(TESFile *a_mod) override
void UpdateNeck(BSFaceGenNiNode *a_faceNode)
bool ContainsKeyword(std::string_view a_editorID)
void SetActorValue(ActorValue a_akValue, float a_value) override
Definition: TESObjectARMO.h:37
Definition: TESObjectREFR.h:113
Definition: TESRace.h:146
Definition: AbsorbEffect.h:6
constexpr REL::VariantID RTTI_TESNPC(513923, 392546, 0x1edab88)
ActorValue
Definition: ActorValues.h:6
constexpr std::array< REL::VariantID, 15 > VTABLE_TESNPC
Definition: Offsets_VTABLE.h:931
BSEventNotifyControl
Definition: BSTEvent.h:12
ChangeFlag
Definition: TESNPC.h:47
@ kDefaultOutfit
Definition: TESNPC.h:57
@ kClass
Definition: TESNPC.h:55
@ kBaseData
Definition: TESNPC.h:48
@ kFace
Definition: TESNPC.h:56
@ kAIData
Definition: TESNPC.h:50
@ kSleepOutfit
Definition: TESNPC.h:58
@ kNPCSkills
Definition: TESNPC.h:54
@ kSpellList
Definition: TESNPC.h:51
@ kFullName
Definition: TESNPC.h:52
@ kAttributes
Definition: TESNPC.h:49
@ kRace
Definition: TESNPC.h:60
@ kGender
Definition: TESNPC.h:59
@ kFactions
Definition: TESNPC.h:53
@ kBrows_InOut
Definition: TESNPC.h:151
@ kCheeks_ForwardBack
Definition: TESNPC.h:147
@ kEyes_InOut
Definition: TESNPC.h:149
@ kNose_LongShort
Definition: TESNPC.h:141
@ kChin_NarrowWide
Definition: TESNPC.h:155
@ kLips_UpDown
Definition: TESNPC.h:153
@ kCheeks_UpDown
Definition: TESNPC.h:146
@ kEyes_UpDown
Definition: TESNPC.h:148
@ kEyes_ForwardBack
Definition: TESNPC.h:158
@ kNose_UpDown
Definition: TESNPC.h:142
@ kBrows_ForwardBack
Definition: TESNPC.h:152
@ kJaw_NarrowWide
Definition: TESNPC.h:144
@ kUnk
Definition: TESNPC.h:159
@ kBrows_UpDown
Definition: TESNPC.h:150
@ kJaw_ForwardBack
Definition: TESNPC.h:145
@ kTotal
Definition: TESNPC.h:161
@ kChin_UnderbiteOverbite
Definition: TESNPC.h:157
@ kChin_UpDown
Definition: TESNPC.h:156
@ kLips_InOut
Definition: TESNPC.h:154
@ kJaw_UpDown
Definition: TESNPC.h:143
@ kEyes
Definition: TESNPC.h:171
@ kMouth
Definition: TESNPC.h:172
@ kUnknown
Definition: TESNPC.h:170
@ kTotal
Definition: TESNPC.h:174
@ kNose
Definition: TESNPC.h:169
std::int32_t parts[Parts::kTotal]
Definition: TESNPC.h:186
@ kTotalPresets
Definition: TESNPC.h:181
@ kDefault
Definition: TESNPC.h:180
float morphs[Morphs::kTotal]
Definition: TESNPC.h:185
std::uint16_t interpolationValue
Definition: TESNPC.h:199
float GetInterpolationValue() const
std::uint16_t pad0A
Definition: TESNPC.h:200
Color tintColor
Definition: TESNPC.h:196
std::uint16_t preset
Definition: TESNPC.h:198
std::uint32_t pad0C
Definition: TESNPC.h:201
std::uint16_t tintIndex
Definition: TESNPC.h:197
RecordFlag
Definition: TESNPC.h:67
@ kIgnored
Definition: TESNPC.h:69
@ kDeleted
Definition: TESNPC.h:68
@ kBleedoutOverride
Definition: TESNPC.h:71
@ kCompressed
Definition: TESNPC.h:70
@ kIllusion
Definition: TESNPC.h:95
@ kHeavyArmor
Definition: TESNPC.h:85
@ kSpeechcraft
Definition: TESNPC.h:91
@ kLockpicking
Definition: TESNPC.h:88
@ kSneak
Definition: TESNPC.h:89
@ kRestoration
Definition: TESNPC.h:96
@ kDestruction
Definition: TESNPC.h:94
@ kSmithing
Definition: TESNPC.h:84
@ kOneHanded
Definition: TESNPC.h:80
@ kEnchanting
Definition: TESNPC.h:97
@ kConjuration
Definition: TESNPC.h:93
@ kMarksman
Definition: TESNPC.h:82
@ kPickpocket
Definition: TESNPC.h:87
@ kBlock
Definition: TESNPC.h:83
@ kAlteration
Definition: TESNPC.h:92
@ kTotal
Definition: TESNPC.h:99
@ kAlchemy
Definition: TESNPC.h:90
@ kLightArmor
Definition: TESNPC.h:86
@ kTwoHanded
Definition: TESNPC.h:81
std::uint16_t health
Definition: TESNPC.h:105
std::uint16_t stamina
Definition: TESNPC.h:107
std::uint16_t magicka
Definition: TESNPC.h:106
std::uint8_t values[kTotal]
Definition: TESNPC.h:103
std::uint16_t pad2A
Definition: TESNPC.h:108
float farawayModelDistance
Definition: TESNPC.h:109
std::uint8_t offsets[kTotal]
Definition: TESNPC.h:104
Definition: TESSpellList.h:18
TESNPC * soundCreature
Definition: TESNPC.h:129
CreatureSounds * creatureSounds
Definition: TESNPC.h:130