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

#include <TESObjectREFR.h>

Inheritance diagram for RE::TESObjectREFR:
RE::TESForm RE::BSHandleRefObject RE::BSTEventSink< BSAnimationGraphEvent > RE::IAnimationGraphManagerHolder RE::BaseFormComponent RE::NiRefObject RE::Actor RE::Explosion RE::Hazard RE::Projectile RE::Character RE::BarrierProjectile RE::BeamProjectile RE::ConeProjectile RE::FlameProjectile RE::GrenadeProjectile RE::MissileProjectile RE::PlayerCharacter RE::ArrowProjectile

Classes

struct  ChangeFlags
 
struct  RecordFlags
 
struct  REFERENCE_RUNTIME_DATA
 

Public Types

enum class  MotionType {
  kDynamic = 1 , kSphereInertia = 2 , kBoxInertia = 3 , kKeyframed = 4 ,
  kFixed = 5 , kThinBoxInertia = 6 , kCharacter = 7
}
 
using Count = std::int32_t
 
using InventoryCountMap = std::map< TESBoundObject *, Count >
 
using InventoryItemMap = std::map< TESBoundObject *, std::pair< Count, std::unique_ptr< InventoryEntryData > > >
 
using InventoryDropMap = std::map< TESBoundObject *, std::pair< Count, std::vector< ObjectRefHandle > > >
 
- 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 Types inherited from RE::BSHandleRefObject
enum  { kRefCountMask = 0x3FF , kHandleValid = 1 << 10 }
 

Public Member Functions

 ~TESObjectREFR () override
 
void InitializeData () override
 
void ClearData () override
 
bool Load (TESFile *a_mod) override
 
TESFormCreateDuplicateForm (bool a_createEditorID, void *a_arg2) override
 
bool CheckSaveGame (BGSSaveFormBuffer *a_buf) override
 
void SaveGame (BGSSaveFormBuffer *a_buf) override
 
void LoadGame (BGSLoadFormBuffer *a_buf) override
 
void InitLoadGame (BGSLoadFormBuffer *a_buf) override
 
void FinishLoadGame (BGSLoadFormBuffer *a_buf) override
 
void Revert (BGSLoadFormBuffer *a_buf) override
 
void InitItemImpl () override
 
FormType GetSavedFormType () const override
 
void GetFormDetailedString (char *a_buf, std::uint32_t a_bufLen) override
 
bool GetRandomAnim () const override
 
bool IsHeadingMarker () const override
 
bool GetDangerous () const override
 
bool GetObstacle () const override
 
bool GetOnLocalMap () const override
 
bool GetMustUpdate () const override
 
void SetOnLocalMap (bool a_set) override
 
bool GetIgnoredBySandbox () const override
 
void SetDelete (bool a_set) override
 
void SetAltered (bool a_set) override
 
bool IsWater () const override
 
TESObjectREFRAsReference1 () override
 
const TESObjectREFRAsReference2 () const override
 
bool BelongsInGroup (FORM *a_form, bool a_allowParentGroups, bool a_currentOnly) override
 
void CreateGroupData (FORM *a_form, FORM_GROUP *a_group) override
 
const char * GetFormEditorID () const override
 
BSEventNotifyControl ProcessEvent (const BSAnimationGraphEvent *a_event, BSTEventSource< BSAnimationGraphEvent > *a_dispatcher) override
 
bool GetAnimationGraphManagerImpl (BSTSmartPointer< BSAnimationGraphManager > &a_out) const override
 
bool SetAnimationGraphManagerImpl (BSTSmartPointer< BSAnimationGraphManager > &a_in) override
 
bool PopulateGraphNodesToTarget (BSScrapArray< NiAVObject * > &a_nodes) override
 
bool ConstructAnimationGraph (BSTSmartPointer< BShkbAnimationGraph > &a_out) override
 
bool SetupAnimEventSinks (const BSTSmartPointer< BShkbAnimationGraph > &a_animGraph) override
 
void PostChangeAnimationManager (const BSTSmartPointer< BShkbAnimationGraph > &a_arg1, const BSTSmartPointer< BShkbAnimationGraph > &a_arg2) override
 
virtual void Predestroy ()
 
virtual BGSLocationGetEditorLocation1 () const
 
virtual bool GetEditorLocation2 (NiPoint3 &a_outPos, NiPoint3 &a_outRot, TESForm *&a_outWorldOrCell, TESObjectCELL *a_fallback)
 
virtual void ForceEditorLocation (BGSLocation *a_location)
 
virtual void Update3DPosition (bool a_warp)
 
virtual void UpdateSoundCallBack (bool a_endSceneAction)
 
virtual bool SetDialogueWithPlayer (bool a_flag, bool a_forceGreet, TESTopicInfo *a_topic)
 
virtual void DamageObject (float a_objectHealth, bool a_arg3)
 
virtual bool GetFullLODRef () const
 
virtual void SetFullLODRef (bool a_set)
 
virtual BGSAnimationSequencerGetSequencer () const
 
virtual bool QCanUpdateSync () const
 
virtual bool GetAllowPromoteToPersistent () const
 
virtual bool HasKeywordHelper (const BGSKeyword *a_keyword) const
 
virtual TESPackageCheckForCurrentAliasPackage ()
 
virtual BGSSceneGetCurrentScene () const
 
virtual void SetCurrentScene (BGSScene *a_scene)
 
virtual bool UpdateInDialogue (DialogueResponse *a_response, bool a_unused)
 
virtual BGSDialogueBranchGetExclusiveBranch () const
 
virtual void SetExclusiveBranch (BGSDialogueBranch *a_branch)
 
virtual void PauseCurrentDialogue ()
 
virtual void SetActorCause (ActorCause *a_cause)
 
virtual ActorCauseGetActorCause () const
 
virtual NiPoint3 GetStartingAngle () const
 
virtual NiPoint3 GetStartingLocation () const
 
virtual void SetStartingPosition (const NiPoint3 &a_pos)
 
virtual void UpdateRefLight ()
 
virtual ObjectRefHandle RemoveItem (TESBoundObject *a_item, std::int32_t a_count, ITEM_REMOVE_REASON a_reason, ExtraDataList *a_extraList, TESObjectREFR *a_moveToRef, const NiPoint3 *a_dropLoc=0, const NiPoint3 *a_rotate=0)
 
virtual bool AddWornItem (TESBoundObject *a_item, std::int32_t a_count, bool a_forceEquip, std::uint32_t a_arg4, std::uint32_t a_arg5)
 
virtual void DoTrap1 (TrapData &a_data)
 
virtual void DoTrap2 (TrapEntry *a_trap, TargetEntry *a_target)
 
virtual void AddObjectToContainer (TESBoundObject *a_object, ExtraDataList *a_extraList, std::int32_t a_count, TESObjectREFR *a_fromRefr)
 
virtual NiPoint3 GetLookingAtLocation () const
 
virtual MagicCasterGetMagicCaster (MagicSystem::CastingSource a_source)
 
virtual MagicTargetGetMagicTarget ()
 
virtual bool IsChild () const
 
virtual TESActorBaseGetTemplateActorBase ()
 
virtual void SetTemplateActorBase (TESActorBase *a_template)
 
virtual BSFaceGenNiNodeGetFaceNodeSkinned ()
 
virtual BSFaceGenNiNodeGetFaceNode ()
 
virtual BSFaceGenAnimationDataGetFaceGenAnimationData ()
 
virtual bool ClampToGround ()
 
virtual bool DetachHavok (NiAVObject *a_obj3D)
 
virtual void InitHavok ()
 
virtual void Unk_67 (void)
 
virtual void Unk_68 (void)
 
virtual void Unk_69 (void)
 
virtual NiAVObjectLoad3D (bool a_backgroundLoading)
 
virtual void Release3DRelatedData ()
 
virtual void Set3D (NiAVObject *a_object, bool a_queue3DTasks=true)
 
virtual bool ShouldBackgroundClone () const
 
