CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::TESWorldSpace Class Reference

#include <TESWorldSpace.h>

Inheritance diagram for RE::TESWorldSpace:
RE::TESForm RE::TESFullName RE::TESModel RE::BaseFormComponent RE::BaseFormComponent RE::BaseFormComponent

Classes

struct  RecordFlags
 
struct  ShortPoint
 

Public Types

enum class  Flag {
  kNone = 0 , kSmallWorld = 1 << 0 , kCantFastTravel = 1 << 1 , kNoLODWater = 1 << 3 ,
  kNoLandscape = 1 << 4 , kNoSky = 1 << 5 , kFixedDimensions = 1 << 6 , kNoGrass = 1 << 7
}
 
enum class  ParentUseFlag {
  kNone = 0 , kUseLandData = 1 << 0 , kUseLODData = 1 << 1 , kDontUseMapData = 1 << 2 ,
  kUseWaterData = 1 << 3 , kUseClimateData = 1 << 4 , kUseImageSpaceData = 1 << 5 , kUseSkyCell = 1 << 6
}
 
- Public Types inherited from RE::TESForm
enum class  InGameFormFlag {
  kNone = 0 , kWantsDelete = 1 << 0 , kForcedPersistent = 1 << 1 , kNoFavorAllowed = 1 << 4 ,
  kIsSkyObject = 1 << 5 , kRefOriginalPersistent = 1 << 6 , kRefPermanentlyDeleted = 1 << 7
}
 

Public Member Functions

 ~TESWorldSpace () override
 
void InitializeData () override
 
void ClearData () override
 
bool Load (TESFile *a_mod) override
 
bool LoadPartial (TESFile *a_mod) override
 
TESFormCreateDuplicateForm (bool a_createEditorID, void *a_arg2) override
 
bool FindInFileFast (TESFile *a_mod) override
 
void InitItemImpl () override
 
const char * GetFormEditorID () const override
 
bool SetFormEditorID (const char *a_str) override
 
bool IsParentForm () override
 
bool IsFormTypeChild (FormType a_type) override
 
bool HasMaxHeightData () const
 
- 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
 
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>
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 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::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::TESModel
 ~TESModel () override
 
void InitializeDataComponent () override
 
void ClearDataComponent () override
 
void CopyComponent (BaseFormComponent *a_rhs) override
 
virtual const char * GetModel () const
 
virtual void SetModel (const char *a_model)
 
virtual TESModelTextureSwapGetAsModelTextureSwap ()
 

Public Attributes

BSTHashMap< CellID, TESObjectCELL * > cellMap
 
TESObjectCELLpersistentCell
 
BGSTerrainManager * terrainManager
 
TESClimateclimate
 
stl::enumeration< Flag, std::uint8_t > flags
 
std::uint8_t unk0A1
 
stl::enumeration< ParentUseFlag, std::uint16_t > parentUseFlags
 
ShortPoint fixedCenter
 
BSTHashMap< std::uint32_t, BSTArray< NiPointer< TESObjectREFR > > > fixedPersistentRefMap
 
BSTArray< NiPointer< TESObjectREFR > > mobilePersistentRefs
 
NiTPointerMap< std::uint32_t, BSSimpleList< TESObjectREFR * > * > * overlappedMultiboundMap
 
TESObjectCELLskyCell
 
BSTHashMap< FormID, BGSLocation * > locationMap
 
void * unk130
 
void * unk138
 
void * unk140
 
void * unk148
 
void * unk150
 
TESWorldSpaceparentWorld
 
BGSLightingTemplatelightingTemplate
 
TESWaterFormworldWater
 
TESWaterFormlodWater
 
float lodWaterHeight
 
std::uint32_t pad17C
 
std::uint64_t unk180
 
WORLD_MAP_DATA worldMapData
 
WORLD_MAP_OFFSET_DATA worldMapOffsetData
 
std::uint32_t pad1B4
 
BGSMusicTypemusicType
 
NiPoint2 minimumCoords
 
NiPoint2 maximumCoords
 
BSTHashMap< UnkKey, UnkValueunk1D0
 
BSString editorID
 
float defaultLandHeight
 
float defaultWaterHeight
 
float distantLODMult
 
std::uint32_t pad21C
 
BGSEncounterZoneencounterZone
 
