CommonLibSSE (Parapets fork)
RE::TESObjectARMO Class Reference

#include <TESObjectARMO.h>

Inheritance diagram for RE::TESObjectARMO:
RE::TESDescription RE::BGSKeywordForm RE::BGSBlockBashData RE::BGSBipedObjectForm RE::BGSEquipType RE::TESBipedModelForm RE::BGSPickupPutdownSounds RE::BGSDestructibleObjectForm RE::TESWeightForm RE::TESValueForm RE::TESEnchantableForm RE::TESRaceForm RE::TESFullName RE::TESBoundObject

Classes

struct  RecordFlags
 

Public Member Functions

void InitializeData () override
 
bool Load (TESFile *a_mod) override
 
void SaveGame (BGSSaveFormBuffer *a_buf) override
 
void LoadGame (BGSLoadFormBuffer *a_buf) override
 
void InitItemImpl () override
 
TESFileGetDescriptionOwnerFile () const override
 
void Copy (TESForm *a_srcForm) override
 
BGSKeywordGetDefaultKeyword () const override
 
float GetArmorRating ()
 
- Public Member Functions inherited from RE::TESBoundObject
 ~TESBoundObject () override
 
void LoadObjectBound (TESFile *a_mod) override
 
bool IsBoundObject () const override
 
bool Activate (TESObjectREFR *a_targetRef, TESObjectREFR *a_activatorRef, std::uint8_t a_arg3, TESBoundObject *a_object, std::int32_t a_targetCount) override
 
NiAVObjectClone3D (TESObjectREFR *a_ref, bool a_arg3) override
 
bool ReplaceModel () override
 
virtual void SetObjectVoiceType (BGSVoiceType *a_voiceType)
 
virtual BGSVoiceTypeGetObjectVoiceType () const
 
virtual NiAVObjectClone3D (TESObjectREFR *a_ref)
 
virtual bool ReplaceModel (const char *a_str)
 
virtual bool GetActivateText (TESObjectREFR *a_activator, BSString &a_dst)
 
virtual bool CalculateDoFavor (Actor *a_activator, bool a_arg2, TESObjectREFR *a_toActivate, float a_arg3)
 
virtual void HandleRemoveItemFromContainer (TESObjectREFR *a_container)
 
virtual void OnRemove3D (NiAVObject *a_obj3D)
 
virtual void OnCheckModels ()
 
virtual void OnCopyReference ()
 
virtual void OnFinishScale ()
 
- Public Member Functions inherited from RE::TESObject
 ~TESObject () override
 
bool IsObject () const override
 
std::uint32_t GetRefCount () const override
 
virtual void Unk_3B (void)
 
virtual bool IsBoundAnimObject ()
 
virtual TESWaterFormGetWaterType () const
 
virtual bool IsAutoCalc () const
 
virtual void SetAutoCalc (bool a_autoCalc)
 
virtual 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 ClearData ()
 
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 InitLoadGame (BGSLoadFormBuffer *a_buf)
 
virtual void FinishLoadGame (BGSLoadFormBuffer *a_buf)
 
virtual void Revert (BGSLoadFormBuffer *a_buf)
 
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 bool BelongsInGroup (FORM *a_form, bool a_allowParentGroups, bool a_currentOnly)
 
virtual void CreateGroupData (FORM *a_form, FORM_GROUP *a_group)
 
virtual const char * GetFormEditorID () const
 
virtual bool SetFormEditorID (const char *a_str)
 
virtual bool IsParentForm ()
 
virtual bool IsParentFormTree ()
 
virtual bool IsFormTypeChild (FormType a_type)
 
virtual void SetFormID (FormID a_id, bool a_updateFile)
 
virtual const char * GetObjectTypeName () const
 
virtual bool QAvailableInGame () const
 
template<class T >
 requires (std::is_class_v< T >) T *As() noexcept
 
template<class T >
 requires (requires { T::FORMTYPE;}) const T *As() const noexcept
 
template<class T >
 requires (!requires { T::FORMTYPE;}) const T *As() const noexcept
 
TESObjectREFRAsReference ()
 
const TESObjectREFRAsReference () const
 
TESFileGetFile (std::int32_t a_idx=-1) const
 
std::uint32_t GetFormFlags () const noexcept
 
FormID GetFormID () const noexcept
 
FormType GetFormType () const noexcept
 
std::int32_t GetGoldValue () const
 
const char * GetName () const
 
float GetWeight () const
 
bool HasVMAD () const
 
bool HasWorldModel () const noexcept
 
void InitItem ()
 
bool Is (FormType a_type) const noexcept
 