virtual void Unk_6E (void)
 
virtual NiAVObjectGet3D1 (bool a_firstPerson) const
 
virtual NiAVObjectGet3D2 () const
 
virtual bool Is3rdPersonVisible () const
 
virtual bool PopulateGraphProjectsToLoad (void) const
 
virtual NiPoint3 GetBoundMin () const
 
virtual NiPoint3 GetBoundMax () const
 
virtual void Unk_75 (void)
 
virtual bool InitNonNPCAnimation (NiNode &a_nodeForAnim)
 
virtual bool CheckAndFixSkinAndBoneOrder (NiNode &a_nodeToTest)
 
virtual void Unk_78 (void)
 
virtual void ModifyAnimationUpdateData (BSAnimationUpdateData &a_data)
 
virtual bool ShouldSaveAnimationOnUnloading () const
 
virtual bool ShouldSaveAnimationOnSaving () const
 
virtual bool ShouldPerformRevert () const
 
virtual void UpdateAnimation (float a_delta)
 
virtual const BSTSmartPointer< BipedAnim > & GetBiped1 (bool a_firstPerson) const
 
virtual const BSTSmartPointer< BipedAnim > & GetBiped2 () const
 
virtual const BSTSmartPointer< BipedAnim > & GetCurrentBiped () const
 
virtual void SetBiped (const BSTSmartPointer< BipedAnim > &a_biped)
 
virtual void RemoveWeapon (BIPED_OBJECT equipIndex)
 
virtual void Unk_83 (void)
 
virtual void Unk_84 (void)
 
SKYRIM_REL_VR_VIRTUAL void SetObjectReference (TESBoundObject *a_object)
 
SKYRIM_REL_VR_VIRTUAL void MoveHavok (bool a_forceRec)
 
SKYRIM_REL_VR_VIRTUAL void GetLinearVelocity (NiPoint3 &a_velocity) const
 
SKYRIM_REL_VR_VIRTUAL void SetActionComplete (bool a_set)
 
SKYRIM_REL_VR_VIRTUAL void SetMovementComplete (bool a_set)
 
SKYRIM_REL_VR_VIRTUAL void Disable ()
 
SKYRIM_REL_VR_VIRTUAL void ResetInventory (bool a_leveledOnly)
 
SKYRIM_REL_VR_VIRTUAL NiNodeGetFireNode ()
 
SKYRIM_REL_VR_VIRTUAL void SetFireNode (NiNode *a_fireNode)
 
SKYRIM_REL_VR_VIRTUAL NiAVObjectGetCurrent3D () const
 
SKYRIM_REL_VR_VIRTUAL ExplosionAsExplosion ()
 
SKYRIM_REL_VR_VIRTUAL ProjectileAsProjectile ()
 
SKYRIM_REL_VR_VIRTUAL bool OnAddCellPerformQueueReference (TESObjectCELL &a_cell) const
 
SKYRIM_REL_VR_VIRTUAL void DoMoveToHigh ()
 
SKYRIM_REL_VR_VIRTUAL void TryMoveToMiddleLow ()
 
SKYRIM_REL_VR_VIRTUAL bool TryChangeSkyCellActorsProcessLevel ()
 
SKYRIM_REL_VR_VIRTUAL void Unk_94 (void)
 
SKYRIM_REL_VR_VIRTUAL void TryUpdateActorLastSeenTime ()
 
SKYRIM_REL_VR_VIRTUAL void Unk_96 (void)
 
SKYRIM_REL_VR_VIRTUAL TESObjectCELLGetSaveParentCell () const
 
SKYRIM_REL_VR_VIRTUAL void SetParentCell (TESObjectCELL *a_cell)
 
SKYRIM_REL_VR_VIRTUAL bool IsDead (bool a_notEssential=true) const
 
SKYRIM_REL_VR_VIRTUAL BSAnimNoteReceiver * CreateAnimNoteReceiver ()
 
SKYRIM_REL_VR_VIRTUAL BSAnimNoteReceiver * GetAnimNoteReceiver ()
 
SKYRIM_REL_VR_VIRTUAL bool ProcessInWater (hkpCollidable *a_collidable, float a_waterHeight, float a_deltaTime)
 
SKYRIM_REL_VR_VIRTUAL bool ApplyCurrent (float a_velocityTime, const hkVector4 &a_velocity)
 
SKYRIM_REL_VR_VIRTUAL TESAmmoGetCurrentAmmo () const
 
SKYRIM_REL_VR_VIRTUAL BGSDecalGroupGetDecalGroup () const
 
SKYRIM_REL_VR_VIRTUAL bool Unk_A0 (NiAVObject *a_node, float &a_angleX, float &a_angleZ, NiPoint3 &a_pos)
 
SKYRIM_REL_VR_VIRTUAL void UnequipItem (std::uint64_t a_arg1, TESBoundObject *a_object)
 
bool ActivateRef (TESObjectREFR *a_activator, uint8_t a_arg2, TESBoundObject *a_object, int32_t a_count, bool a_defaultProcessingOnly)
 
ModelReferenceEffectApplyArtObject (BGSArtObject *a_artObject, float a_duration=-1.0f, TESObjectREFR *a_facingRef=nullptr, bool a_faceTarget=false, bool a_attachToCamera=false, NiAVObject *a_attachNode=nullptr, bool a_interfaceEffect=false)
 
ShaderReferenceEffectApplyEffectShader (TESEffectShader *a_effectShader, float a_duration=-1.0f, TESObjectREFR *a_facingRef=nullptr, bool a_faceTarget=false, bool a_attachToCamera=false, NiAVObject *a_attachNode=nullptr, bool a_interfaceEffect=false)
 
bool CanBeMoved ()
 
ObjectRefHandle CreateRefHandle ()
 
void DoTrap (TrapData &a_data)
 
void DoTrap (TrapEntry *a_trap, TargetEntry *a_target)
 
NiAVObjectGet3D () const
 
NiAVObjectGet3D (bool a_firstPerson) const
 
TESNPCGetActorOwner ()
 
NiPoint3 GetAngle () const
 
float GetAngleX () const
 
float GetAngleY () const
 
float GetAngleZ () const
 
float GetBaseHeight () const
 
TESBoundObjectGetBaseObject ()
 
const TESBoundObjectGetBaseObject () const
 
const BSTSmartPointer< BipedAnim > & GetBiped () const
 
const BSTSmartPointer< BipedAnim > & GetBiped (bool a_firstPerson) const
 
std::uint16_t GetCalcLevel (bool a_adjustLevel) const
 
TESContainerGetContainer () const
 
BGSLocationGetCurrentLocation () const
 
const char * GetDisplayFullName ()
 
InventoryDropMap GetDroppedInventory ()
 
InventoryDropMap GetDroppedInventory (std::function< bool(TESBoundObject &)> a_filter)
 
BGSLocationGetEditorLocation () const
 
bool GetEditorLocation (NiPoint3 &a_outPos, NiPoint3 &a_outRot, TESForm *&a_outWorldOrCell, TESObjectCELL *a_fallback)
 
std::optional< double > GetEnchantmentCharge () const
 
TESFactionGetFactionOwner ()
 
ObjectRefHandle GetHandle ()
 
float GetHeadingAngle (const RE::NiPoint3 &a_pos, bool a_abs)
 
float GetHeight () const
 
InventoryItemMap GetInventory ()
 
InventoryItemMap GetInventory (std::function< bool(TESBoundObject &)> a_filter, bool a_noInit=false)
 
std::int32_t GetInventoryCount (bool no_init=false)
 
InventoryCountMap GetInventoryCounts ()
 
InventoryCountMap GetInventoryCounts (std::function< bool(TESBoundObject &)> a_filter, bool a_noInit=false)
 
InventoryChangesGetInventoryChanges (bool a_noInit=false)
 
TESObjectREFRGetLinkedRef (BGSKeyword *a_keyword)
 
REFR_LOCKGetLock () const
 
