CommonLibSSE NG
Loading...
Searching...
No Matches
RE::TESNPC Class Reference

#include <TESNPC.h>

Inheritance diagram for RE::TESNPC:
RE::TESActorBase RE::TESRaceForm RE::BGSOverridePackCollection RE::BSTEventSink< MenuOpenCloseEvent > RE::BaseFormComponent RE::BaseFormComponent RE::BGSPerkRankArray RE::BGSAttackDataForm RE::BGSKeywordForm RE::BGSSkinForm RE::BGSDestructibleObjectForm RE::ActorValueOwner RE::TESFullName RE::TESAIForm RE::TESSpellList RE::TESContainer RE::TESActorBaseData RE::TESBoundAnimObject

Classes

struct  ChangeFlags
 
struct  FaceData
 
struct  HeadRelatedData
 
struct  Layer
 
struct  RecordFlags
 
struct  Skills
 
union  Sounds
 

Public Types

using HeadPartType = BGSHeadPart::HeadPartType
 
- Public Types inherited from RE::TESForm
enum class  InGameFormFlag {
  kNone = 0 , kWantsDelete = 1 << 0 , kForcedPersistent = 1 << 1 , kNoFavorAllowed = 1 << 4 ,
  kIsSkyObject = 1 << 5 , kRefOriginalPersistent = 1 << 6 , kRefPermanentlyDeleted = 1 << 7
}
 

Public Member Functions

 ~TESNPC () override
 
void InitializeData () override
 
void ClearData () override
 
bool Load (TESFile *a_mod) override
 
bool FindInFileFast (TESFile *a_mod) override
 
void SaveGame (BGSSaveFormBuffer *a_buf) override
 
void LoadGame (BGSLoadFormBuffer *a_buf) override
 
void Revert (BGSLoadFormBuffer *a_buf) override
 
void InitItemImpl () override
 
const char * GetTextForParsedSubTag (const BSFixedString &a_tag) const override
 
void Copy (TESForm *a_srcForm) override
 