BGSLocationlocation
 
TESTexture canopyShadowTexture
 
TESTexture waterEnvMap
 
BGSLargeRefData largeRefData
 
std::uint64_t unk2E0
 
BSTHashMap< UnkKey, UnkValueunk2E8
 
BSTHashMap< UnkKey, UnkValueunk318
 
float northRotation
 
std::uint32_t pad34C
 
std::int8_t * maxHeightData
 
- 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::TESModel
BSFixedString model
 
BSResource::IDtextures
 
std::uint32_t * addons
 
std::uint16_t numTextures
 
std::uint16_t numAddons
 
std::uint32_t pad24
 

Static Public Attributes

static constexpr auto RTTI = RTTI_TESWorldSpace
 
static constexpr auto FORMTYPE = FormType::WorldSpace
 
- 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::TESModel
static constexpr auto RTTI = RTTI_TESModel
 

Additional Inherited Members

- Static Public Member Functions inherited from RE::TESForm
static void AddCompileIndex (FormID &a_id, TESFile *a_file)
 
static auto GetAllForms () -> std::pair< BSTHashMap< FormID, TESForm * > *, std::reference_wrapper< BSReadWriteLock > >
 
static auto GetAllFormsByEditorID () -> std::pair< BSTHashMap< BSFixedString, TESForm * > *, std::reference_wrapper< BSReadWriteLock > >
 
static TESFormLookupByID (FormID a_formID)
 
template<class T >
static T * LookupByID (FormID a_formID)
 
static TESFormLookupByEditorID (const std::string_view &a_editorID)
 
template<class T >
static T * LookupByEditorID (const std::string_view &a_editorID)
 

Member Enumeration Documentation

◆ Flag

enum class RE::TESWorldSpace::Flag
strong
Enumerator
kNone 
kSmallWorld 
kCantFastTravel 
kNoLODWater 
kNoLandscape 
kNoSky 
kFixedDimensions 
kNoGrass 

◆ ParentUseFlag

Enumerator
kNone 
kUseLandData 
kUseLODData 
kDontUseMapData 
kUseWaterData 
kUseClimateData 
kUseImageSpaceData 
kUseSkyCell 

Constructor & Destructor Documentation

◆ ~TESWorldSpace()

RE::TESWorldSpace::~TESWorldSpace ( )
override

Member Function Documentation

◆ ClearData()

void RE::TESWorldSpace::ClearData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ CreateDuplicateForm()

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

Reimplemented from RE::TESForm.

◆ FindInFileFast()

bool RE::TESWorldSpace::FindInFileFast ( TESFile a_mod)
overridevirtual

Reimplemented from RE::TESForm.

◆ GetFormEditorID()

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

Reimplemented from RE::TESForm.

◆ HasMaxHeightData()

bool RE::TESWorldSpace::HasMaxHeightData ( ) const

◆ InitializeData()

void RE::TESWorldSpace::InitializeData ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ InitItemImpl()

void RE::TESWorldSpace::InitItemImpl ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ IsFormTypeChild()

bool RE::TESWorldSpace::IsFormTypeChild ( FormType  a_type)
overridevirtual

Reimplemented from RE::TESForm.

◆ IsParentForm()

bool RE::TESWorldSpace::IsParentForm ( )
overridevirtual

Reimplemented from RE::TESForm.

◆ Load()

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

Reimplemented from RE::TESForm.

◆ LoadPartial()

bool RE::TESWorldSpace::LoadPartial ( TESFile a_mod)
overridevirtual

Reimplemented from RE::TESForm.

◆ SetFormEditorID()

bool RE::TESWorldSpace::SetFormEditorID ( const char *  a_str)
overridevirtual

Reimplemented from RE::TESForm.

Member Data Documentation

◆ canopyShadowTexture

TESTexture RE::TESWorldSpace::canopyShadowTexture

◆ cellMap

BSTHashMap<CellID, TESObjectCELL*> RE::TESWorldSpace::cellMap

◆ climate

TESClimate* RE::TESWorldSpace::climate

◆ defaultLandHeight

float RE::TESWorldSpace::defaultLandHeight

◆ defaultWaterHeight

float RE::TESWorldSpace::defaultWaterHeight

◆ distantLODMult

float RE::TESWorldSpace::distantLODMult

◆ editorID