LOCK_LEVEL GetLockLevel () const
 
const char * GetName () const
 
NiAVObjectGetNodeByName (const BSFixedString &a_nodeName)
 
constexpr TESBoundObjectGetObjectReference () const noexcept
 
TESFormGetOwner () const
 
constexpr TESObjectCELLGetParentCell () const noexcept
 
constexpr NiPoint3 GetPosition () const noexcept
 
constexpr float GetPositionX () const noexcept
 
constexpr float GetPositionY () const noexcept
 
constexpr float GetPositionZ () const noexcept
 
float GetScale () const
 
NiControllerSequenceGetSequence (stl::zstring a_name) const
 
std::uint32_t GetStealValue (const InventoryEntryData *a_entryData, std::uint32_t a_numItems, bool a_useMult) const
 
void GetTransform (NiTransform &a_transform) const
 
float GetWaterHeight () const
 
float GetWeight () const
 
float GetWeightInContainer ()
 
TESWorldSpaceGetWorldspace () const
 
bool HasCollision () const
 
bool HasContainer () const
 
bool HasKeyword (const BGSKeyword *a_keyword) const
 
bool HasKeywordInArray (const std::vector< BGSKeyword * > &a_keywords, bool a_matchAll) const
 
bool HasKeywordInList (BGSListForm *a_keywordList, bool a_matchAll) const
 
bool HasQuestObject () const
 
void InitChildActivates (TESObjectREFR *a_actionRef)
 
bool InitInventoryIfRequired (bool a_ignoreContainerExtraData=false)
 
ModelReferenceEffectInstantiateHitArt (BGSArtObject *a_art, float a_dur, TESObjectREFR *a_facingRef, bool a_faceTarget, bool a_attachToCamera, NiAVObject *a_attachNode=nullptr, bool a_interfaceEffect=false)
 
ShaderReferenceEffectInstantiateHitShader (TESEffectShader *a_shader, float a_dur, TESObjectREFR *a_facingRef=nullptr, bool a_faceTarget=false, bool a_attachToCamera=false, NiAVObject *a_attachNode=nullptr, bool a_interfaceEffect=false)
 
bool Is3DLoaded () const
 
bool IsActivationBlocked () const
 
bool IsAnOwner (const Actor *a_testOwner, bool a_useFaction, bool a_requiresOwner) const
 
bool IsCrimeToActivate ()
 
bool IsDisabled () const
 
bool IsEnchanted () const
 
bool IsHorse () const
 
bool IsInitiallyDisabled () const
 
bool IsInWater () const
 
bool IsLocked () const
 
bool IsMarkedForDeletion () const
 
bool IsOffLimits ()
 
bool IsPersistent () const
 
float IsPointDeepUnderWater (float a_zPos, TESObjectCELL *a_cell) const
 
bool IsPointSubmergedMoreThan (const NiPoint3 &a_pos, TESObjectCELL *a_cell, float a_waterLevel) const
 
void MoveTo (TESObjectREFR *a_target)
 
bool MoveToNode (TESObjectREFR *a_target, const BSFixedString &a_nodeName)
 
bool MoveToNode (TESObjectREFR *a_target, NiAVObject *a_node)
 
NiPointer< TESObjectREFRPlaceObjectAtMe (TESBoundObject *a_baseToPlace, bool a_forcePersist) const
 
void PlayAnimation (stl::zstring a_from, stl::zstring a_to)
 
void PlayAnimation (NiControllerManager *a_manager, NiControllerSequence *a_toSeq, NiControllerSequence *a_fromSeq)
 
void SetActivationBlocked (bool a_blocked)
 
void SetCollision (bool a_enable)
 
bool SetDisplayName (const BSFixedString &a_name, bool a_force)
 
void SetEncounterZone (BGSEncounterZone *a_zone)
 
bool SetMotionType (MotionType a_motionType, bool a_allowActivate=true)
 
void SetPosition (float a_x, float a_y, float a_z)
 
void SetPosition (NiPoint3 a_pos)
 
REFERENCE_RUNTIME_DATAGetReferenceRuntimeData () noexcept
 
const REFERENCE_RUNTIME_DATAGetReferenceRuntimeData () const noexcept
 
- 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::BSHandleRefObject
 ~BSHandleRefObject () override
 
void DecRefCount ()
 
void IncRefCount ()
 
bool IsHandleValid () const
 
std::uint32_t QRefCount () const
 
- Public Member Functions inherited from RE::NiRefObject
 NiRefObject ()
 
virtual ~NiRefObject ()
 
virtual void DeleteThis ()
 
void IncRefCount ()
 
void DecRefCount ()
 
constexpr std::uint32_t GetRefCount () const noexcept
 
 TES_HEAP_REDEFINE_NEW ()
 
- Public Member Functions inherited from RE::BSTEventSink< BSAnimationGraphEvent >
virtual ~BSTEventSink ()=default
 
virtual BSEventNotifyControl ProcessEvent (const BSAnimationGraphEvent *a_event, BSTEventSource< BSAnimationGraphEvent > *a_eventSource)=0
 
- Public Member Functions inherited from RE::IAnimationGraphManagerHolder
virtual ~IAnimationGraphManagerHolder ()
 
virtual bool NotifyAnimationGraph (const BSFixedString &a_eventName)
 
virtual bool GetAnimationGraphManagerImpl (BSTSmartPointer< BSAnimationGraphManager > &a_out) const =0
 
virtual bool SetAnimationGraphManagerImpl (BSTSmartPointer< BSAnimationGraphManager > &a_in)=0
 
virtual bool PopulateGraphNodesToTarget (BSScrapArray< NiAVObject * > &a_nodes)
 
virtual bool ConstructAnimationGraph (BSTSmartPointer< BShkbAnimationGraph > &a_out)=0
 
virtual void Unk_06 (void)
 
virtual void Unk_07 (void)
 
virtual bool SetupAnimEventSinks (const BSTSmartPointer< BShkbAnimationGraph > &a_animGraph)
 
virtual void Unk_09 (void)
 
virtual bool CreateAnimationChannels (BSScrapArray< BSTSmartPointer< BSAnimationGraphChannel > > &animGraphChannels)
 
virtual void PostCreateAnimationGraphManager (BSTSmartPointer< BSAnimationGraphManager > &a_animGraphMgr)
 
virtual void Unk_0C (void)
 
virtual void PostChangeAnimationManager (const BSTSmartPointer< BShkbAnimationGraph > &a_arg1, const BSTSmartPointer< BShkbAnimationGraph > &a_arg2)
 
virtual void Unk_0E (void)
 
virtual std::uint32_t GetGraphVariableCacheSize () const
 
virtual bool GetGraphVariableImpl1 (const BSFixedString &a_variableName, float &a_out) const
 
virtual bool GetGraphVariableImpl2 (const BSFixedString &a_variableName, std::int32_t &a_out) const
 
virtual bool GetGraphVariableImpl3 (const BSFixedString &a_variableName, bool &a_out) const
 
bool GetAnimationGraphManager (BSTSmartPointer< BSAnimationGraphManager > &a_out) const
 
bool GetGraphVariableFloat (const BSFixedString &a_variableName, float &a_out) const
 
bool GetGraphVariableInt (const BSFixedString &a_variableName, std::int32_t &a_out) const
 
bool GetGraphVariableBool (const BSFixedString &a_variableName, bool &a_out) const
 
bool GetGraphVariableNiPoint3 (const BSFixedString &a_variableName, NiPoint3 &a_out) const
 
bool SetAnimationGraphManager (BSTSmartPointer< BSAnimationGraphManager > &a_in)
 
bool SetGraphVariableBool (const BSFixedString &a_variableName, bool a_in)
 
bool SetGraphVariableInt (const BSFixedString &a_variableName, std::int32_t a_in)
 
bool SetGraphVariableFloat (const BSFixedString &a_variableName, float a_in)
 