template<class... Args>
bool Is (Args... a_args) const noexcept requires(std
 
bool IsAmmo () const noexcept
 
bool IsArmor () const noexcept
 
bool IsBook () const noexcept
 
bool IsDeleted () const noexcept
 
bool IsDynamicForm () const noexcept
 
bool IsGold () const noexcept
 
bool IsIgnored () const noexcept
 
bool IsInitialized () const noexcept
 
bool IsKey () const noexcept
 
bool IsLockpick () const noexcept
 
bool IsNot (FormType a_type) const noexcept
 
template<class... Args>
bool IsNot (Args... a_args) const noexcept requires(std
 
bool IsNote () const noexcept
 
bool IsPlayer () const noexcept
 
bool IsPlayerRef () const noexcept
 
bool IsSoulGem () const noexcept
 
bool IsWeapon () const noexcept
 
- Public Member Functions inherited from RE::BaseFormComponent
virtual ~BaseFormComponent ()
 
 TES_HEAP_REDEFINE_NEW ()
 
- Public Member Functions inherited from RE::TESFullName
 ~TESFullName () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual std::uint32_t GetFullNameLength () const
 
virtual const char * GetFullName () const
 
- Public Member Functions inherited from RE::TESRaceForm
 ~TESRaceForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::TESEnchantableForm
 ~TESEnchantableForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual MagicSystem::CastingType GetCastingType () const
 
- Public Member Functions inherited from RE::TESValueForm
 ~TESValueForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::TESWeightForm
 ~TESWeightForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSDestructibleObjectForm
 ~BGSDestructibleObjectForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSPickupPutdownSounds
 ~BGSPickupPutdownSounds () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::TESBipedModelForm
 ~TESBipedModelForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSEquipType
 ~BGSEquipType () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual BGSEquipSlotGetEquipSlot () const
 
virtual void SetEquipSlot (BGSEquipSlot *a_slot)
 
- Public Member Functions inherited from RE::BGSBipedObjectForm
 ~BGSBipedObjectForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
BipedObjectSlot AddSlotToMask (BipedObjectSlot a_slot)
 
ArmorType GetArmorType () const
 
BipedObjectSlot GetSlotMask () const
 
bool HasPartOf (BipedObjectSlot a_flag) const
 
bool IsClothing () const
 
bool IsHeavyArmor () const
 
bool IsLightArmor () const
 
bool IsShield () const
 
BipedObjectSlot RemoveSlotFromMask (BipedObjectSlot a_slot)
 
void SetSlotMask (BipedObjectSlot a_mask)
 
- Public Member Functions inherited from RE::BGSBlockBashData
 ~BGSBlockBashData () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
- Public Member Functions inherited from RE::BGSKeywordForm
 ~BGSKeywordForm () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual bool HasKeyword (const BGSKeyword *a_keyword) const
 
bool HasKeyword (FormID a_formID) const
 
std::optional< BGSKeyword * > GetKeywordAt (std::uint32_t a_idx) const
 
std::uint32_t GetNumKeywords () const
 
- Public Member Functions inherited from RE::TESDescription
 ~TESDescription () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
void GetDescription (BSString &a_out, TESForm *a_parent, std::uint32_t a_fieldType='CSED')
 

Public Attributes

std::uint32_t armorRating
 
std::uint32_t pad204
 
BSTArray< TESObjectARMA * > armorAddons
 
TESObjectARMOtemplateArmor
 
- Public Attributes inherited from RE::TESBoundObject
BOUND_DATA boundData
 
std::uint32_t pad2C
 
- Public Attributes inherited from RE::TESForm
TESFileContainer sourceFiles
 
std::uint32_t formFlags
 
FormID formID
 
stl::enumeration< InGameFormFlag, std::uint16_t > inGameFormFlags
 
stl::enumeration< FormType, std::uint8_t > formType
 
std::uint8_t pad1B
 
std::uint32_t pad1C
 
- Public Attributes inherited from RE::TESFullName
BSFixedString fullName
 
- Public Attributes inherited from RE::TESRaceForm
TESRacerace
 
- Public Attributes inherited from RE::TESEnchantableForm
EnchantmentItemformEnchanting
 
stl::enumeration< MagicSystem::CastingType, std::uint16_t > castingType
 
std::uint16_t amountofEnchantment
 
std::uint32_t pad14
 
- Public Attributes inherited from RE::TESValueForm
std::int32_t value
 
std::uint32_t pad0C
 
- Public Attributes inherited from RE::TESWeightForm
float weight
 
std::uint32_t pad0C
 
- Public Attributes inherited from RE::BGSDestructibleObjectForm
DestructibleObjectDatadata
 
- Public Attributes inherited from RE::BGSPickupPutdownSounds
BGSSoundDescriptorFormpickupSound
 
BGSSoundDescriptorFormputdownSound
 
- Public Attributes inherited from RE::TESBipedModelForm
TESModelTextureSwap worldModels [Sexes::kTotal]
 
TESIcon inventoryIcons [Sexes::kTotal]
 
BGSMessageIcon messageIcons [Sexes::kTotal]
 
TESModelRDT constraintTemplate
 
- Public Attributes inherited from RE::BGSEquipType
BGSEquipSlotequipSlot
 
- Public Attributes inherited from RE::BGSBipedObjectForm
BIPED_MODEL bipedModelData
 
- Public Attributes inherited from RE::BGSBlockBashData
BGSImpactDataSetblockBashImpactDataSet
 
BGSMaterialTypealtBlockMaterialType
 
- Public Attributes inherited from RE::BGSKeywordForm
BGSKeyword ** keywords
 
std::uint32_t numKeywords
 
std::uint32_t pad14
 
- Public Attributes inherited from RE::TESDescription
std::uint32_t fileOffset
 
BGSLocalizedStringDL descriptionText
 

Static Public Attributes

static constexpr auto RTTI = RTTI_TESObjectARMO
 
static constexpr auto FORMTYPE = FormType::Armor
 
- Static Public Attributes inherited from RE::TESBoundObject
static constexpr auto RTTI = RTTI_TESBoundObject
 
- Static Public Attributes inherited from RE::TESObject
static constexpr auto RTTI = RTTI_TESObject
 
- Static Public Attributes inherited from RE::TESForm
static constexpr auto RTTI = RTTI_TESForm
 
static constexpr auto FORMTYPE = FormType::None
 
- Static Public Attributes inherited from RE::BaseFormComponent
static constexpr auto RTTI = RTTI_BaseFormComponent
 
- Static Public Attributes inherited from RE::TESFullName
static constexpr auto RTTI = RTTI_TESFullName
 
- Static Public Attributes inherited from RE::TESRaceForm
static constexpr auto RTTI = RTTI_TESRaceForm
 
- Static Public Attributes inherited from RE::TESEnchantableForm
static constexpr auto RTTI = RTTI_TESEnchantableForm
 
- Static Public Attributes inherited from RE::TESValueForm
static constexpr auto RTTI = RTTI_TESValueForm
 
- Static Public Attributes inherited from RE::TESWeightForm
static constexpr auto RTTI = RTTI_TESWeightForm
 
- Static Public Attributes inherited from RE::BGSDestructibleObjectForm
static constexpr auto RTTI = RTTI_BGSDestructibleObjectForm
 
- Static Public Attributes inherited from RE::BGSPickupPutdownSounds
static constexpr auto RTTI = RTTI_BGSPickupPutdownSounds
 
- Static Public Attributes inherited from RE::TESBipedModelForm
static constexpr auto RTTI = RTTI_TESBipedModelForm
 
- Static Public Attributes inherited from RE::BGSEquipType
static constexpr auto RTTI = RTTI_BGSEquipType
 
- Static Public Attributes inherited from RE::BGSBipedObjectForm
static constexpr auto RTTI = RTTI_BGSBipedObjectForm
 
- Static Public Attributes inherited from RE::BGSBlockBashData
static constexpr auto RTTI = RTTI_BGSBlockBashData
 
- Static Public Attributes inherited from RE::BGSKeywordForm
static constexpr auto RTTI = RTTI_BGSKeywordForm
 
- Static Public Attributes inherited from RE::TESDescription
static constexpr auto RTTI = RTTI_TESDescription
 

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
}
 
- Public Types inherited from RE::BGSEquipType
enum class  EQUIPPED_ITEM_TYPE { kSpell = 24 , kShield = 25 , kTorch = 26 , kTotal }
 
- Public Types inherited from RE::BGSBipedObjectForm
using ArmorType = BIPED_MODEL::ArmorType
 
using BipedObjectSlot = BIPED_MODEL::BipedObjectSlot
 
using FirstPersonFlag = BIPED_MODEL::BipedObjectSlot
 
- 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::TESValueForm
static std::int32_t GetFormValue (const TESForm *a_form)
 

Member Function Documentation

◆ Copy()

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

Reimplemented from RE::TESForm.

◆ GetArmorRating()

float RE::TESObjectARMO::GetArmorRating ( )

◆ GetDefaultKeyword()

BGSKeyword* RE::TESObjectARMO::GetDefaultKeyword ( ) const
overridevirtual

Reimplemented from RE::BGSKeywordForm.

◆ GetDescriptionOwnerFile()

TESFile* RE::TESObjectARMO::GetDescriptionOwnerFile ( ) const
overridevirtual

Reimplemented from RE::TESForm.

◆ InitializeData()

void RE::TESObjectARMO::InitializeData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ InitItemImpl()

void RE::TESObjectARMO::InitItemImpl ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ Load()

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

Reimplemented from RE::TESForm.

◆ LoadGame()

void RE::TESObjectARMO::LoadGame ( BGSLoadFormBuffer *  a_buf)
overridevirtual

Reimplemented from RE::TESForm.

◆ SaveGame()

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

Reimplemented from RE::TESForm.

Member Data Documentation

◆ armorAddons

BSTArray<TESObjectARMA*> RE::TESObjectARMO::armorAddons

◆ armorRating

std::uint32_t RE::TESObjectARMO::armorRating

◆ FORMTYPE

constexpr auto RE::TESObjectARMO::FORMTYPE = FormType::Armor
inlinestaticconstexpr

◆ pad204

std::uint32_t RE::TESObjectARMO::pad204

◆ RTTI

constexpr auto RE::TESObjectARMO::RTTI = RTTI_TESObjectARMO
inlinestaticconstexpr

◆ templateArmor

TESObjectARMO* RE::TESObjectARMO::templateArmor

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