BSString RE::TESWorldSpace::editorID

◆ encounterZone

BGSEncounterZone* RE::TESWorldSpace::encounterZone

◆ fixedCenter

ShortPoint RE::TESWorldSpace::fixedCenter

◆ fixedPersistentRefMap

BSTHashMap<std::uint32_t, BSTArray<NiPointer<TESObjectREFR> > > RE::TESWorldSpace::fixedPersistentRefMap

◆ flags

stl::enumeration<Flag, std::uint8_t> RE::TESWorldSpace::flags

◆ FORMTYPE

constexpr auto RE::TESWorldSpace::FORMTYPE = FormType::WorldSpace
inlinestaticconstexpr

◆ largeRefData

BGSLargeRefData RE::TESWorldSpace::largeRefData

◆ lightingTemplate

BGSLightingTemplate* RE::TESWorldSpace::lightingTemplate

◆ location

BGSLocation* RE::TESWorldSpace::location

◆ locationMap

BSTHashMap<FormID, BGSLocation*> RE::TESWorldSpace::locationMap

◆ lodWater

TESWaterForm* RE::TESWorldSpace::lodWater

◆ lodWaterHeight

float RE::TESWorldSpace::lodWaterHeight

◆ maxHeightData

std::int8_t* RE::TESWorldSpace::maxHeightData

◆ maximumCoords

NiPoint2 RE::TESWorldSpace::maximumCoords

◆ minimumCoords

NiPoint2 RE::TESWorldSpace::minimumCoords

◆ mobilePersistentRefs

BSTArray<NiPointer<TESObjectREFR> > RE::TESWorldSpace::mobilePersistentRefs

◆ musicType

BGSMusicType* RE::TESWorldSpace::musicType

◆ northRotation

float RE::TESWorldSpace::northRotation

◆ overlappedMultiboundMap

NiTPointerMap<std::uint32_t, BSSimpleList<TESObjectREFR*>*>* RE::TESWorldSpace::overlappedMultiboundMap

◆ pad17C

std::uint32_t RE::TESWorldSpace::pad17C

◆ pad1B4

std::uint32_t RE::TESWorldSpace::pad1B4

◆ pad21C

std::uint32_t RE::TESWorldSpace::pad21C

◆ pad34C

std::uint32_t RE::TESWorldSpace::pad34C

◆ parentUseFlags

stl::enumeration<ParentUseFlag, std::uint16_t> RE::TESWorldSpace::parentUseFlags

◆ parentWorld

TESWorldSpace* RE::TESWorldSpace::parentWorld

◆ persistentCell

TESObjectCELL* RE::TESWorldSpace::persistentCell

◆ RTTI

constexpr auto RE::TESWorldSpace::RTTI = RTTI_TESWorldSpace
inlinestaticconstexpr

◆ skyCell

TESObjectCELL* RE::TESWorldSpace::skyCell

◆ terrainManager

BGSTerrainManager* RE::TESWorldSpace::terrainManager

◆ unk0A1

std::uint8_t RE::TESWorldSpace::unk0A1

◆ unk130

void* RE::TESWorldSpace::unk130

◆ unk138

void* RE::TESWorldSpace::unk138

◆ unk140

void* RE::TESWorldSpace::unk140

◆ unk148

void* RE::TESWorldSpace::unk148

◆ unk150

void* RE::TESWorldSpace::unk150

◆ unk180

std::uint64_t RE::TESWorldSpace::unk180

◆ unk1D0

BSTHashMap<UnkKey, UnkValue> RE::TESWorldSpace::unk1D0

◆ unk2E0

std::uint64_t RE::TESWorldSpace::unk2E0

◆ unk2E8

BSTHashMap<UnkKey, UnkValue> RE::TESWorldSpace::unk2E8

◆ unk318

BSTHashMap<UnkKey, UnkValue> RE::TESWorldSpace::unk318

◆ waterEnvMap

TESTexture RE::TESWorldSpace::waterEnvMap

◆ worldMapData

WORLD_MAP_DATA RE::TESWorldSpace::worldMapData

◆ worldMapOffsetData

WORLD_MAP_OFFSET_DATA RE::TESWorldSpace::worldMapOffsetData

◆ worldWater

TESWaterForm* RE::TESWorldSpace::worldWater

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