bool SetGraphVariableNiPoint3 (const BSFixedString &a_variableName, NiPoint3 &a_in) const
 
bool UpdateAnimationGraphManager (const BSAnimationUpdateData &a_updateData)
 

Static Public Member Functions

static NiPointer< TESObjectREFRLookupByHandle (RefHandle a_refHandle)
 
static bool LookupByHandle (RefHandle a_refHandle, NiPointer< TESObjectREFR > &a_refrOut)
 
static TESObjectREFRFindReferenceFor3D (NiAVObject *a_object3D)
 
- 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)
 
- Static Public Member Functions inherited from RE::NiRefObject
static volatile std::uint32_t * GetTotalObjectCount ()
 

Public Attributes

OBJ_REFR data
 
TESObjectCELLparentCell
 
LOADED_REF_DATAloadedData
 
ExtraDataList extraList
 
- 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::NiRefObject
volatile std::uint32_t _refCount { 0 }
 
std::uint32_t _pad0C { 0 }
 

Static Public Attributes

static constexpr auto RTTI = RTTI_TESObjectREFR
 
static constexpr auto VTABLE = VTABLE_TESObjectREFR
 
static constexpr auto FORMTYPE = FormType::Reference
 
static constexpr auto DEFAULT_INVENTORY_FILTER = [](TESBoundObject&) { return true; }
 
- 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::BSHandleRefObject
static constexpr auto RTTI = RTTI_BSHandleRefObject
 
- Static Public Attributes inherited from RE::NiRefObject
static constexpr auto RTTI = RTTI_NiRefObject
 
- Static Public Attributes inherited from RE::IAnimationGraphManagerHolder
static constexpr auto RTTI = RTTI_IAnimationGraphManagerHolder
 

Member Typedef Documentation

◆ Count

using RE::TESObjectREFR::Count = std::int32_t

◆ InventoryCountMap

◆ InventoryDropMap

using RE::TESObjectREFR::InventoryDropMap = std::map<TESBoundObject*, std::pair<Count, std::vector<ObjectRefHandle> >>

◆ InventoryItemMap

using RE::TESObjectREFR::InventoryItemMap = std::map<TESBoundObject*, std::pair<Count, std::unique_ptr<InventoryEntryData> >>

Member Enumeration Documentation

◆ MotionType

enum class RE::TESObjectREFR::MotionType
strong
Enumerator
kDynamic 
kSphereInertia 
kBoxInertia 
kKeyframed 
kFixed 
kThinBoxInertia 
kCharacter 

Constructor & Destructor Documentation

◆ ~TESObjectREFR()

RE::TESObjectREFR::~TESObjectREFR ( )
override

Member Function Documentation

◆ ActivateRef()

bool RE::TESObjectREFR::ActivateRef ( TESObjectREFR a_activator,
uint8_t  a_arg2,
TESBoundObject a_object,
int32_t  a_count,
bool  a_defaultProcessingOnly 
)

◆ AddObjectToContainer()

virtual void RE::TESObjectREFR::AddObjectToContainer ( TESBoundObject a_object,
ExtraDataList a_extraList,
std::int32_t  a_count,
TESObjectREFR a_fromRefr 
)
virtual

Reimplemented in RE::Actor.

◆ AddWornItem()

virtual bool RE::TESObjectREFR::AddWornItem ( TESBoundObject a_item,
std::int32_t  a_count,
bool  a_forceEquip,
std::uint32_t  a_arg4,
std::uint32_t  a_arg5 
)
virtual

Reimplemented in RE::Actor.

◆ ApplyArtObject()

ModelReferenceEffect * RE::TESObjectREFR::ApplyArtObject ( BGSArtObject a_artObject,
float  a_duration = -1.0f,
TESObjectREFR a_facingRef = nullptr,
bool  a_faceTarget = false,
bool  a_attachToCamera = false,
NiAVObject a_attachNode = nullptr,
bool  a_interfaceEffect = false 
)

◆ ApplyCurrent()

SKYRIM_REL_VR_VIRTUAL bool RE::TESObjectREFR::ApplyCurrent ( float  a_velocityTime,
const hkVector4 a_velocity 
)

◆ ApplyEffectShader()

ShaderReferenceEffect * RE::TESObjectREFR::ApplyEffectShader ( TESEffectShader a_effectShader,
float  a_duration = -1.0f,
TESObjectREFR a_facingRef = nullptr,
bool  a_faceTarget = false,
bool  a_attachToCamera = false,
NiAVObject a_attachNode = nullptr,
bool  a_interfaceEffect = false 
)

◆ AsExplosion()

SKYRIM_REL_VR_VIRTUAL Explosion * RE::TESObjectREFR::AsExplosion ( )

◆ AsProjectile()

SKYRIM_REL_VR_VIRTUAL Projectile * RE::TESObjectREFR::AsProjectile ( )

◆ AsReference1()

TESObjectREFR * RE::TESObjectREFR::AsReference1 ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ AsReference2()

const TESObjectREFR * RE::TESObjectREFR::AsReference2 ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ BelongsInGroup()

bool RE::TESObjectREFR::BelongsInGroup ( FORM a_form,
bool  a_allowParentGroups,
bool  a_currentOnly 
)
overridevirtual

Reimplemented from RE::TESForm.

◆ CanBeMoved()

bool RE::TESObjectREFR::CanBeMoved ( )

◆ CheckAndFixSkinAndBoneOrder()

virtual bool RE::TESObjectREFR::CheckAndFixSkinAndBoneOrder ( NiNode a_nodeToTest)
virtual

◆ CheckForCurrentAliasPackage()

virtual TESPackage * RE::TESObjectREFR::CheckForCurrentAliasPackage ( )
virtual

Reimplemented in RE::Actor.

◆ CheckSaveGame()

bool RE::TESObjectREFR::CheckSaveGame ( BGSSaveFormBuffer *  a_buf)
overridevirtual

Reimplemented from RE::TESForm.

◆ ClampToGround()

virtual bool RE::TESObjectREFR::ClampToGround ( )
virtual

◆ ClearData()

void RE::TESObjectREFR::ClearData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ ConstructAnimationGraph()

bool RE::TESObjectREFR::ConstructAnimationGraph ( BSTSmartPointer< BShkbAnimationGraph > &  a_out)
overridevirtual

◆ CreateAnimNoteReceiver()

SKYRIM_REL_VR_VIRTUAL BSAnimNoteReceiver * RE::TESObjectREFR::CreateAnimNoteReceiver ( )

◆ CreateDuplicateForm()

TESForm * RE::TESObjectREFR::CreateDuplicateForm ( bool  a_createEditorID,
void *  a_arg2 
)
overridevirtual

Reimplemented from RE::TESForm.

◆ CreateGroupData()

void RE::TESObjectREFR::CreateGroupData ( FORM a_form,
FORM_GROUP a_group 
)
overridevirtual

Reimplemented from RE::TESForm.

◆ CreateRefHandle()

ObjectRefHandle RE::TESObjectREFR::CreateRefHandle ( )

◆ DamageObject()

virtual void RE::TESObjectREFR::DamageObject ( float  a_objectHealth,
bool  a_arg3 
)
virtual

◆ DetachHavok()

virtual bool RE::TESObjectREFR::DetachHavok ( NiAVObject a_obj3D)
virtual

Reimplemented in RE::Actor, and RE::Projectile.

◆ Disable()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::Disable ( )

◆ DoMoveToHigh()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::DoMoveToHigh ( )

◆ DoTrap() [1/2]

void RE::TESObjectREFR::DoTrap ( TrapData &  a_data)

◆ DoTrap() [2/2]

void RE::TESObjectREFR::DoTrap ( TrapEntry *  a_trap,
TargetEntry *  a_target 
)

◆ DoTrap1()

virtual void RE::TESObjectREFR::DoTrap1 ( TrapData &  a_data)
virtual

Reimplemented in RE::Actor.

◆ DoTrap2()

