CommonLibSSE (Parapets fork)
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
 
void ChangeHeadPart (BGSHeadPart *a_target)
 
BGSHeadPart ** GetBaseOverlays () const
 
BGSHeadPartGetCurrentHeadPartByType (HeadPartType a_type)
 
BGSHeadPartGetHeadPartByType (HeadPartType a_type)
 
BGSHeadPartGetHeadPartOverlayByType (HeadPartType a_type)
 
float GetHeight () const
 
std::uint32_t GetNumBaseOverlays () const
 
TESRaceGetRace ()
 
TESNPCGetRootFaceNPC ()
 
const TESNPCGetRootFaceNPC () const
 
SEX GetSex () const
 
bool HasOverlays ()
 
void SetFaceTexture (BGSTextureSet *a_textureSet)
 
void SetHairColor (BGSColorForm *a_hairColor)
 
void SetSkinFromTint (NiColorA *a_result, TintMask *a_tintMask, bool a_fromTint)
 
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
 
bool IsAutoCalc () const override
 
void SetAutoCalc (bool a_autoCalc) 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
 
bool GetIsPlayerOwner () const override
 
virtual bool GetHasPLSpecTex () const
 
virtual TESFormGetAsForm ()
 
- 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
 
NiAVObjectClone3D (TESObjectREFR *a_ref, bool a_arg3) override
 
bool ReplaceModel () override
 
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 TESWaterFormGetWaterType () const
 
virtual bool IsMarker ()
 
virtual bool IsOcclusionMarker ()
 
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 bool LoadPartial (TESFile *a_mod)
 
virtual bool LoadEdit (TESFile *a_mod)
 
virtual TESFormCreateDuplicateForm (bool a_createEditorID, void *a_arg2)
 
virtual bool CheckSaveGame (BGSSaveFormBuffer *a_buf)
 
virtual void InitLoadGame (BGSLoadFormBuffer *a_buf)
 
virtual void FinishLoadGame (BGSLoadFormBuffer *a_buf)
 
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 bool IsMagicItem () const
 
virtual bool IsWater () const
 
virtual TESObjectREFRAsReference1 ()
 
virtual const TESObjectREFRAsReference2 () const
 
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 void SetFormID (FormID a_id, bool a_updateFile)
 
virtual const char * GetObjectTypeName () const
 
virtual bool QAvailableInGame () const
 
template<class T >
 requires (std::is_class_v< T >) T *As() noexcept
 
template<class T >
 requires (requires { T::FORMTYPE;}) const T *As() const noexcept
 
template<class T >
 requires (!requires { T::FORMTYPE;}) 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
 
const char * GetName () const
 
float GetWeight () const
 
bool HasVMAD () const
 
bool HasWorldModel () const noexcept
 
void InitItem ()
 
bool Is (FormType a_type) const noexcept
 
template<class... Args>
bool Is (Args... a_args) const noexcept requires(std
 
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 IsInitialized () const noexcept
 
bool IsKey () const noexcept
 
bool IsLockpick () const noexcept
 
bool IsNot (FormType a_type) const noexcept
 
template<class... Args>
bool IsNot (Args... a_args) const noexcept requires(std
 
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 ()
 
 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 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
 
- 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< bool(ContainerObject &)> a_fn) const
 
std::optional< ContainerObject * > GetContainerObjectAt (std::uint32_t a_idx) const
 
std::int32_t GetObjectCount (const TESBoundObject *a_object) const
 
- 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
 
- 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 ()
 
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 HasKeyword (FormID a_formID) const
 
std::optional< BGSKeyword * > GetKeywordAt (std::uint32_t a_idx) const
 
std::uint32_t GetNumKeywords () 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
 

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 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.

◆ 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.

◆ 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.

◆ 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

◆ GetTextForParsedSubTag()

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

Reimplemented from RE::TESForm.

◆ 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.

◆ 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

◆ 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.

◆ 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 
)

◆ 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

◆ weight

float RE::TESNPC::weight

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