CommonLibSSE (Parapets fork)
RE::TESBoundObject Class Reference

#include <TESBoundObject.h>

Inheritance diagram for RE::TESBoundObject:
RE::TESObject RE::TESForm RE::BaseFormComponent RE::BGSAcousticSpace RE::BGSAddonNode RE::BGSArtObject RE::BGSDualCastData RE::BGSExplosion RE::BGSHazard RE::BGSIdleMarker RE::BGSNote RE::BGSProjectile RE::BGSStaticCollection RE::BGSTextureSet RE::MagicItem RE::TESAmmo RE::TESBoundAnimObject RE::TESGrass RE::TESLevItem RE::TESLevSpell RE::TESObjectARMO RE::TESObjectBOOK RE::TESObjectMISC RE::TESObjectSTAT RE::TESObjectTREE RE::TESObjectWEAP

Classes

struct  BOUND_DATA
 

Public Member Functions

 ~TESBoundObject () override
 
void LoadObjectBound (TESFile *a_mod) override
 
bool IsBoundObject () const override
 
bool Activate (TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
 
NiAVObjectClone3D (TESObjectREFR *a_ref, bool a_arg3) override
 
bool ReplaceModel () override
 
virtual void SetObjectVoiceType (BGSVoiceType *a_voiceType)
 
virtual BGSVoiceTypeGetObjectVoiceType () const
 
virtual NiAVObjectClone3D (TESObjectREFR *a_ref)
 
virtual bool ReplaceModel (const char *a_str)
 
virtual bool GetActivateText (TESObjectREFR *a_activator, BSString &a_dst)
 
virtual bool CalculateDoFavor (Actor *a_activator, bool a_arg2, TESObjectREFR *a_toActivate, float a_arg3)
 
virtual void HandleRemoveItemFromContainer (TESObjectREFR *a_container)
 
virtual void OnRemove3D (NiAVObject *a_obj3D)
 
virtual void OnCheckModels ()
 
virtual void OnCopyReference ()
 
virtual void OnFinishScale ()
 
- Public Member Functions inherited from RE::TESObject
 ~TESObject () override
 
bool IsObject () const override
 
std::uint32_t GetRefCount () const override
 
virtual void Unk_3B (void)
 
virtual bool IsBoundAnimObject ()
 
virtual TESWaterFormGetWaterType () const
 
virtual bool IsAutoCalc () const
 
virtual void SetAutoCalc (bool a_autoCalc)
 
virtual void UnClone3D (TESObjectREFR *a_ref)
 
virtual bool IsMarker ()
 
virtual bool IsOcclusionMarker ()
 
virtual std::uint32_t IncRef ()
 
virtual std::uint32_t DecRef ()
 
virtual NiAVObjectLoadGraphics (TESObjectREFR *a_ref)
 
- Public Member Functions inherited from RE::TESForm
 ~TESForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual 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 bool IsMagicItem () const
 
virtual bool IsWater () const
 
virtual TESObjectREFRAsReference1 ()
 
virtual const TESObjectREFRAsReference2 () 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 void SetFormID (FormID a_id, bool a_updateFile)
 
virtual const char * GetObjectTypeName () const
 
virtual bool QAvailableInGame () const
 
template<class T >
 requires (std::is_class_v< T >) T *As() noexcept
 
template<class T >
 requires (requires { T::FORMTYPE;}) const T *As() const noexcept
 
template<class T >
 requires (!requires { T::FORMTYPE;}) const T *As() const noexcept
 
TESObjectREFRAsReference ()
 
const TESObjectREFRAsReference () const
 
TESFileGetFile (std::int32_t a_idx=-1) const
 
std::uint32_t GetFormFlags () const noexcept
 
FormID GetFormID () const noexcept
 
FormType GetFormType () const noexcept
 
std::int32_t GetGoldValue () const
 
const char * GetName () const
 
float GetWeight () const
 
bool HasVMAD () const
 
bool HasWorldModel () const noexcept
 
void InitItem ()
 
bool Is (FormType a_type) const noexcept
 
template<class... Args>
bool Is (Args... a_args) const noexcept requires(std
 
bool IsAmmo () const noexcept
 
bool IsArmor () const noexcept
 
bool IsBook () const noexcept
 
bool IsDeleted () const noexcept
 
bool IsDynamicForm () const noexcept
 
bool IsGold () const noexcept
 
bool IsIgnored () const noexcept
 
bool IsInitialized () const noexcept
 
bool IsKey () const noexcept
 
bool IsLockpick () const noexcept
 
bool IsNot (FormType a_type) const noexcept
 
template<class... Args>
bool IsNot (Args... a_args) const noexcept requires(std
 
bool IsNote () const noexcept
 
bool IsPlayer () const noexcept
 
bool IsPlayerRef () const noexcept
 
bool IsSoulGem () const noexcept
 
bool IsWeapon () const noexcept
 
- Public Member Functions inherited from RE::BaseFormComponent
virtual ~BaseFormComponent ()
 
 TES_HEAP_REDEFINE_NEW ()
 

Public Attributes

BOUND_DATA boundData
 
std::uint32_t pad2C
 
- Public Attributes inherited from RE::TESForm
TESFileContainer sourceFiles
 
std::uint32_t formFlags
 
FormID formID
 
stl::enumeration< InGameFormFlag, std::uint16_t > inGameFormFlags
 
stl::enumeration< FormType, std::uint8_t > formType
 
std::uint8_t pad1B
 
std::uint32_t pad1C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_TESBoundObject
 
- Static Public Attributes inherited from RE::TESObject
static constexpr auto RTTI = RTTI_TESObject
 
- Static Public Attributes inherited from RE::TESForm
static constexpr auto RTTI = RTTI_TESForm
 
static constexpr auto FORMTYPE = FormType::None
 
- Static Public Attributes inherited from RE::BaseFormComponent
static constexpr auto RTTI = RTTI_BaseFormComponent
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ ~TESBoundObject()

RE::TESBoundObject::~TESBoundObject ( )
override

Member Function Documentation

◆ Activate()

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

◆ CalculateDoFavor()

virtual bool RE::TESBoundObject::CalculateDoFavor ( Actor a_activator,
bool  a_arg2,
TESObjectREFR a_toActivate,
float  a_arg3 
)
virtual

◆ Clone3D() [1/2]

◆ Clone3D() [2/2]

NiAVObject* RE::TESBoundObject::Clone3D ( TESObjectREFR a_ref,
bool  a_arg3 
)
overridevirtual

Reimplemented from RE::TESObject.

◆ GetActivateText()

virtual bool RE::TESBoundObject::GetActivateText ( TESObjectREFR a_activator,
BSString a_dst 
)
virtual

◆ GetObjectVoiceType()

virtual BGSVoiceType* RE::TESBoundObject::GetObjectVoiceType ( ) const
virtual

Reimplemented in RE::TESNPC, and RE::BGSTalkingActivator.

◆ HandleRemoveItemFromContainer()

virtual void RE::TESBoundObject::HandleRemoveItemFromContainer ( TESObjectREFR a_container)
virtual

Reimplemented in RE::TESAmmo.

◆ IsBoundObject()

bool RE::TESBoundObject::IsBoundObject ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ LoadObjectBound()

void RE::TESBoundObject::LoadObjectBound ( TESFile a_mod)
overridevirtual

Reimplemented from RE::TESForm.

◆ OnCheckModels()

virtual void RE::TESBoundObject::OnCheckModels ( )
virtual

Reimplemented in RE::TESObjectTREE.

◆ OnCopyReference()

virtual void RE::TESBoundObject::OnCopyReference ( )
virtual

Reimplemented in RE::TESObjectTREE.

◆ OnFinishScale()

virtual void RE::TESBoundObject::OnFinishScale ( )
virtual

Reimplemented in RE::TESObjectTREE.

◆ OnRemove3D()

virtual void RE::TESBoundObject::OnRemove3D ( NiAVObject a_obj3D)
virtual

Reimplemented in RE::TESObjectTREE.

◆ ReplaceModel() [1/2]

bool RE::TESBoundObject::ReplaceModel ( )
overridevirtual

Reimplemented from RE::TESObject.

Reimplemented in RE::TESObjectTREE.

◆ ReplaceModel() [2/2]

virtual bool RE::TESBoundObject::ReplaceModel ( const char *  a_str)
virtual

Reimplemented in RE::TESBoundAnimObject.

◆ SetObjectVoiceType()

virtual void RE::TESBoundObject::SetObjectVoiceType ( BGSVoiceType a_voiceType)
virtual

Reimplemented in RE::TESNPC, and RE::BGSTalkingActivator.

Member Data Documentation

◆ boundData

BOUND_DATA RE::TESBoundObject::boundData

◆ pad2C

std::uint32_t RE::TESBoundObject::pad2C

◆ RTTI

constexpr auto RE::TESBoundObject::RTTI = RTTI_TESBoundObject
inlinestaticconstexpr

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