virtual void RE::TESObjectREFR::DoTrap2 ( TrapEntry *  a_trap,
TargetEntry *  a_target 
)
virtual

Reimplemented in RE::Actor.

◆ FindReferenceFor3D()

static TESObjectREFR * RE::TESObjectREFR::FindReferenceFor3D ( NiAVObject a_object3D)
static

◆ FinishLoadGame()

void RE::TESObjectREFR::FinishLoadGame ( BGSLoadFormBuffer a_buf)
overridevirtual

Reimplemented from RE::TESForm.

◆ ForceEditorLocation()

virtual void RE::TESObjectREFR::ForceEditorLocation ( BGSLocation a_location)
virtual

Reimplemented in RE::Actor.

◆ Get3D() [1/2]

NiAVObject * RE::TESObjectREFR::Get3D ( ) const

◆ Get3D() [2/2]

NiAVObject * RE::TESObjectREFR::Get3D ( bool  a_firstPerson) const

◆ Get3D1()

virtual NiAVObject * RE::TESObjectREFR::Get3D1 ( bool  a_firstPerson) const
virtual

◆ Get3D2()

virtual NiAVObject * RE::TESObjectREFR::Get3D2 ( ) const
virtual

◆ GetActorCause()

virtual ActorCause * RE::TESObjectREFR::GetActorCause ( ) const
virtual

Reimplemented in RE::Explosion, and RE::Projectile.

◆ GetActorOwner()

TESNPC * RE::TESObjectREFR::GetActorOwner ( )

◆ GetAllowPromoteToPersistent()

virtual bool RE::TESObjectREFR::GetAllowPromoteToPersistent ( ) const
virtual

Reimplemented in RE::Projectile.

◆ GetAngle()

NiPoint3 RE::TESObjectREFR::GetAngle ( ) const

◆ GetAngleX()

float RE::TESObjectREFR::GetAngleX ( ) const

◆ GetAngleY()

float RE::TESObjectREFR::GetAngleY ( ) const

◆ GetAngleZ()

float RE::TESObjectREFR::GetAngleZ ( ) const

◆ GetAnimationGraphManagerImpl()

bool RE::TESObjectREFR::GetAnimationGraphManagerImpl ( BSTSmartPointer< BSAnimationGraphManager > &  a_out) const
overridevirtual

◆ GetAnimNoteReceiver()

SKYRIM_REL_VR_VIRTUAL BSAnimNoteReceiver * RE::TESObjectREFR::GetAnimNoteReceiver ( )

◆ GetBaseHeight()

float RE::TESObjectREFR::GetBaseHeight ( ) const

◆ GetBaseObject() [1/2]

TESBoundObject * RE::TESObjectREFR::GetBaseObject ( )

◆ GetBaseObject() [2/2]

const TESBoundObject * RE::TESObjectREFR::GetBaseObject ( ) const

◆ GetBiped() [1/2]

const BSTSmartPointer< BipedAnim > & RE::TESObjectREFR::GetBiped ( ) const

◆ GetBiped() [2/2]

const BSTSmartPointer< BipedAnim > & RE::TESObjectREFR::GetBiped ( bool  a_firstPerson) const

◆ GetBiped1()

virtual const BSTSmartPointer< BipedAnim > & RE::TESObjectREFR::GetBiped1 ( bool  a_firstPerson) const
virtual

◆ GetBiped2()

virtual const BSTSmartPointer< BipedAnim > & RE::TESObjectREFR::GetBiped2 ( ) const
virtual

◆ GetBoundMax()

virtual NiPoint3 RE::TESObjectREFR::GetBoundMax ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetBoundMin()

virtual NiPoint3 RE::TESObjectREFR::GetBoundMin ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetCalcLevel()

std::uint16_t RE::TESObjectREFR::GetCalcLevel ( bool  a_adjustLevel) const

◆ GetContainer()

TESContainer * RE::TESObjectREFR::GetContainer ( ) const

◆ GetCurrent3D()

SKYRIM_REL_VR_VIRTUAL NiAVObject * RE::TESObjectREFR::GetCurrent3D ( ) const

◆ GetCurrentAmmo()

SKYRIM_REL_VR_VIRTUAL TESAmmo * RE::TESObjectREFR::GetCurrentAmmo ( ) const

◆ GetCurrentBiped()

virtual const BSTSmartPointer< BipedAnim > & RE::TESObjectREFR::GetCurrentBiped ( ) const
virtual

◆ GetCurrentLocation()

BGSLocation * RE::TESObjectREFR::GetCurrentLocation ( ) const

◆ GetCurrentScene()

virtual BGSScene * RE::TESObjectREFR::GetCurrentScene ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetDangerous()

bool RE::TESObjectREFR::GetDangerous ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetDecalGroup()

SKYRIM_REL_VR_VIRTUAL BGSDecalGroup * RE::TESObjectREFR::GetDecalGroup ( ) const

◆ GetDisplayFullName()

const char * RE::TESObjectREFR::GetDisplayFullName ( )

◆ GetDroppedInventory() [1/2]

InventoryDropMap RE::TESObjectREFR::GetDroppedInventory ( )

◆ GetDroppedInventory() [2/2]

InventoryDropMap RE::TESObjectREFR::GetDroppedInventory ( std::function< bool(TESBoundObject &)>  a_filter)

◆ GetEditorLocation() [1/2]

BGSLocation * RE::TESObjectREFR::GetEditorLocation ( ) const

◆ GetEditorLocation() [2/2]

bool RE::TESObjectREFR::GetEditorLocation ( NiPoint3 a_outPos,
NiPoint3 a_outRot,
TESForm *&  a_outWorldOrCell,
TESObjectCELL a_fallback 
)

◆ GetEditorLocation1()

virtual BGSLocation * RE::TESObjectREFR::GetEditorLocation1 ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetEditorLocation2()

virtual bool RE::TESObjectREFR::GetEditorLocation2 ( NiPoint3 a_outPos,
NiPoint3 a_outRot,
TESForm *&  a_outWorldOrCell,
TESObjectCELL a_fallback 
)
virtual

Reimplemented in RE::Actor.

◆ GetEnchantmentCharge()

std::optional< double > RE::TESObjectREFR::GetEnchantmentCharge ( ) const

◆ GetExclusiveBranch()

virtual BGSDialogueBranch * RE::TESObjectREFR::GetExclusiveBranch ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetFaceGenAnimationData()

virtual BSFaceGenAnimationData * RE::TESObjectREFR::GetFaceGenAnimationData ( )
virtual

Reimplemented in RE::Actor, and RE::Character.

◆ GetFaceNode()

virtual BSFaceGenNiNode * RE::TESObjectREFR::GetFaceNode ( )
virtual

◆ GetFaceNodeSkinned()

virtual BSFaceGenNiNode * RE::TESObjectREFR::GetFaceNodeSkinned ( )
virtual

Reimplemented in RE::Character.

◆ GetFactionOwner()

TESFaction * RE::TESObjectREFR::GetFactionOwner ( )

◆ GetFireNode()

SKYRIM_REL_VR_VIRTUAL NiNode * RE::TESObjectREFR::GetFireNode ( )

◆ GetFormDetailedString()

void RE::TESObjectREFR::GetFormDetailedString ( char *  a_buf,
std::uint32_t  a_bufLen 
)
overridevirtual

Reimplemented from RE::TESForm.

◆ GetFormEditorID()

const char * RE::TESObjectREFR::GetFormEditorID ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetFullLODRef()

virtual bool RE::TESObjectREFR::GetFullLODRef ( ) const
virtual

◆ GetHandle()

ObjectRefHandle RE::TESObjectREFR::GetHandle ( )

◆ GetHeadingAngle()

float RE::TESObjectREFR::GetHeadingAngle ( const RE::NiPoint3 a_pos,
bool  a_abs 
)

◆ GetHeight()

float RE::TESObjectREFR::GetHeight ( ) const

◆ GetIgnoredBySandbox()

bool RE::TESObjectREFR::GetIgnoredBySandbox ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetInventory() [1/2]