bool Activate (TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
 
void UnClone3D (TESObjectREFR *a_ref) override
 
void SetObjectVoiceType (BGSVoiceType *a_voiceType) override
 
BGSVoiceTypeGetObjectVoiceType () const override
 
NiAVObjectClone3D (TESObjectREFR *a_ref) override
 
bool GetActivateText (TESObjectREFR *a_activator, BSString &a_dst) override
 
bool CalculateDoFavor (Actor *a_activator, bool a_arg2, TESObjectREFR *a_toActivate, float a_arg3) override
 
TESCombatStyleGetCombatStyle () override
 
void SetCombatStyle (TESCombatStyle *a_combatStyle) override
 
void CopyFromTemplateForms (TESActorBase **a_templateForms) override
 
float GetActorValue (ActorValue a_akValue) override
 
void SetActorValue (ActorValue a_akValue, float a_value) override
 
BSEventNotifyControl ProcessEvent (const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource) override
 
bool AddPerk (BGSPerk *a_perk, std::int8_t a_rank)
 
bool AddPerks (const std::vector< BGSPerk * > &a_perks, std::int8_t a_rank)
 
void ChangeHeadPart (BGSHeadPart *a_target)
 
bool ContainsKeyword (std::string_view a_editorID)
 
BGSHeadPart ** GetBaseOverlays () const
 
BGSHeadPartGetCurrentHeadPartByType (HeadPartType a_type)
 
BGSHeadPartGetHeadPartByType (HeadPartType a_type)
 
BGSHeadPartGetHeadPartOverlayByType (HeadPartType a_type)
 
float GetHeight () const
 
std::uint32_t GetNumBaseOverlays () const
 
std::optional< std::uint32_t > GetPerkIndex (BGSPerk *a_perk) const
 
TESSpellList::SpellDataGetSpellList ()
 
TESRaceGetRace ()
 
TESNPCGetRootFaceNPC ()
 
const TESNPCGetRootFaceNPC () const
 
SEX GetSex () const
 
bool HasApplicableKeywordString (std::string_view a_editorID)
 
bool HasOverlays ()
 
bool IsInFaction (TESFaction *a_faction) const
 
bool RemovePerk (BGSPerk *a_perk)
 
bool RemovePerks (const std::vector< BGSPerk * > &a_perks)
 
bool SetDefaultOutfit (BGSOutfit *a_outfit)
 
void SetFaceTexture (BGSTextureSet *a_textureSet)
 
void SetHairColor (BGSColorForm *a_hairColor)
 
void SetSkinFromTint (NiColorA *a_result, TintMask *a_tintMask, bool a_fromTint)
 
bool SetSleepOutfit (BGSOutfit *a_outfit)
 
void UpdateNeck (BSFaceGenNiNode *a_faceNode)
 
- Public Member Functions inherited from RE::TESActorBase
 ~TESActorBase () override
 
bool AddChange (std::uint32_t a_changeFlags) override
 
void RemoveChange (std::uint32_t a_changeFlags) override
 
void SaveGame (BGSSaveFormBuffer *a_buf) override
 
void LoadGame (BGSLoadFormBuffer *a_buf) override
 
bool IsAutoCalc () const override
 
void SetAutoCalc (bool a_autoCalc) override
 
float GetActorValue (ActorValue a_akValue) override
 
float GetPermanentActorValue (ActorValue a_akValue) override
 
float GetBaseActorValue (ActorValue a_akValue) override
 
void SetBaseActorValue (ActorValue a_akValue, float a_value) override
 
void ModActorValue (ActorValue a_akValue, float a_value) override
 
void RestoreActorValue (ACTOR_VALUE_MODIFIER a_modifier, ActorValue a_akValue, float a_value) override
 
void SetActorValue (ActorValue a_akValue, float a_value) override
 
bool GetIsPlayerOwner () const override
 
virtual bool GetHasPLSpecTex () const
 
virtual TESCombatStyleGetCombatStyle ()
 
virtual void SetCombatStyle (TESCombatStyle *a_combatStyle)
 
virtual TESFormGetAsForm ()
 
bool IsLeveled () const
 
- Public Member Functions inherited from RE::TESBoundAnimObject
 ~TESBoundAnimObject () override
 
bool IsBoundAnimObject () override
 
bool ReplaceModel (const char *a_str) override
 
- Public Member Functions inherited from RE::TESBoundObject
 ~TESBoundObject () override
 
void LoadObjectBound (TESFile *a_mod) override
 
bool IsBoundObject () const override
 
bool Activate (TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
 
NiAVObjectClone3D (TESObjectREFR *a_ref, bool a_arg3) override
 
bool ReplaceModel () override
 
virtual void SetObjectVoiceType (BGSVoiceType *a_voiceType)
 
virtual BGSVoiceTypeGetObjectVoiceType () const
 
virtual NiAVObjectClone3D (TESObjectREFR *a_ref)
 
virtual bool ReplaceModel (const char *a_str)
 
virtual bool GetActivateText (TESObjectREFR *a_activator, BSString &a_dst)
 
virtual bool CalculateDoFavor (Actor *a_activator, bool a_arg2, TESObjectREFR *a_toActivate, float a_arg3)
 
virtual void HandleRemoveItemFromContainer (TESObjectREFR *a_container)
 
virtual void OnRemove3D (NiAVObject *a_obj3D)
 
virtual void OnCheckModels ()
 
virtual void OnCopyReference ()
 
virtual void OnFinishScale ()
 
- Public Member Functions inherited from RE::TESObject
 ~TESObject () override
 
bool IsObject () const override
 
std::uint32_t GetRefCount () const override
 
virtual void Unk_3B (void)
 
virtual bool IsBoundAnimObject ()
 
virtual TESWaterFormGetWaterType () const
 
virtual bool IsAutoCalc () const
 
virtual void SetAutoCalc (bool a_autoCalc)
 
virtual NiAVObjectClone3D (TESObjectREFR *a_ref, bool a_arg3)
 
virtual void UnClone3D (TESObjectREFR *a_ref)
 
virtual bool IsMarker ()
 
virtual bool IsOcclusionMarker ()
 
virtual bool ReplaceModel ()
 
virtual std::uint32_t IncRef ()
 
virtual std::uint32_t DecRef ()
 
virtual NiAVObjectLoadGraphics (TESObjectREFR *a_ref)
 
- Public Member Functions inherited from RE::TESForm
 ~TESForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual void InitializeData ()
 
virtual void ClearData ()
 
virtual bool Load (TESFile *a_mod)
 
virtual bool LoadPartial (TESFile *a_mod)
 
virtual bool LoadEdit (TESFile *a_mod)
 
virtual TESFormCreateDuplicateForm (bool a_createEditorID, void *a_arg2)
 
virtual bool AddChange (std::uint32_t a_changeFlags)
 
virtual void RemoveChange (std::uint32_t a_changeFlags)
 
virtual bool FindInFileFast (TESFile *a_mod)
 
virtual bool CheckSaveGame (BGSSaveFormBuffer *a_buf)
 
virtual void SaveGame (BGSSaveFormBuffer *a_buf)
 
virtual void LoadGame (BGSLoadFormBuffer *a_buf)
 
virtual void InitLoadGame (BGSLoadFormBuffer *a_buf)
 
virtual void FinishLoadGame (BGSLoadFormBuffer *a_buf)
 
virtual void Revert (BGSLoadFormBuffer *a_buf)
 
virtual void InitItemImpl ()
 
virtual TESFileGetDescriptionOwnerFile () const
 
virtual FormType GetSavedFormType () const
 
virtual void GetFormDetailedString (char *a_buf, std::uint32_t a_bufLen)
 
virtual bool GetKnown () const
 
virtual bool GetRandomAnim () const
 
virtual bool GetPlayable () const
 
virtual bool IsHeadingMarker () const
 
virtual bool GetDangerous () const
 
virtual bool QHasCurrents () const
 
virtual bool GetObstacle () const
 
virtual bool QIsLODLandObject () const
 
virtual bool GetOnLocalMap () const
 
virtual bool GetMustUpdate () const
 
virtual void SetOnLocalMap (bool a_set)
 
virtual bool GetIgnoredBySandbox () const
 
virtual void SetDelete (bool a_set)
 
virtual void SetAltered (bool a_set)
 
virtual void SaveObjectBound ()
 
virtual void LoadObjectBound (TESFile *a_mod)
 
virtual bool IsBoundObject () const
 
virtual bool IsObject () const
 
virtual bool IsMagicItem () const
 
virtual bool IsWater () const
 
virtual TESObjectREFRAsReference1 ()
 
virtual const TESObjectREFRAsReference2 () const
 
virtual std::uint32_t GetRefCount () const
 
virtual const char * GetTextForParsedSubTag (const BSFixedString &a_tag) const
 
virtual void Copy (TESForm *a_srcForm)
 
virtual bool BelongsInGroup (FORM *a_form, bool a_allowParentGroups, bool a_currentOnly)
 
virtual void CreateGroupData (FORM *a_form, FORM_GROUP *a_group)
 
virtual const char * GetFormEditorID () const
 
virtual bool SetFormEditorID (const char *a_str)
 
virtual bool IsParentForm ()
 
virtual bool IsParentFormTree ()
 
virtual bool IsFormTypeChild (FormType a_type)
 
virtual bool Activate (TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount)
 
virtual void SetFormID (FormID a_id, bool a_updateFile)
 
virtual const char * GetObjectTypeName () const
 
virtual bool QAvailableInGame () const
 
template<class T , class = std::enable_if_t< std::negation_v< std::disjunction< std::is_pointer<T>, std::is_reference<T>, std::is_const<T>, std::is_volatile<T>>>>>
T * As () noexcept
 
template<class T , class = std::enable_if_t< std::negation_v< std::disjunction< std::is_pointer<T>, std::is_reference<T>, std::is_const<T>, std::is_volatile<T>>>>>
const T * As () const noexcept
 
TESObjectREFRAsReference ()
 
const TESObjectREFRAsReference () const
 
TESFileGetFile (std::int32_t a_idx=-1) const
 
std::uint32_t GetFormFlags () const noexcept
 
FormID GetFormID () const noexcept
 
FormType GetFormType () const noexcept
 
std::int32_t GetGoldValue () const
 
FormID GetRawFormID () const
 
FormID GetLocalFormID () const
 
const char * GetName () const
 
float GetWeight () const
 
bool HasKeywordInArray (const std::vector< BGSKeyword * > &a_keywords, bool a_matchAll) const
 
bool HasKeywordInList (BGSListForm *a_keywordList, bool a_matchAll) const
 
bool HasVMAD () const
 
bool HasWorldModel () const noexcept
 
void InitItem ()
 
bool Is (FormType a_type) const noexcept
 
template<class... Args>
requires (std::same_as<Args, FormType>&&...)
bool Is (Args... a_args) const noexcept
 
bool IsAmmo () const noexcept
 
bool IsArmor () const noexcept
 
bool IsBook () const noexcept
 
bool IsDeleted () const noexcept
 
bool IsDynamicForm () const noexcept
 
bool IsGold () const noexcept
 
bool IsIgnored () const noexcept
 
bool IsInventoryObject () const
 
bool IsInitialized () const noexcept
 
bool IsKey () const noexcept
 
bool IsLockpick () const noexcept
 
bool IsNot (FormType a_type) const noexcept
 
template<class... Args>
requires (std::same_as<Args, FormType>&&...)
bool IsNot (Args... a_args) const noexcept
 
bool IsNote () const noexcept
 
bool IsPlayer () const noexcept
 
bool IsPlayerRef () const noexcept
 
bool IsSoulGem () const noexcept
 
bool IsWeapon () const noexcept
 
- Public Member Functions inherited from RE::BaseFormComponent
virtual ~BaseFormComponent ()
 
virtual void InitializeDataComponent ()=0
 
virtual void ClearDataComponent ()=0
 
virtual void CopyComponent (BaseFormComponent *a_rhs)
 
 TES_HEAP_REDEFINE_NEW ()
 
- Public Member Functions inherited from RE::TESActorBaseData
 ~TESActorBaseData () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual void CopyFromTemplateForms (TESActorBase **a_templateForms)
 
virtual bool GetIsGhost () const
 
virtual bool GetInvulnerable () const
 
virtual void Unk_07 (void)
 
virtual BGSVoiceTypeGetVoiceType (void)
 
constexpr bool AffectsStealthMeter () const noexcept
 
constexpr bool Bleeds () const noexcept
 
constexpr bool IsEssential () const noexcept
 
constexpr bool IsFemale () const noexcept
 
bool IsGhost () const
 
constexpr bool IsPreset () const noexcept
 
constexpr bool IsProtected () const noexcept
 
constexpr bool IsSimpleActor () const noexcept
 
constexpr bool IsSummonable () const noexcept
 
constexpr bool IsUnique () const noexcept
 
bool IsInvulnerable () const
 
constexpr bool HasAutoCalcStats () const noexcept
 
constexpr bool HasBleedoutOverride () const noexcept
 
constexpr bool HasPCLevelMult () const noexcept
 
constexpr bool Respawns () const noexcept
 
constexpr bool UsesOppositeGenderAnims () const noexcept
 
constexpr bool UsesTemplate () const noexcept
 
std::uint16_t GetLevel () const
 
- Public Member Functions inherited from RE::TESContainer
 ~TESContainer () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
void ForEachContainerObject (std::function< BSContainer::ForEachResult(ContainerObject &)> a_fn) const
 
std::optional< ContainerObject * > GetContainerObjectAt (std::uint32_t a_idx) const
 
std::optional< std::uint32_t > GetContainerObjectIndex (TESBoundObject *a_object, std::int32_t a_count) const
 
bool AddObjectToContainer (TESBoundObject *a_object, std::int32_t a_count, TESForm *a_owner)
 
bool AddObjectsToContainer (std::map< TESBoundObject *, std::int32_t > &a_objects, TESForm *a_owner)
 
std::int32_t CountObjectsInContainer (TESBoundObject *a_object) const
 
bool RemoveObjectFromContainer (TESBoundObject *a_object, std::int32_t a_count)
 
- Public Member Functions inherited from RE::TESSpellList
 ~TESSpellList () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::TESAIForm
 ~TESAIForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
bool AggroRadiusBehaviourIsEnabled () const
 
ACTOR_AGGRESSION GetAggressionLevel () const
 
ACTOR_ASSISTANCE GetAssistanceLevel () const
 
ACTOR_CONFIDENCE GetConfidenceLevel () const
 
std::uint8_t GetEnergyLevel () const
 
ACTOR_MOOD GetMoodLevel () const
 
ACTOR_MORALITY GetMoralityLevel () const
 
bool NoSlowApproach () const
 
void SetAggressionLevel (ACTOR_AGGRESSION a_level)
 
void SetAssistanceLevel (ACTOR_ASSISTANCE a_level)
 
void SetConfidenceLevel (ACTOR_CONFIDENCE a_level)
 
- Public Member Functions inherited from RE::TESFullName
 ~TESFullName () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual std::uint32_t GetFullNameLength () const
 
virtual const char * GetFullName () const
 
- Public Member Functions inherited from RE::ActorValueOwner
virtual ~ActorValueOwner ()
 
virtual float GetActorValue (ActorValue a_akValue)
 
virtual float GetPermanentActorValue (ActorValue a_akValue)
 
virtual float GetBaseActorValue (ActorValue a_akValue)
 
virtual void SetBaseActorValue (ActorValue a_akValue, float a_value)
 
virtual void ModActorValue (ActorValue a_akValue, float a_value)
 
virtual void RestoreActorValue (ACTOR_VALUE_MODIFIER a_modifier, ActorValue a_akValue, float a_value)
 
virtual void SetActorValue (ActorValue a_akValue, float a_value)
 
virtual bool GetIsPlayerOwner () const
 
float GetArmorRatingSkillMultiplier (float a_skillLevel) const
 
float GetClampedActorValue (ActorValue a_akValue) const
 
- Public Member Functions inherited from RE::BGSDestructibleObjectForm
 ~BGSDestructibleObjectForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSSkinForm
 ~BGSSkinForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSKeywordForm
 ~BGSKeywordForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual bool HasKeyword (const BGSKeyword *a_keyword) const
 
virtual BGSKeywordGetDefaultKeyword () const
 
bool AddKeyword (BGSKeyword *a_keyword)
 
bool AddKeywords (const std::vector< BGSKeyword * > &a_keywords)
 
bool ContainsKeywordString (std::string_view a_editorID) const
 
void ForEachKeyword (std::function< BSContainer::ForEachResult(BGSKeyword &)> a_callback) const
 
std::optional< BGSKeyword * > GetKeywordAt (std::uint32_t a_idx) const
 
std::optional< std::uint32_t > GetKeywordIndex (BGSKeyword *a_keyword) const
 
std::uint32_t GetNumKeywords () const
 
bool HasKeywordID (FormID a_formID) const
 
bool HasKeywordString (std::string_view a_editorID) const
 
bool RemoveKeyword (std::uint32_t a_index)
 
bool RemoveKeyword (BGSKeyword *a_keyword)
 
bool RemoveKeywords (const std::vector< RE::BGSKeyword * > &a_keywords)
 
std::span< BGSKeyword * > GetKeywords ()
 
std::span< BGSKeyword *const > GetKeywords () const
 
- Public Member Functions inherited from RE::BGSAttackDataForm
 ~BGSAttackDataForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSPerkRankArray
 ~BGSPerkRankArray () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *rhs) override
 
- Public Member Functions inherited from RE::TESRaceForm
 ~TESRaceForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSOverridePackCollection
 ~BGSOverridePackCollection () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BSTEventSink< MenuOpenCloseEvent >
virtual ~BSTEventSink ()=default
 
virtual BSEventNotifyControl ProcessEvent (const MenuOpenCloseEvent *a_event, BSTEventSource< MenuOpenCloseEvent > *a_eventSource)=0
 

Public Attributes

Skills playerSkills
 
TESClassnpcClass
 
HeadRelatedDataheadRelatedData
 
BGSListFormgiftFilter
 
TESCombatStylecombatStyle
 
std::uint32_t fileOffset
 
std::uint32_t pad1E4
 
TESRaceoriginalRace
 
TESNPCfaceNPC
 
float height
 
float weight
 
Sounds sounds
 
BSFixedString shortName
 
TESObjectARMOfarSkin
 
BGSOutfitdefaultOutfit
 
BGSOutfitsleepOutfit
 
BGSListFormdefaultPackList
 
TESFactioncrimeFaction
 
BGSHeadPart ** headParts
 
std::int8_t numHeadParts
 
std::uint8_t unk241
 
std::uint8_t unk242
 
std::uint8_t unk243
 
std::uint8_t unk244
 
stl::enumeration< SOUND_LEVEL, std::uint8_t > soundLevel
 
Color bodyTintColor
 
std::uint16_t pad24A
 
std::uint32_t pad24C
 
BSTArray< BGSRelationship * > * relationships
 
FaceDatafaceData
 
BSTArray< Layer * > * tintLayers
 
- Public Attributes inherited from RE::TESBoundObject
BOUND_DATA boundData
 
std::uint32_t pad2C
 
- Public Attributes inherited from RE::TESForm
TESFileContainer sourceFiles
 
std::uint32_t formFlags
 
FormID formID
 
stl::enumeration< InGameFormFlag, std::uint16_t > inGameFormFlags
 
stl::enumeration< FormType, std::uint8_t > formType
 
std::uint8_t pad1B
 
std::uint32_t pad1C
 
- Public Attributes inherited from RE::TESActorBaseData
ACTOR_BASE_DATA actorData
 
TESLevItemdeathItem
 
BGSVoiceTypevoiceType
 
TESFormbaseTemplateForm
 
TESForm ** templateForms
 
BSTArray< FACTION_RANKfactions
 
- Public Attributes inherited from RE::TESContainer
ContainerObject ** containerObjects
 
std::uint32_t numContainerObjects
 
std::uint32_t pad14
 
- Public Attributes inherited from RE::TESSpellList
SpellDataactorEffects
 
- Public Attributes inherited from RE::TESAIForm
AIDATA_GAME aiData
 
PackageList aiPackages
 
- Public Attributes inherited from RE::TESFullName
BSFixedString fullName
 
- Public Attributes inherited from RE::BGSDestructibleObjectForm
DestructibleObjectDatadata
 
- Public Attributes inherited from RE::BGSSkinForm
TESObjectARMOskin
 
- Public Attributes inherited from RE::BGSKeywordForm
BGSKeyword ** keywords
 
std::uint32_t numKeywords
 
std::uint32_t pad14
 
- Public Attributes inherited from RE::BGSAttackDataForm
NiPointer< BGSAttackDataMapattackDataMap
 
- Public Attributes inherited from RE::BGSPerkRankArray
PerkRankDataperks
 
std::uint32_t perkCount
 
std::uint32_t pad14
 
- Public Attributes inherited from RE::TESRaceForm
TESRacerace
 
- Public Attributes inherited from RE::BGSOverridePackCollection
BGSListFormspectatorOverRidePackList
 
BGSListFormobserveCorpseOverRidePackList
 
BGSListFormguardWarnOverRidePackList
 
BGSListFormenterCombatOverRidePackList
 

Static Public Attributes

static constexpr auto RTTI = RTTI_TESNPC
 
static constexpr auto VTABLE = VTABLE_TESNPC
 
static constexpr auto FORMTYPE = FormType::NPC
 
- Static Public Attributes inherited from RE::TESActorBase
static constexpr auto RTTI = RTTI_TESActorBase
 
- Static Public Attributes inherited from RE::TESBoundAnimObject
static constexpr auto RTTI = RTTI_TESBoundAnimObject
 
- Static Public Attributes inherited from RE::TESBoundObject
static constexpr auto RTTI = RTTI_TESBoundObject
 
- Static Public Attributes inherited from RE::TESObject
static constexpr auto RTTI = RTTI_TESObject
 
- Static Public Attributes inherited from RE::TESForm
static constexpr auto RTTI = RTTI_TESForm
 
static constexpr auto FORMTYPE = FormType::None
 
- Static Public Attributes inherited from RE::BaseFormComponent
static constexpr auto RTTI = RTTI_BaseFormComponent
 
- Static Public Attributes inherited from RE::TESActorBaseData
static constexpr auto RTTI = RTTI_TESActorBaseData
 
- Static Public Attributes inherited from RE::TESContainer
static constexpr auto RTTI = RTTI_TESContainer
 
- Static Public Attributes inherited from RE::TESSpellList
static constexpr auto RTTI = RTTI_TESSpellList
 
- Static Public Attributes inherited from RE::TESAIForm
static constexpr auto RTTI = RTTI_TESAIForm
 
- Static Public Attributes inherited from RE::TESFullName
static constexpr auto RTTI = RTTI_TESFullName
 
- Static Public Attributes inherited from RE::ActorValueOwner
static constexpr auto RTTI = RTTI_ActorValueOwner
 
- Static Public Attributes inherited from RE::BGSDestructibleObjectForm
static constexpr auto RTTI = RTTI_BGSDestructibleObjectForm
 
- Static Public Attributes inherited from RE::BGSSkinForm
static constexpr auto RTTI = RTTI_BGSSkinForm
 
- Static Public Attributes inherited from RE::BGSKeywordForm
static constexpr auto RTTI = RTTI_BGSKeywordForm
 
- Static Public Attributes inherited from RE::BGSAttackDataForm
static constexpr auto RTTI = RTTI_BGSAttackDataForm
 
- Static Public Attributes inherited from RE::BGSPerkRankArray
static constexpr auto RTTI = RTTI_BGSPerkRankArray
 
- Static Public Attributes inherited from RE::TESRaceForm
static constexpr auto RTTI = RTTI_TESRaceForm
 
- Static Public Attributes inherited from RE::BGSOverridePackCollection
static constexpr auto RTTI = RTTI_BGSOverridePackCollection
 

Additional Inherited Members

- Static Public Member Functions inherited from RE::TESForm
static void AddCompileIndex (FormID &a_id, TESFile *a_file)
 
static auto GetAllForms () -> std::pair< BSTHashMap< FormID, TESForm * > *, std::reference_wrapper< BSReadWriteLock > >
 
static auto GetAllFormsByEditorID () -> std::pair< BSTHashMap< BSFixedString, TESForm * > *, std::reference_wrapper< BSReadWriteLock > >
 
static TESFormLookupByID (FormID a_formID)
 
template<class T >
static T * LookupByID (FormID a_formID)
 
static TESFormLookupByEditorID (const std::string_view &a_editorID)
 
template<class T >
static T * LookupByEditorID (const std::string_view &a_editorID)
 

Member Typedef Documentation

◆ HeadPartType

Constructor & Destructor Documentation

◆ ~TESNPC()

RE::TESNPC::~TESNPC ( )
override

Member Function Documentation

◆ Activate()

bool RE::TESNPC::Activate ( TESObjectREFR a_targetRef,
TESObjectREFR a_activatorRef,
std::uint8_t  a_arg3,
TESBoundObject a_object,
std::int32_t  a_targetCount 
)
overridevirtual

Reimplemented from RE::TESBoundObject.

◆ AddPerk()

bool RE::TESNPC::AddPerk ( BGSPerk a_perk,
std::int8_t  a_rank 
)

◆ AddPerks()

bool RE::TESNPC::AddPerks ( const std::vector< BGSPerk * > &  a_perks,
std::int8_t  a_rank 
)

◆ CalculateDoFavor()

bool RE::TESNPC::CalculateDoFavor ( Actor a_activator,
bool  a_arg2,
TESObjectREFR a_toActivate,
float  a_arg3 
)
overridevirtual

Reimplemented from RE::TESBoundObject.

◆ ChangeHeadPart()

void RE::TESNPC::ChangeHeadPart ( BGSHeadPart a_target)

◆ ClearData()

void RE::TESNPC::ClearData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ Clone3D()

NiAVObject * RE::TESNPC::Clone3D ( TESObjectREFR a_ref)
overridevirtual

Reimplemented from RE::TESBoundObject.

◆ ContainsKeyword()

bool RE::TESNPC::ContainsKeyword ( std::string_view  a_editorID)

◆ Copy()

void RE::TESNPC::Copy ( TESForm a_srcForm)
overridevirtual

Reimplemented from RE::TESForm.

◆ CopyFromTemplateForms()

void RE::TESNPC::CopyFromTemplateForms ( TESActorBase **  a_templateForms)
overridevirtual

Reimplemented from RE::TESActorBaseData.

◆ FindInFileFast()

bool RE::TESNPC::FindInFileFast ( TESFile a_mod)
overridevirtual

Reimplemented from RE::TESForm.

◆ GetActivateText()

bool RE::TESNPC::GetActivateText ( TESObjectREFR a_activator,
BSString a_dst 
)
overridevirtual

Reimplemented from RE::TESBoundObject.

◆ GetActorValue()

float RE::TESNPC::GetActorValue ( ActorValue  a_akValue)
overridevirtual

Reimplemented from RE::TESActorBase.

◆ GetBaseOverlays()

BGSHeadPart ** RE::TESNPC::GetBaseOverlays ( ) const

◆ GetCombatStyle()

TESCombatStyle * RE::TESNPC::GetCombatStyle ( )
overridevirtual

Reimplemented from RE::TESActorBase.

◆ GetCurrentHeadPartByType()

BGSHeadPart * RE::TESNPC::GetCurrentHeadPartByType ( HeadPartType  a_type)

◆ GetHeadPartByType()

BGSHeadPart * RE::TESNPC::GetHeadPartByType ( HeadPartType  a_type)

◆ GetHeadPartOverlayByType()

BGSHeadPart * RE::TESNPC::GetHeadPartOverlayByType ( HeadPartType  a_type)

◆ GetHeight()

float RE::TESNPC::GetHeight ( ) const

◆ GetNumBaseOverlays()

std::uint32_t RE::TESNPC::GetNumBaseOverlays ( ) const

◆ GetObjectVoiceType()

BGSVoiceType * RE::TESNPC::GetObjectVoiceType ( ) const
overridevirtual

Reimplemented from RE::TESBoundObject.

◆ GetPerkIndex()

std::optional< std::uint32_t > RE::TESNPC::GetPerkIndex ( BGSPerk a_perk) const

◆ GetRace()

TESRace * RE::TESNPC::GetRace ( )

◆ GetRootFaceNPC() [1/2]

TESNPC * RE::TESNPC::GetRootFaceNPC ( )

◆ GetRootFaceNPC() [2/2]

const TESNPC * RE::TESNPC::GetRootFaceNPC ( ) const

◆ GetSex()

SEX RE::TESNPC::GetSex ( ) const

◆ GetSpellList()

TESSpellList::SpellData * RE::TESNPC::GetSpellList ( )

◆ GetTextForParsedSubTag()

const char * RE::TESNPC::GetTextForParsedSubTag ( const BSFixedString a_tag) const
overridevirtual

Reimplemented from RE::TESForm.

◆ HasApplicableKeywordString()

bool RE::TESNPC::HasApplicableKeywordString ( std::string_view  a_editorID)

◆ HasOverlays()

bool RE::TESNPC::HasOverlays ( )

◆ InitializeData()

void RE::TESNPC::InitializeData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ InitItemImpl()

void RE::TESNPC::InitItemImpl ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ IsInFaction()

bool RE::TESNPC::IsInFaction ( TESFaction a_faction) const

◆ Load()

bool RE::TESNPC::Load ( TESFile a_mod)
overridevirtual

Reimplemented from RE::TESForm.

◆ LoadGame()

void RE::TESNPC::LoadGame ( BGSLoadFormBuffer a_buf)
overridevirtual

Reimplemented from RE::TESActorBase.

◆ ProcessEvent()

BSEventNotifyControl RE::TESNPC::ProcessEvent ( const MenuOpenCloseEvent a_event,
BSTEventSource< MenuOpenCloseEvent > *  a_eventSource 
)
overridevirtual

◆ RemovePerk()

bool RE::TESNPC::RemovePerk ( BGSPerk a_perk)

◆ RemovePerks()

bool RE::TESNPC::RemovePerks ( const std::vector< BGSPerk * > &  a_perks)

◆ Revert()

void RE::TESNPC::Revert ( BGSLoadFormBuffer a_buf)
overridevirtual

Reimplemented from RE::TESForm.

◆ SaveGame()

void RE::TESNPC::SaveGame ( BGSSaveFormBuffer *  a_buf)
overridevirtual

Reimplemented from RE::TESActorBase.

◆ SetActorValue()

void RE::TESNPC::SetActorValue ( ActorValue  a_akValue,
float  a_value 
)
overridevirtual

Reimplemented from RE::TESActorBase.

◆ SetCombatStyle()

void RE::TESNPC::SetCombatStyle ( TESCombatStyle a_combatStyle)
overridevirtual

Reimplemented from RE::TESActorBase.

◆ SetDefaultOutfit()

bool RE::TESNPC::SetDefaultOutfit ( BGSOutfit a_outfit)

◆ SetFaceTexture()

void RE::TESNPC::SetFaceTexture ( BGSTextureSet a_textureSet)

◆ SetHairColor()

void RE::TESNPC::SetHairColor ( BGSColorForm a_hairColor)

◆ SetObjectVoiceType()

void RE::TESNPC::SetObjectVoiceType ( BGSVoiceType a_voiceType)
overridevirtual

Reimplemented from RE::TESBoundObject.

◆ SetSkinFromTint()

void RE::TESNPC::SetSkinFromTint ( NiColorA a_result,
TintMask *  a_tintMask,
bool  a_fromTint 
)

◆ SetSleepOutfit()

bool RE::TESNPC::SetSleepOutfit ( BGSOutfit a_outfit)

◆ UnClone3D()

void RE::TESNPC::UnClone3D ( TESObjectREFR a_ref)
overridevirtual

Reimplemented from RE::TESObject.

◆ UpdateNeck()

void RE::TESNPC::UpdateNeck ( BSFaceGenNiNode a_faceNode)

Member Data Documentation

◆ bodyTintColor

Color RE::TESNPC::bodyTintColor

◆ combatStyle

TESCombatStyle* RE::TESNPC::combatStyle

◆ crimeFaction

TESFaction* RE::TESNPC::crimeFaction

◆ defaultOutfit

BGSOutfit* RE::TESNPC::defaultOutfit

◆ defaultPackList

BGSListForm* RE::TESNPC::defaultPackList

◆ faceData

FaceData* RE::TESNPC::faceData

◆ faceNPC

TESNPC* RE::TESNPC::faceNPC

◆ farSkin

TESObjectARMO* RE::TESNPC::farSkin

◆ fileOffset

std::uint32_t RE::TESNPC::fileOffset

◆ FORMTYPE

constexpr auto RE::TESNPC::FORMTYPE = FormType::NPC
inlinestaticconstexpr

◆ giftFilter

BGSListForm* RE::TESNPC::giftFilter

◆ headParts

BGSHeadPart** RE::TESNPC::headParts

◆ headRelatedData

HeadRelatedData* RE::TESNPC::headRelatedData

◆ height

float RE::TESNPC::height

◆ npcClass

TESClass* RE::TESNPC::npcClass

◆ numHeadParts

std::int8_t RE::TESNPC::numHeadParts

◆ originalRace

TESRace* RE::TESNPC::originalRace

◆ pad1E4

std::uint32_t RE::TESNPC::pad1E4

◆ pad24A

std::uint16_t RE::TESNPC::pad24A

◆ pad24C

std::uint32_t RE::TESNPC::pad24C

◆ playerSkills

Skills RE::TESNPC::playerSkills

◆ relationships

BSTArray<BGSRelationship*>* RE::TESNPC::relationships

◆ RTTI

constexpr auto RE::TESNPC::RTTI = RTTI_TESNPC
inlinestaticconstexpr

◆ shortName

BSFixedString RE::TESNPC::shortName

◆ sleepOutfit

BGSOutfit* RE::TESNPC::sleepOutfit

◆ soundLevel

stl::enumeration<SOUND_LEVEL, std::uint8_t> RE::TESNPC::soundLevel

◆ sounds

Sounds RE::TESNPC::sounds

◆ tintLayers

BSTArray<Layer*>* RE::TESNPC::tintLayers

◆ unk241

std::uint8_t RE::TESNPC::unk241

◆ unk242

std::uint8_t RE::TESNPC::unk242

◆ unk243

std::uint8_t RE::TESNPC::unk243

◆ unk244

std::uint8_t RE::TESNPC::unk244

◆ VTABLE

constexpr auto RE::TESNPC::VTABLE = VTABLE_TESNPC
inlinestaticconstexpr

◆ weight

float RE::TESNPC::weight

The documentation for this class was generated from the following file: