CommonLibVR
|
#include <TESObjectREFR.h>
Classes | |
struct | ChangeFlags |
struct | RecordFlags |
Public Types | |
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 |
TESForm * | CreateDuplicateForm (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 |
TESObjectREFR * | AsReference1 () override |
const TESObjectREFR * | AsReference2 () 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 BGSLocation * | GetEditorLocation1 () 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 BGSAnimationSequencer * | GetSequencer () const |
virtual bool | QCanUpdateSync () const |
virtual bool | GetAllowPromoteToPersistent () const |
virtual bool | HasKeywordHelper (const BGSKeyword *a_keyword) const |
virtual TESPackage * | CheckForCurrentAliasPackage () |
virtual BGSScene * | GetCurrentScene () const |
virtual void | SetCurrentScene (BGSScene *a_scene) |
virtual bool | UpdateInDialogue (DialogueResponse *a_response, bool a_unused) |
virtual BGSDialogueBranch * | GetExclusiveBranch () const |
virtual void | SetExclusiveBranch (BGSDialogueBranch *a_branch) |
virtual void | PauseCurrentDialogue () |
virtual void | SetActorCause (ActorCause *a_cause) |
virtual ActorCause * | GetActorCause () 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 MagicCaster * | GetMagicCaster (MagicSystem::CastingSource a_source) |
virtual MagicTarget * | GetMagicTarget () |
virtual bool | IsChild () const |
virtual TESActorBase * | GetTemplateActorBase () |
virtual void | SetTemplateActorBase (TESActorBase *a_template) |
virtual BSFaceGenNiNode * | GetFaceNodeSkinned () |
virtual BSFaceGenNiNode * | GetFaceNode () |
virtual BSFaceGenAnimationData * | GetFaceGenAnimationData () |
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 NiAVObject * | Load3D (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 NiAVObject * | Get3D1 (bool a_firstPerson) const |
virtual NiAVObject * | Get3D2 () 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 | SetObjectReference (TESBoundObject *a_object) |
virtual void | MoveHavok (bool a_forceRec) |
virtual void | GetLinearVelocity (NiPoint3 &a_velocity) const |
virtual void | SetActionComplete (bool a_set) |
virtual void | SetMovementComplete (bool a_set) |
virtual void | Disable () |
virtual void | ResetInventory (bool a_leveledOnly) |
virtual NiNode * | GetFireNode () |
virtual void | SetFireNode (NiNode *a_fireNode) |
virtual NiAVObject * | GetCurrent3D () const |
virtual Explosion * | AsExplosion () |
virtual Projectile * | AsProjectile () |
virtual bool | OnAddCellPerformQueueReference (TESObjectCELL &a_cell) const |
virtual void | DoMoveToHigh () |
virtual void | TryMoveToMiddleLow () |
virtual bool | TryChangeSkyCellActorsProcessLevel () |
virtual void | Unk_94 (void) |
virtual void | TryUpdateActorLastSeenTime () |
virtual void | Unk_96 (void) |
virtual TESObjectCELL * | GetSaveParentCell () const |
virtual void | SetParentCell (TESObjectCELL *a_cell) |
virtual bool | IsDead (bool a_notEssential=true) const |
virtual BSAnimNoteReceiver * | CreateAnimNoteReceiver () |
virtual BSAnimNoteReceiver * | GetAnimNoteReceiver () |
virtual bool | ProcessInWater (hkpCollidable *a_collidable, float a_waterHeight, float a_deltaTime) |
virtual bool | ApplyCurrent (float a_velocityTime, const hkVector4 &a_velocity) |
virtual TESAmmo * | GetCurrentAmmo () const |
virtual BGSDecalGroup * | GetDecalGroup () const |
virtual bool | Unk_A0 (NiAVObject *a_node, float &a_angleX, float &a_angleZ, NiPoint3 &a_pos) const |
virtual void | UnequipItem (std::uint64_t a_arg1, TESBoundObject *a_object) |
bool | ActivateRef (TESObjectREFR *a_activator, std::uint8_t a_arg2, TESBoundObject *a_object, std::int32_t a_count, bool a_defaultProcessingOnly) |
ModelReferenceEffect * | 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) |
ShaderReferenceEffect * | 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) |
bool | CanBeMoved () |
ObjectRefHandle | CreateRefHandle () |
void | DoTrap (TrapData &a_data) |
void | DoTrap (TrapEntry *a_trap, TargetEntry *a_target) |
void | Enable (bool a_resetInventory) |
NiAVObject * | Get3D () const |
NiAVObject * | Get3D (bool a_firstPerson) const |
TESNPC * | GetActorOwner () |
NiPoint3 | GetAngle () const |
float | GetAngleX () const |
float | GetAngleY () const |
float | GetAngleZ () const |
float | GetBaseHeight () const |
TESBoundObject * | GetBaseObject () |
const TESBoundObject * | GetBaseObject () const |
const BSTSmartPointer< BipedAnim > & | GetBiped () const |
const BSTSmartPointer< BipedAnim > & | GetBiped (bool a_firstPerson) const |
std::uint16_t | GetCalcLevel (bool a_adjustLevel) const |
TESContainer * | GetContainer () const |
BGSLocation * | GetCurrentLocation () const |
const char * | GetDisplayFullName () |
float | GetDistance (TESObjectREFR *a_other, bool a_disabledRefs=false, bool a_ignoreWorldspace=false) const |
InventoryDropMap | GetDroppedInventory () |
InventoryDropMap | GetDroppedInventory (std::function< bool(TESBoundObject &)> a_filter) |
BGSEncounterZone * | GetEncounterZone () const |
BGSLocation * | GetEditorLocation () const |
bool | GetEditorLocation (NiPoint3 &a_outPos, NiPoint3 &a_outRot, TESForm *&a_outWorldOrCell, TESObjectCELL *a_fallback) |
std::optional< double > | GetEnchantmentCharge () const |
TESFaction * | GetFactionOwner () |
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) |
InventoryChanges * | GetInventoryChanges (bool a_noInit=false) |
TESObjectREFR * | GetLinkedRef (BGSKeyword *a_keyword) |
REFR_LOCK * | GetLock () const |
LOCK_LEVEL | GetLockLevel () const |
const char * | GetName () const |
NiAVObject * | GetNodeByName (const BSFixedString &a_nodeName) |
constexpr TESBoundObject * | GetObjectReference () const noexcept |
TESForm * | GetOwner () const |
constexpr TESObjectCELL * | GetParentCell () 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 |
NiControllerSequence * | GetSequence (stl::zstring a_name) const |
std::uint32_t | GetStealValue (const InventoryEntryData *a_entryData, std::uint32_t a_numItems, bool a_useMult) const |
float | GetSubmergeLevel (float a_zPos, TESObjectCELL *a_cell) const |
void | GetTransform (NiTransform &a_transform) const |
float | GetWaterHeight () const |
float | GetWeight () const |
float | GetWeightInContainer () |
TESWorldSpace * | GetWorldspace () 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 | HasKeywordWithType (DEFAULT_OBJECT keywordType) const |
bool | HasQuestObject () const |
void | InitChildActivates (TESObjectREFR *a_actionRef) |
bool | InitInventoryIfRequired (bool a_ignoreContainerExtraData=false) |
bool | Is3DLoaded () const |
bool | IsActivationBlocked () const |
bool | IsAnimal () const |
bool | IsAnOwner (const Actor *a_testOwner, bool a_useFaction, bool a_requiresOwner) const |
bool | IsCrimeToActivate () |
bool | IsDisabled () const |
bool | IsDragon () const |
bool | IsEnchanted () const |
bool | IsHorse () const |
bool | IsHumanoid () const |
bool | IsInitiallyDisabled () const |
bool | IsInWater () const |
bool | IsJewelry () const |
bool | IsLocked () const |
bool | IsMarkedForDeletion () const |
bool | IsOffLimits () |
bool | IsPersistent () 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) |
bool | NameIncludes (std::string_view a_word) const |
void | OpenContainer (std::int32_t a_openType) const |
NiPointer< TESObjectREFR > | PlaceObjectAtMe (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 (hkpMotion::MotionType a_motionType, bool a_allowActivate=true) |
void | SetOwner (TESForm *a_owner) |
void | SetPosition (float a_x, float a_y, float a_z) |
void | SetPosition (NiPoint3 a_pos) |
void | SetTemporary () |
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 bool | AddChange (std::uint32_t a_changeFlags) |
virtual void | RemoveChange (std::uint32_t a_changeFlags) |
virtual bool | FindInFileFast (TESFile *a_mod) |
virtual TESFile * | GetDescriptionOwnerFile () const |
virtual bool | GetKnown () const |
virtual bool | GetPlayable () const |
virtual bool | QHasCurrents () const |
virtual bool | QIsLODLandObject () const |
virtual void | SaveObjectBound () |
virtual void | LoadObjectBound (TESFile *a_mod) |
virtual bool | IsBoundObject () const |
virtual bool | IsObject () const |
virtual bool | IsMagicItem () const |
virtual std::uint32_t | GetRefCount () const |
virtual const char * | GetTextForParsedSubTag (const BSFixedString &a_tag) const |
virtual void | Copy (TESForm *a_srcForm) |
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 |
TESObjectREFR * | AsReference () |
const TESObjectREFR * | AsReference () const |
TESFile * | GetFile (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 | GetLocalFormID () |
const char * | GetName () const |
float | GetWeight () const |
bool | HasKeywordInArray (const std::vector< BGSKeyword * > &a_keywords, bool a_matchAll) const |
bool | HasAnyKeywordByEditorID (const std::vector< std::string > &editorIDs) const |
bool | HasKeywordByEditorID (std::string_view a_editorID) |
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> | |
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 | IsInventoryObject () const |
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 | IsSkooma () const noexcept |
bool | IsSoulGem () const noexcept |
bool | IsWeapon () const noexcept |
void | SetPlayerKnows (bool a_known) |
Public Member Functions inherited from RE::BaseFormComponent | |
virtual | ~BaseFormComponent () |
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 |
Public Member Functions inherited from RE::IAnimationGraphManagerHolder | |
virtual | ~IAnimationGraphManagerHolder () |
virtual bool | NotifyAnimationGraph (const BSFixedString &a_eventName) |
virtual void | Unk_06 (void) |
virtual void | Unk_07 (void) |
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 | 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 ObjectRefHandle | CreateReference (ObjectRefHandle &a_handleOut, FormType a_formType, bool a_addActorToProcessList) |
static NiPointer< TESObjectREFR > | LookupByHandle (RefHandle a_refHandle) |
static bool | LookupByHandle (RefHandle a_refHandle, NiPointer< TESObjectREFR > &a_refrOut) |
static TESObjectREFR * | FindReferenceFor3D (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 TESForm * | LookupByID (FormID a_formID) |
template<class T > | |
static T * | LookupByID (FormID a_formID) |
static TESForm * | LookupByEditorID (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 |
TESObjectCELL * | parentCell |
LOADED_REF_DATA * | loadedData |
ExtraDataList | extraList |
std::uint64_t | unk88 |
std::uint16_t | refScale |
std::int8_t | modelState |
bool | preDestroyed |
std::uint32_t | pad94 |
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 | VTABLE = VTABLE_TESForm |
static constexpr auto | FORMTYPE = FormType::None |
Static Public Attributes inherited from RE::BaseFormComponent | |
static constexpr auto | RTTI = RTTI_BaseFormComponent |
static constexpr auto | VTABLE = VTABLE_BaseFormComponent |
Static Public Attributes inherited from RE::BSHandleRefObject | |
static constexpr auto | RTTI = RTTI_BSHandleRefObject |
static constexpr auto | VTABLE = VTABLE_BSHandleRefObject |
Static Public Attributes inherited from RE::NiRefObject | |
static constexpr auto | RTTI = RTTI_NiRefObject |
static constexpr auto | VTABLE = VTABLE_NiRefObject |
Static Public Attributes inherited from RE::IAnimationGraphManagerHolder | |
static constexpr auto | RTTI = RTTI_IAnimationGraphManagerHolder |
static constexpr auto | VTABLE = VTABLE_IAnimationGraphManagerHolder |
using RE::TESObjectREFR::Count = std::int32_t |
using RE::TESObjectREFR::InventoryCountMap = std::map<TESBoundObject*, Count> |
using RE::TESObjectREFR::InventoryDropMap = std::map<TESBoundObject*, std::pair<Count, std::vector<ObjectRefHandle> >> |
using RE::TESObjectREFR::InventoryItemMap = std::map<TESBoundObject*, std::pair<Count, std::unique_ptr<InventoryEntryData> >> |
|
override |
bool RE::TESObjectREFR::ActivateRef | ( | TESObjectREFR * | a_activator, |
std::uint8_t | a_arg2, | ||
TESBoundObject * | a_object, | ||
std::int32_t | a_count, | ||
bool | a_defaultProcessingOnly | ||
) |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
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 |
||
) |
|
virtual |
Reimplemented in RE::Actor.
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 |
||
) |
|
virtual |
Reimplemented in RE::Explosion.
|
virtual |
Reimplemented in RE::Projectile.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
bool RE::TESObjectREFR::CanBeMoved | ( | ) |
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Implements RE::IAnimationGraphManagerHolder.
|
virtual |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
static |
ObjectRefHandle RE::TESObjectREFR::CreateRefHandle | ( | ) |
|
virtual |
|
virtual |
Reimplemented in RE::Projectile, and RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
void RE::TESObjectREFR::DoTrap | ( | TrapData & | a_data | ) |
void RE::TESObjectREFR::DoTrap | ( | TrapEntry * | a_trap, |
TargetEntry * | a_target | ||
) |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
void RE::TESObjectREFR::Enable | ( | bool | a_resetInventory | ) |
|
static |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
Reimplemented in RE::Actor.
NiAVObject* RE::TESObjectREFR::Get3D | ( | ) | const |
NiAVObject* RE::TESObjectREFR::Get3D | ( | bool | a_firstPerson | ) | const |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in RE::Projectile, and RE::Explosion.
TESNPC* RE::TESObjectREFR::GetActorOwner | ( | ) |
|
virtual |
Reimplemented in RE::Projectile.
NiPoint3 RE::TESObjectREFR::GetAngle | ( | ) | const |
float RE::TESObjectREFR::GetAngleX | ( | ) | const |
float RE::TESObjectREFR::GetAngleY | ( | ) | const |
float RE::TESObjectREFR::GetAngleZ | ( | ) | const |
|
overridevirtual |
Implements RE::IAnimationGraphManagerHolder.
|
virtual |
float RE::TESObjectREFR::GetBaseHeight | ( | ) | const |
TESBoundObject* RE::TESObjectREFR::GetBaseObject | ( | ) |
const TESBoundObject* RE::TESObjectREFR::GetBaseObject | ( | ) | const |
const BSTSmartPointer<BipedAnim>& RE::TESObjectREFR::GetBiped | ( | ) | const |
const BSTSmartPointer<BipedAnim>& RE::TESObjectREFR::GetBiped | ( | bool | a_firstPerson | ) | const |
|
virtual |
|
virtual |
std::uint16_t RE::TESObjectREFR::GetCalcLevel | ( | bool | a_adjustLevel | ) | const |
TESContainer* RE::TESObjectREFR::GetContainer | ( | ) | const |
|
virtual |
|
virtual |
BGSLocation* RE::TESObjectREFR::GetCurrentLocation | ( | ) | const |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
Reimplemented in RE::GrenadeProjectile.
const char* RE::TESObjectREFR::GetDisplayFullName | ( | ) |
float RE::TESObjectREFR::GetDistance | ( | TESObjectREFR * | a_other, |
bool | a_disabledRefs = false , |
||
bool | a_ignoreWorldspace = false |
||
) | const |
InventoryDropMap RE::TESObjectREFR::GetDroppedInventory | ( | ) |
InventoryDropMap RE::TESObjectREFR::GetDroppedInventory | ( | std::function< bool(TESBoundObject &)> | a_filter | ) |
BGSLocation* RE::TESObjectREFR::GetEditorLocation | ( | ) | const |
bool RE::TESObjectREFR::GetEditorLocation | ( | NiPoint3 & | a_outPos, |
NiPoint3 & | a_outRot, | ||
TESForm *& | a_outWorldOrCell, | ||
TESObjectCELL * | a_fallback | ||
) |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
std::optional<double> RE::TESObjectREFR::GetEnchantmentCharge | ( | ) | const |
BGSEncounterZone* RE::TESObjectREFR::GetEncounterZone | ( | ) | const |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Character, and RE::Actor.
|
virtual |
|
virtual |
Reimplemented in RE::Character.
TESFaction* RE::TESObjectREFR::GetFactionOwner | ( | ) |
|
virtual |
Reimplemented in RE::Projectile, and RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
ObjectRefHandle RE::TESObjectREFR::GetHandle | ( | ) |
float RE::TESObjectREFR::GetHeadingAngle | ( | const RE::NiPoint3 & | a_pos, |
bool | a_abs | ||
) |
float RE::TESObjectREFR::GetHeight | ( | ) | const |
|
overridevirtual |
Reimplemented from RE::TESForm.
InventoryItemMap RE::TESObjectREFR::GetInventory | ( | ) |
InventoryItemMap RE::TESObjectREFR::GetInventory | ( | std::function< bool(TESBoundObject &)> | a_filter, |
bool | a_noInit = false |
||
) |
InventoryChanges* RE::TESObjectREFR::GetInventoryChanges | ( | bool | a_noInit = false | ) |
std::int32_t RE::TESObjectREFR::GetInventoryCount | ( | bool | no_init = false | ) |
InventoryCountMap RE::TESObjectREFR::GetInventoryCounts | ( | ) |
InventoryCountMap RE::TESObjectREFR::GetInventoryCounts | ( | std::function< bool(TESBoundObject &)> | a_filter, |
bool | a_noInit = false |
||
) |
|
virtual |
Reimplemented in RE::Projectile, and RE::Actor.
TESObjectREFR* RE::TESObjectREFR::GetLinkedRef | ( | BGSKeyword * | a_keyword | ) |
REFR_LOCK* RE::TESObjectREFR::GetLock | ( | ) | const |
LOCK_LEVEL RE::TESObjectREFR::GetLockLevel | ( | ) | const |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Projectile, RE::Explosion, and RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
const char* RE::TESObjectREFR::GetName | ( | ) | const |
NiAVObject* RE::TESObjectREFR::GetNodeByName | ( | const BSFixedString & | a_nodeName | ) |
|
inlineconstexprnoexcept |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
TESForm* RE::TESObjectREFR::GetOwner | ( | ) | const |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
float RE::TESObjectREFR::GetScale | ( | ) | const |
NiControllerSequence* RE::TESObjectREFR::GetSequence | ( | stl::zstring | a_name | ) | const |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
std::uint32_t RE::TESObjectREFR::GetStealValue | ( | const InventoryEntryData * | a_entryData, |
std::uint32_t | a_numItems, | ||
bool | a_useMult | ||
) | const |
float RE::TESObjectREFR::GetSubmergeLevel | ( | float | a_zPos, |
TESObjectCELL * | a_cell | ||
) | const |
|
virtual |
void RE::TESObjectREFR::GetTransform | ( | NiTransform & | a_transform | ) | const |
float RE::TESObjectREFR::GetWaterHeight | ( | ) | const |
float RE::TESObjectREFR::GetWeight | ( | ) | const |
float RE::TESObjectREFR::GetWeightInContainer | ( | ) |
TESWorldSpace* RE::TESObjectREFR::GetWorldspace | ( | ) | const |
bool RE::TESObjectREFR::HasCollision | ( | ) | const |
bool RE::TESObjectREFR::HasContainer | ( | ) | const |
bool RE::TESObjectREFR::HasKeyword | ( | const BGSKeyword * | a_keyword | ) | const |
|
virtual |
Reimplemented in RE::Projectile, and RE::Actor.
bool RE::TESObjectREFR::HasKeywordInArray | ( | const std::vector< BGSKeyword * > & | a_keywords, |
bool | a_matchAll | ||
) | const |
bool RE::TESObjectREFR::HasKeywordInList | ( | BGSListForm * | a_keywordList, |
bool | a_matchAll | ||
) | const |
bool RE::TESObjectREFR::HasKeywordWithType | ( | DEFAULT_OBJECT | keywordType | ) | const |
bool RE::TESObjectREFR::HasQuestObject | ( | ) | const |
void RE::TESObjectREFR::InitChildActivates | ( | TESObjectREFR * | a_actionRef | ) |
|
virtual |
Reimplemented in RE::Projectile, RE::Explosion, RE::BarrierProjectile, and RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
bool RE::TESObjectREFR::InitInventoryIfRequired | ( | bool | a_ignoreContainerExtraData = false | ) |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
bool RE::TESObjectREFR::Is3DLoaded | ( | ) | const |
|
virtual |
bool RE::TESObjectREFR::IsActivationBlocked | ( | ) | const |
bool RE::TESObjectREFR::IsAnimal | ( | ) | const |
bool RE::TESObjectREFR::IsAnOwner | ( | const Actor * | a_testOwner, |
bool | a_useFaction, | ||
bool | a_requiresOwner | ||
) | const |
|
virtual |
Reimplemented in RE::Character, and RE::Actor.
bool RE::TESObjectREFR::IsCrimeToActivate | ( | ) |
|
virtual |
Reimplemented in RE::Actor.
bool RE::TESObjectREFR::IsDisabled | ( | ) | const |
bool RE::TESObjectREFR::IsDragon | ( | ) | const |
bool RE::TESObjectREFR::IsEnchanted | ( | ) | const |
|
overridevirtual |
Reimplemented from RE::TESForm.
bool RE::TESObjectREFR::IsHorse | ( | ) | const |
bool RE::TESObjectREFR::IsHumanoid | ( | ) | const |
bool RE::TESObjectREFR::IsInitiallyDisabled | ( | ) | const |
bool RE::TESObjectREFR::IsInWater | ( | ) | const |
bool RE::TESObjectREFR::IsJewelry | ( | ) | const |
bool RE::TESObjectREFR::IsLocked | ( | ) | const |
bool RE::TESObjectREFR::IsMarkedForDeletion | ( | ) | const |
bool RE::TESObjectREFR::IsOffLimits | ( | ) |
bool RE::TESObjectREFR::IsPersistent | ( | ) | const |
bool RE::TESObjectREFR::IsPointSubmergedMoreThan | ( | const NiPoint3 & | a_pos, |
TESObjectCELL * | a_cell, | ||
float | a_waterLevel | ||
) | const |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
Reimplemented in RE::Projectile, RE::BarrierProjectile, and RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
static |
|
static |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Projectile, and RE::Actor.
void RE::TESObjectREFR::MoveTo | ( | TESObjectREFR * | a_target | ) |
bool RE::TESObjectREFR::MoveToNode | ( | TESObjectREFR * | a_target, |
const BSFixedString & | a_nodeName | ||
) |
bool RE::TESObjectREFR::MoveToNode | ( | TESObjectREFR * | a_target, |
NiAVObject * | a_node | ||
) |
bool RE::TESObjectREFR::NameIncludes | ( | std::string_view | a_word | ) | const |
|
virtual |
Reimplemented in RE::Projectile, RE::Hazard, RE::Explosion, and RE::Actor.
void RE::TESObjectREFR::OpenContainer | ( | std::int32_t | a_openType | ) | const |
|
virtual |
Reimplemented in RE::Actor.
NiPointer<TESObjectREFR> RE::TESObjectREFR::PlaceObjectAtMe | ( | TESBoundObject * | a_baseToPlace, |
bool | a_forcePersist | ||
) | const |
void RE::TESObjectREFR::PlayAnimation | ( | NiControllerManager * | a_manager, |
NiControllerSequence * | a_toSeq, | ||
NiControllerSequence * | a_fromSeq | ||
) |
void RE::TESObjectREFR::PlayAnimation | ( | stl::zstring | a_from, |
stl::zstring | a_to | ||
) |
|
overridevirtual |
Reimplemented from RE::IAnimationGraphManagerHolder.
|
virtual |
Reimplemented in RE::Actor.
|
overridevirtual |
Reimplemented from RE::IAnimationGraphManagerHolder.
|
virtual |
Reimplemented in RE::Character, and RE::Actor.
|
overridevirtual |
Implements RE::BSTEventSink< BSAnimationGraphEvent >.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
|
virtual |
Reimplemented in RE::Hazard, and RE::Explosion.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::PlayerCharacter, and RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
Reimplemented in RE::Projectile, and RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
void RE::TESObjectREFR::SetActivationBlocked | ( | bool | a_blocked | ) |
|
virtual |
Reimplemented in RE::Projectile, RE::Hazard, and RE::Explosion.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Implements RE::IAnimationGraphManagerHolder.
|
virtual |
Reimplemented in RE::Character.
void RE::TESObjectREFR::SetCollision | ( | bool | a_enable | ) |
|
virtual |
Reimplemented in RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
virtual |
Reimplemented in RE::Actor.
bool RE::TESObjectREFR::SetDisplayName | ( | const BSFixedString & | a_name, |
bool | a_force | ||
) |
void RE::TESObjectREFR::SetEncounterZone | ( | BGSEncounterZone * | a_zone | ) |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
bool RE::TESObjectREFR::SetMotionType | ( | hkpMotion::MotionType | a_motionType, |
bool | a_allowActivate = true |
||
) |
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
|
overridevirtual |
Reimplemented from RE::TESForm.
void RE::TESObjectREFR::SetOwner | ( | TESForm * | a_owner | ) |
|
virtual |
Reimplemented in RE::Actor.
void RE::TESObjectREFR::SetPosition | ( | float | a_x, |
float | a_y, | ||
float | a_z | ||
) |
void RE::TESObjectREFR::SetPosition | ( | NiPoint3 | a_pos | ) |
|
virtual |
|
virtual |
void RE::TESObjectREFR::SetTemporary | ( | ) |
|
overridevirtual |
Reimplemented from RE::IAnimationGraphManagerHolder.
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
Reimplemented in RE::Actor.
|
virtual |
|
virtual |
Reimplemented in RE::Actor.
OBJ_REFR RE::TESObjectREFR::data |
|
inlinestaticconstexpr |
ExtraDataList RE::TESObjectREFR::extraList |
|
inlinestaticconstexpr |
LOADED_REF_DATA* RE::TESObjectREFR::loadedData |
std::int8_t RE::TESObjectREFR::modelState |
std::uint32_t RE::TESObjectREFR::pad94 |
TESObjectCELL* RE::TESObjectREFR::parentCell |
bool RE::TESObjectREFR::preDestroyed |
std::uint16_t RE::TESObjectREFR::refScale |
|
inlinestaticconstexpr |
std::uint64_t RE::TESObjectREFR::unk88 |
|
inlinestaticconstexpr |