InventoryItemMap RE::TESObjectREFR::GetInventory ( )

◆ GetInventory() [2/2]

InventoryItemMap RE::TESObjectREFR::GetInventory ( std::function< bool(TESBoundObject &)>  a_filter,
bool  a_noInit = false 
)

◆ GetInventoryChanges()

InventoryChanges * RE::TESObjectREFR::GetInventoryChanges ( bool  a_noInit = false)

◆ GetInventoryCount()

std::int32_t RE::TESObjectREFR::GetInventoryCount ( bool  no_init = false)

◆ GetInventoryCounts() [1/2]

InventoryCountMap RE::TESObjectREFR::GetInventoryCounts ( )

◆ GetInventoryCounts() [2/2]

InventoryCountMap RE::TESObjectREFR::GetInventoryCounts ( std::function< bool(TESBoundObject &)>  a_filter,
bool  a_noInit = false 
)

◆ GetLinearVelocity()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::GetLinearVelocity ( NiPoint3 a_velocity) const

◆ GetLinkedRef()

TESObjectREFR * RE::TESObjectREFR::GetLinkedRef ( BGSKeyword a_keyword)

◆ GetLock()

REFR_LOCK * RE::TESObjectREFR::GetLock ( ) const

◆ GetLockLevel()

LOCK_LEVEL RE::TESObjectREFR::GetLockLevel ( ) const

◆ GetLookingAtLocation()

virtual NiPoint3 RE::TESObjectREFR::GetLookingAtLocation ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetMagicCaster()

virtual MagicCaster * RE::TESObjectREFR::GetMagicCaster ( MagicSystem::CastingSource  a_source)
virtual

Reimplemented in RE::Actor, RE::Explosion, and RE::Projectile.

◆ GetMagicTarget()

virtual MagicTarget * RE::TESObjectREFR::GetMagicTarget ( )
virtual

Reimplemented in RE::Actor.

◆ GetMustUpdate()

bool RE::TESObjectREFR::GetMustUpdate ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetName()

const char * RE::TESObjectREFR::GetName ( ) const

◆ GetNodeByName()

NiAVObject * RE::TESObjectREFR::GetNodeByName ( const BSFixedString a_nodeName)

◆ GetObjectReference()

constexpr TESBoundObject * RE::TESObjectREFR::GetObjectReference ( ) const
inlineconstexprnoexcept

◆ GetObstacle()

bool RE::TESObjectREFR::GetObstacle ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetOnLocalMap()

bool RE::TESObjectREFR::GetOnLocalMap ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetOwner()

TESForm * RE::TESObjectREFR::GetOwner ( ) const

◆ GetParentCell()

constexpr TESObjectCELL * RE::TESObjectREFR::GetParentCell ( ) const
inlineconstexprnoexcept

◆ GetPosition()

constexpr NiPoint3 RE::TESObjectREFR::GetPosition ( ) const
inlineconstexprnoexcept

◆ GetPositionX()

constexpr float RE::TESObjectREFR::GetPositionX ( ) const
inlineconstexprnoexcept

◆ GetPositionY()

constexpr float RE::TESObjectREFR::GetPositionY ( ) const
inlineconstexprnoexcept

◆ GetPositionZ()

constexpr float RE::TESObjectREFR::GetPositionZ ( ) const
inlineconstexprnoexcept

◆ GetRandomAnim()

bool RE::TESObjectREFR::GetRandomAnim ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetReferenceRuntimeData() [1/2]

const REFERENCE_RUNTIME_DATA & RE::TESObjectREFR::GetReferenceRuntimeData ( ) const
inlinenoexcept

◆ GetReferenceRuntimeData() [2/2]

REFERENCE_RUNTIME_DATA & RE::TESObjectREFR::GetReferenceRuntimeData ( )
inlinenoexcept

◆ GetSavedFormType()

FormType RE::TESObjectREFR::GetSavedFormType ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ GetSaveParentCell()

SKYRIM_REL_VR_VIRTUAL TESObjectCELL * RE::TESObjectREFR::GetSaveParentCell ( ) const

◆ GetScale()

float RE::TESObjectREFR::GetScale ( ) const

◆ GetSequence()

NiControllerSequence * RE::TESObjectREFR::GetSequence ( stl::zstring  a_name) const

◆ GetSequencer()

virtual BGSAnimationSequencer * RE::TESObjectREFR::GetSequencer ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetStartingAngle()

virtual NiPoint3 RE::TESObjectREFR::GetStartingAngle ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetStartingLocation()

virtual NiPoint3 RE::TESObjectREFR::GetStartingLocation ( ) const
virtual

Reimplemented in RE::Actor.

◆ GetStealValue()

std::uint32_t RE::TESObjectREFR::GetStealValue ( const InventoryEntryData a_entryData,
std::uint32_t  a_numItems,
bool  a_useMult 
) const

◆ GetTemplateActorBase()

virtual TESActorBase * RE::TESObjectREFR::GetTemplateActorBase ( )
virtual

◆ GetTransform()

void RE::TESObjectREFR::GetTransform ( NiTransform a_transform) const

◆ GetWaterHeight()

float RE::TESObjectREFR::GetWaterHeight ( ) const

◆ GetWeight()

float RE::TESObjectREFR::GetWeight ( ) const

◆ GetWeightInContainer()

float RE::TESObjectREFR::GetWeightInContainer ( )

◆ GetWorldspace()

TESWorldSpace * RE::TESObjectREFR::GetWorldspace ( ) const

◆ HasCollision()

bool RE::TESObjectREFR::HasCollision ( ) const

◆ HasContainer()

bool RE::TESObjectREFR::HasContainer ( ) const

◆ HasKeyword()

bool RE::TESObjectREFR::HasKeyword ( const BGSKeyword a_keyword) const

◆ HasKeywordHelper()

virtual bool RE::TESObjectREFR::HasKeywordHelper ( const BGSKeyword a_keyword) const
virtual

Reimplemented in RE::Actor, and RE::Projectile.

◆ HasKeywordInArray()

bool RE::TESObjectREFR::HasKeywordInArray ( const std::vector< BGSKeyword * > &  a_keywords,
bool  a_matchAll 
) const

◆ HasKeywordInList()

bool RE::TESObjectREFR::HasKeywordInList ( BGSListForm a_keywordList,
bool  a_matchAll 
) const

◆ HasQuestObject()

bool RE::TESObjectREFR::HasQuestObject ( ) const

◆ InitChildActivates()

void RE::TESObjectREFR::InitChildActivates ( TESObjectREFR a_actionRef)

◆ InitHavok()

virtual void RE::TESObjectREFR::InitHavok ( )
virtual

◆ InitializeData()

void RE::TESObjectREFR::InitializeData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ InitInventoryIfRequired()

bool RE::TESObjectREFR::InitInventoryIfRequired ( bool  a_ignoreContainerExtraData = false)

◆ InitItemImpl()

void RE::TESObjectREFR::InitItemImpl ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ InitLoadGame()

void RE::TESObjectREFR::InitLoadGame ( BGSLoadFormBuffer a_buf)
overridevirtual

Reimplemented from RE::TESForm.

◆ InitNonNPCAnimation()

virtual bool RE::TESObjectREFR::InitNonNPCAnimation ( NiNode a_nodeForAnim)
virtual

◆ InstantiateHitArt()

ModelReferenceEffect * RE::TESObjectREFR::InstantiateHitArt ( BGSArtObject a_art,
float  a_dur,
TESObjectREFR a_facingRef,
bool  a_faceTarget,
bool  a_attachToCamera,
NiAVObject a_attachNode = nullptr,
bool  a_interfaceEffect = false 
)

◆ InstantiateHitShader()

ShaderReferenceEffect * RE::TESObjectREFR::InstantiateHitShader ( TESEffectShader a_shader,
float  a_dur,
TESObjectREFR a_facingRef = nullptr,
bool  a_faceTarget = false,
bool  a_attachToCamera = false,
NiAVObject a_attachNode = nullptr,
bool  a_interfaceEffect = false 
)

◆ Is3DLoaded()

bool RE::TESObjectREFR::Is3DLoaded ( ) const

◆ Is3rdPersonVisible()

virtual bool RE::TESObjectREFR::Is3rdPersonVisible ( ) const
virtual

◆ IsActivationBlocked()

bool RE::TESObjectREFR::IsActivationBlocked ( ) const

◆ IsAnOwner()

bool RE::TESObjectREFR::IsAnOwner ( const Actor a_testOwner,
bool  a_useFaction,
bool  a_requiresOwner 
) const

◆ IsChild()

virtual bool RE::TESObjectREFR::IsChild ( ) const
virtual

Reimplemented in RE::Actor, and RE::Character.

◆ IsCrimeToActivate()

bool RE::TESObjectREFR::IsCrimeToActivate ( )

◆ IsDead()

SKYRIM_REL_VR_VIRTUAL bool RE::TESObjectREFR::IsDead ( bool  a_notEssential = true) const

◆ IsDisabled()

bool RE::TESObjectREFR::IsDisabled ( ) const

◆ IsEnchanted()

bool RE::TESObjectREFR::IsEnchanted ( ) const

◆ IsHeadingMarker()

bool RE::TESObjectREFR::IsHeadingMarker ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ IsHorse()

bool RE::TESObjectREFR::IsHorse ( ) const

◆ IsInitiallyDisabled()

bool RE::TESObjectREFR::IsInitiallyDisabled ( ) const

◆ IsInWater()

bool RE::TESObjectREFR::IsInWater ( ) const

◆ IsLocked()

bool RE::TESObjectREFR::IsLocked ( ) const

◆ IsMarkedForDeletion()

bool RE::TESObjectREFR::IsMarkedForDeletion ( ) const

◆ IsOffLimits()

bool RE::TESObjectREFR::IsOffLimits ( )

◆ IsPersistent()

bool RE::TESObjectREFR::IsPersistent ( ) const

◆ IsPointDeepUnderWater()

float RE::TESObjectREFR::IsPointDeepUnderWater ( float  a_zPos,
TESObjectCELL a_cell 
) const

◆ IsPointSubmergedMoreThan()

bool RE::TESObjectREFR::IsPointSubmergedMoreThan ( const NiPoint3 a_pos,
TESObjectCELL a_cell,
float  a_waterLevel 
) const

◆ IsWater()

bool RE::TESObjectREFR::IsWater ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ Load()

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

Reimplemented from RE::TESForm.

◆ Load3D()

virtual NiAVObject * RE::TESObjectREFR::Load3D ( bool  a_backgroundLoading)
virtual

◆ LoadGame()

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

Reimplemented from RE::TESForm.

◆ LookupByHandle() [1/2]

static NiPointer< TESObjectREFR > RE::TESObjectREFR::LookupByHandle ( RefHandle  a_refHandle)
static

◆ LookupByHandle() [2/2]

static bool RE::TESObjectREFR::LookupByHandle ( RefHandle  a_refHandle,
NiPointer< TESObjectREFR > &  a_refrOut 
)
static

◆ ModifyAnimationUpdateData()

virtual void RE::TESObjectREFR::ModifyAnimationUpdateData ( BSAnimationUpdateData a_data)
virtual

Reimplemented in RE::Actor.

◆ MoveHavok()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::MoveHavok ( bool  a_forceRec)

◆ MoveTo()

void RE::TESObjectREFR::MoveTo ( TESObjectREFR a_target)

◆ MoveToNode() [1/2]

bool RE::TESObjectREFR::MoveToNode ( TESObjectREFR a_target,
const BSFixedString a_nodeName 
)

◆ MoveToNode() [2/2]

bool RE::TESObjectREFR::MoveToNode ( TESObjectREFR a_target,
NiAVObject a_node 
)

◆ OnAddCellPerformQueueReference()

SKYRIM_REL_VR_VIRTUAL bool RE::TESObjectREFR::OnAddCellPerformQueueReference ( TESObjectCELL a_cell) const

◆ PauseCurrentDialogue()

virtual void RE::TESObjectREFR::PauseCurrentDialogue ( )
virtual

Reimplemented in RE::Actor.

◆ PlaceObjectAtMe()

NiPointer< TESObjectREFR > RE::TESObjectREFR::PlaceObjectAtMe ( TESBoundObject a_baseToPlace,
bool  a_forcePersist 
) const

◆ PlayAnimation() [1/2]

void RE::TESObjectREFR::PlayAnimation ( NiControllerManager a_manager,
NiControllerSequence a_toSeq,
NiControllerSequence a_fromSeq 
)

◆ PlayAnimation() [2/2]

void RE::TESObjectREFR::PlayAnimation ( stl::zstring  a_from,
stl::zstring  a_to 
)

◆ PopulateGraphNodesToTarget()

bool RE::TESObjectREFR::PopulateGraphNodesToTarget ( BSScrapArray< NiAVObject * > &  a_nodes)
overridevirtual

Reimplemented from RE::IAnimationGraphManagerHolder.

◆ PopulateGraphProjectsToLoad()

virtual bool RE::TESObjectREFR::PopulateGraphProjectsToLoad ( void  ) const
virtual

Reimplemented in RE::Actor.

◆ PostChangeAnimationManager()

void RE::TESObjectREFR::PostChangeAnimationManager ( const BSTSmartPointer< BShkbAnimationGraph > &  a_arg1,
const BSTSmartPointer< BShkbAnimationGraph > &  a_arg2 
)
overridevirtual

Reimplemented from RE::IAnimationGraphManagerHolder.

◆ Predestroy()

virtual void RE::TESObjectREFR::Predestroy ( )
virtual

Reimplemented in RE::Actor, and RE::Character.

◆ ProcessEvent()

BSEventNotifyControl RE::TESObjectREFR::ProcessEvent ( const BSAnimationGraphEvent a_event,
BSTEventSource< BSAnimationGraphEvent > *  a_dispatcher 
)
overridevirtual

◆ ProcessInWater()

SKYRIM_REL_VR_VIRTUAL bool RE::TESObjectREFR::ProcessInWater ( hkpCollidable a_collidable,
float  a_waterHeight,
float  a_deltaTime 
)

◆ QCanUpdateSync()

virtual bool RE::TESObjectREFR::QCanUpdateSync ( ) const
virtual

◆ Release3DRelatedData()

virtual void RE::TESObjectREFR::Release3DRelatedData ( )
virtual

Reimplemented in RE::Explosion, and RE::Hazard.

◆ RemoveItem()

virtual ObjectRefHandle RE::TESObjectREFR::RemoveItem ( TESBoundObject a_item,
std::int32_t  a_count,
ITEM_REMOVE_REASON  a_reason,
ExtraDataList a_extraList,
TESObjectREFR a_moveToRef,
const NiPoint3 a_dropLoc = 0,
const NiPoint3 a_rotate = 0 
)
virtual

Reimplemented in RE::Actor.

◆ RemoveWeapon()

virtual void RE::TESObjectREFR::RemoveWeapon ( BIPED_OBJECT  equipIndex)
virtual

Reimplemented in RE::Actor, and RE::PlayerCharacter.

◆ ResetInventory()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::ResetInventory ( bool  a_leveledOnly)

◆ Revert()

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

Reimplemented from RE::TESForm.

◆ SaveGame()

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

Reimplemented from RE::TESForm.

◆ Set3D()

virtual void RE::TESObjectREFR::Set3D ( NiAVObject a_object,
bool  a_queue3DTasks = true 
)
virtual

Reimplemented in RE::Actor, and RE::Projectile.

◆ SetActionComplete()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::SetActionComplete ( bool  a_set)

◆ SetActivationBlocked()

void RE::TESObjectREFR::SetActivationBlocked ( bool  a_blocked)

◆ SetActorCause()

virtual void RE::TESObjectREFR::SetActorCause ( ActorCause a_cause)
virtual

Reimplemented in RE::Explosion, RE::Hazard, and RE::Projectile.

◆ SetAltered()

void RE::TESObjectREFR::SetAltered ( bool  a_set)
overridevirtual

Reimplemented from RE::TESForm.

◆ SetAnimationGraphManagerImpl()

bool RE::TESObjectREFR::SetAnimationGraphManagerImpl ( BSTSmartPointer< BSAnimationGraphManager > &  a_in)
overridevirtual

◆ SetBiped()

virtual void RE::TESObjectREFR::SetBiped ( const BSTSmartPointer< BipedAnim > &  a_biped)
virtual

Reimplemented in RE::Character.

◆ SetCollision()

void RE::TESObjectREFR::SetCollision ( bool  a_enable)

◆ SetCurrentScene()

virtual void RE::TESObjectREFR::SetCurrentScene ( BGSScene a_scene)
virtual

Reimplemented in RE::Actor.

◆ SetDelete()

void RE::TESObjectREFR::SetDelete ( bool  a_set)
overridevirtual

Reimplemented from RE::TESForm.

◆ SetDialogueWithPlayer()

virtual bool RE::TESObjectREFR::SetDialogueWithPlayer ( bool  a_flag,
bool  a_forceGreet,
TESTopicInfo a_topic 
)
virtual

Reimplemented in RE::Actor.

◆ SetDisplayName()

bool RE::TESObjectREFR::SetDisplayName ( const BSFixedString a_name,
bool  a_force 
)

◆ SetEncounterZone()

void RE::TESObjectREFR::SetEncounterZone ( BGSEncounterZone a_zone)

◆ SetExclusiveBranch()

virtual void RE::TESObjectREFR::SetExclusiveBranch ( BGSDialogueBranch a_branch)
virtual

Reimplemented in RE::Actor.

◆ SetFireNode()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::SetFireNode ( NiNode a_fireNode)

◆ SetFullLODRef()

virtual void RE::TESObjectREFR::SetFullLODRef ( bool  a_set)
virtual

◆ SetMotionType()

bool RE::TESObjectREFR::SetMotionType ( MotionType  a_motionType,
bool  a_allowActivate = true 
)

◆ SetMovementComplete()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::SetMovementComplete ( bool  a_set)

◆ SetObjectReference()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::SetObjectReference ( TESBoundObject a_object)

◆ SetOnLocalMap()

void RE::TESObjectREFR::SetOnLocalMap ( bool  a_set)
overridevirtual

Reimplemented from RE::TESForm.

◆ SetParentCell()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::SetParentCell ( TESObjectCELL a_cell)

◆ SetPosition() [1/2]

void RE::TESObjectREFR::SetPosition ( float  a_x,
float  a_y,
float  a_z 
)

◆ SetPosition() [2/2]

void RE::TESObjectREFR::SetPosition ( NiPoint3  a_pos)

◆ SetStartingPosition()

virtual void RE::TESObjectREFR::SetStartingPosition ( const NiPoint3 a_pos)
virtual

◆ SetTemplateActorBase()

virtual void RE::TESObjectREFR::SetTemplateActorBase ( TESActorBase a_template)
virtual

◆ SetupAnimEventSinks()

bool RE::TESObjectREFR::SetupAnimEventSinks ( const BSTSmartPointer< BShkbAnimationGraph > &  a_animGraph)
overridevirtual

Reimplemented from RE::IAnimationGraphManagerHolder.

◆ ShouldBackgroundClone()

virtual bool RE::TESObjectREFR::ShouldBackgroundClone ( ) const
virtual

◆ ShouldPerformRevert()

virtual bool RE::TESObjectREFR::ShouldPerformRevert ( ) const
virtual

Reimplemented in RE::Actor.

◆ ShouldSaveAnimationOnSaving()

virtual bool RE::TESObjectREFR::ShouldSaveAnimationOnSaving ( ) const
virtual

Reimplemented in RE::Actor.

◆ ShouldSaveAnimationOnUnloading()

virtual bool RE::TESObjectREFR::ShouldSaveAnimationOnUnloading ( ) const
virtual

Reimplemented in RE::Actor.

◆ TryChangeSkyCellActorsProcessLevel()

SKYRIM_REL_VR_VIRTUAL bool RE::TESObjectREFR::TryChangeSkyCellActorsProcessLevel ( )

◆ TryMoveToMiddleLow()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::TryMoveToMiddleLow ( )

◆ TryUpdateActorLastSeenTime()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::TryUpdateActorLastSeenTime ( )

◆ UnequipItem()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::UnequipItem ( std::uint64_t  a_arg1,
TESBoundObject a_object 
)

◆ Unk_67()

virtual void RE::TESObjectREFR::Unk_67 ( void  )
virtual

Reimplemented in RE::Actor.

◆ Unk_68()

virtual void RE::TESObjectREFR::Unk_68 ( void  )
virtual

Reimplemented in RE::Actor.

◆ Unk_69()

virtual void RE::TESObjectREFR::Unk_69 ( void  )
virtual

Reimplemented in RE::Actor.

◆ Unk_6E()

virtual void RE::TESObjectREFR::Unk_6E ( void  )
virtual

◆ Unk_75()

virtual void RE::TESObjectREFR::Unk_75 ( void  )
virtual

Reimplemented in RE::Actor.

◆ Unk_78()

virtual void RE::TESObjectREFR::Unk_78 ( void  )
virtual

Reimplemented in RE::Actor.

◆ Unk_83()

virtual void RE::TESObjectREFR::Unk_83 ( void  )
virtual

◆ Unk_84()

virtual void RE::TESObjectREFR::Unk_84 ( void  )
virtual

◆ Unk_94()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::Unk_94 ( void  )

◆ Unk_96()

SKYRIM_REL_VR_VIRTUAL void RE::TESObjectREFR::Unk_96 ( void  )

◆ Unk_A0()

SKYRIM_REL_VR_VIRTUAL bool RE::TESObjectREFR::Unk_A0 ( NiAVObject a_node,
float &  a_angleX,
float &  a_angleZ,
NiPoint3 a_pos 
)

◆ Update3DPosition()

virtual void RE::TESObjectREFR::Update3DPosition ( bool  a_warp)
virtual

Reimplemented in RE::Actor.

◆ UpdateAnimation()

virtual void RE::TESObjectREFR::UpdateAnimation ( float  a_delta)
virtual

Reimplemented in RE::Actor.

◆ UpdateInDialogue()

virtual bool RE::TESObjectREFR::UpdateInDialogue ( DialogueResponse a_response,
bool  a_unused 
)
virtual

Reimplemented in RE::Actor.

◆ UpdateRefLight()

virtual void RE::TESObjectREFR::UpdateRefLight ( )
virtual

◆ UpdateSoundCallBack()

virtual void RE::TESObjectREFR::UpdateSoundCallBack ( bool  a_endSceneAction)
virtual

Reimplemented in RE::Actor.

Member Data Documentation

◆ data

OBJ_REFR RE::TESObjectREFR::data

◆ DEFAULT_INVENTORY_FILTER

constexpr auto RE::TESObjectREFR::DEFAULT_INVENTORY_FILTER = [](TESBoundObject&) { return true; }
inlinestaticconstexpr

◆ extraList

ExtraDataList RE::TESObjectREFR::extraList

◆ FORMTYPE

constexpr auto RE::TESObjectREFR::FORMTYPE = FormType::Reference
inlinestaticconstexpr

◆ loadedData

LOADED_REF_DATA* RE::TESObjectREFR::loadedData

◆ parentCell

TESObjectCELL* RE::TESObjectREFR::parentCell

◆ RTTI

constexpr auto RE::TESObjectREFR::RTTI = RTTI_TESObjectREFR
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::TESObjectREFR::VTABLE = VTABLE_TESObjectREFR
inlinestaticconstexpr

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