CommonLibSSE (Parapets fork)
|
#include <TESObjectCELL.h>
Classes | |
union | CellData |
struct | ChangeFlags |
struct | RecordFlags |
Public Types | |
enum class | Flag { kNone = 0 , kIsInteriorCell = 1 << 0 , kHasWater = 1 << 1 , kCanTravelFromHere = 1 << 2 , kNoLODWater = 1 << 3 , kHasTempData = 1 << 4 , kPublicArea = 1 << 5 , kHandChanged = 1 << 6 , kShowSky = 1 << 7 , kUseSkyLighting = 1 << 8 } |
enum class | CellState { kAttached = 7 } |
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 | |
~TESObjectCELL () override | |
void | ClearData () override |
bool | Load (TESFile *a_mod) override |
TESForm * | CreateDuplicateForm (bool a_createEditorID, void *a_arg2) override |
bool | FindInFileFast (TESFile *a_mod) override |
void | SaveGame (BGSSaveFormBuffer *a_buf) override |
void | LoadGame (BGSLoadFormBuffer *a_buf) override |
void | Revert (BGSLoadFormBuffer *a_buf) override |
void | InitItemImpl () override |
void | GetFormDetailedString (char *a_buf, std::uint32_t a_bufLen) override |
void | SetAltered (bool a_set) 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 |
bool | SetFormEditorID (const char *a_str) override |
bool | IsParentForm () override |
bool | IsFormTypeChild (FormType a_type) override |
TESNPC * | GetActorOwner () |
bhkWorld * | GetbhkWorld () const |
void | ForEachReference (std::function< bool(TESObjectREFR &)> a_callback) const |
void | ForEachReferenceInRange (const NiPoint3 &a_origin, float a_radius, std::function< bool(TESObjectREFR &)> a_callback) const |
EXTERIOR_DATA * | GetCoordinates () |
TESFaction * | GetFactionOwner () |
INTERIOR_DATA * | GetLighting () |
float | GetNorthRotation () |
TESForm * | GetOwner () |
bool | IsAttached () const |
bool | IsExteriorCell () const |
bool | IsInteriorCell () const |
void | SetActorOwner (TESNPC *a_owner) |
void | SetFactionOwner (TESFaction *a_owner) |
void | SetFogColor (Color a_near, Color a_far) |
void | SetFogPlanes (float a_near, float a_far) |
void | SetFogPower (float a_power) |
void | SetHandChanged (bool a_changed) |
void | SetOwner (TESForm *a_owner) |
void | SetPublic (bool a_public) |
bool | UsesSkyLighting () 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 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 | CheckSaveGame (BGSSaveFormBuffer *a_buf) |
virtual void | InitLoadGame (BGSLoadFormBuffer *a_buf) |
virtual void | FinishLoadGame (BGSLoadFormBuffer *a_buf) |
virtual TESFile * | GetDescriptionOwnerFile () const |
virtual FormType | GetSavedFormType () const |
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 | SaveObjectBound () |
virtual void | LoadObjectBound (TESFile *a_mod) |
virtual bool | IsBoundObject () const |
virtual bool | IsObject () const |
virtual bool | IsMagicItem () const |
virtual bool | IsWater () const |
virtual TESObjectREFR * | AsReference1 () |
virtual const TESObjectREFR * | AsReference2 () const |
virtual std::uint32_t | GetRefCount () const |
virtual const char * | GetTextForParsedSubTag (const BSFixedString &a_tag) const |
virtual void | Copy (TESForm *a_srcForm) |
virtual bool | IsParentFormTree () |
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 > | |
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 | |
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 |
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 |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_TESObjectCELL |
static constexpr auto | FORMTYPE = FormType::Cell |
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 |
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 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) |
|
strong |
|
strong |
|
override |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
void RE::TESObjectCELL::ForEachReference | ( | std::function< bool(TESObjectREFR &)> | a_callback | ) | const |
void RE::TESObjectCELL::ForEachReferenceInRange | ( | const NiPoint3 & | a_origin, |
float | a_radius, | ||
std::function< bool(TESObjectREFR &)> | a_callback | ||
) | const |
TESNPC* RE::TESObjectCELL::GetActorOwner | ( | ) |
bhkWorld* RE::TESObjectCELL::GetbhkWorld | ( | ) | const |
EXTERIOR_DATA* RE::TESObjectCELL::GetCoordinates | ( | ) |
TESFaction* RE::TESObjectCELL::GetFactionOwner | ( | ) |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
INTERIOR_DATA* RE::TESObjectCELL::GetLighting | ( | ) |
float RE::TESObjectCELL::GetNorthRotation | ( | ) |
TESForm* RE::TESObjectCELL::GetOwner | ( | ) |
|
overridevirtual |
Reimplemented from RE::TESForm.
bool RE::TESObjectCELL::IsAttached | ( | ) | const |
bool RE::TESObjectCELL::IsExteriorCell | ( | ) | const |
|
overridevirtual |
Reimplemented from RE::TESForm.
bool RE::TESObjectCELL::IsInteriorCell | ( | ) | const |
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
|
overridevirtual |
Reimplemented from RE::TESForm.
void RE::TESObjectCELL::SetActorOwner | ( | TESNPC * | a_owner | ) |
|
overridevirtual |
Reimplemented from RE::TESForm.
void RE::TESObjectCELL::SetFactionOwner | ( | TESFaction * | a_owner | ) |
void RE::TESObjectCELL::SetFogPlanes | ( | float | a_near, |
float | a_far | ||
) |
void RE::TESObjectCELL::SetFogPower | ( | float | a_power | ) |
|
overridevirtual |
Reimplemented from RE::TESForm.
void RE::TESObjectCELL::SetHandChanged | ( | bool | a_changed | ) |
void RE::TESObjectCELL::SetOwner | ( | TESForm * | a_owner | ) |
void RE::TESObjectCELL::SetPublic | ( | bool | a_public | ) |
bool RE::TESObjectCELL::UsesSkyLighting | ( | ) | const |
bool RE::TESObjectCELL::autoWaterLoaded |
CellData RE::TESObjectCELL::cellData |
bool RE::TESObjectCELL::cellDetached |
stl::enumeration<Flag, std::uint16_t> RE::TESObjectCELL::cellFlags |
std::uint16_t RE::TESObjectCELL::cellGameFlags |
TESObjectLAND* RE::TESObjectCELL::cellLand |
stl::enumeration<CellState, std::uint8_t> RE::TESObjectCELL::cellState |
ExtraDataList RE::TESObjectCELL::extraList |
|
inlinestaticconstexpr |
|
mutable |
|
mutable |
BGSLightingTemplate* RE::TESObjectCELL::lightingTemplate |
LOADED_CELL_DATA* RE::TESObjectCELL::loadedData |
NavMeshArray* RE::TESObjectCELL::navMeshes |
BSTArray<TESObjectREFR*> RE::TESObjectCELL::objectList |
std::uint8_t RE::TESObjectCELL::pad047 |
BSTSet<NiPointer<TESObjectREFR> > RE::TESObjectCELL::references |
|
inlinestaticconstexpr |
|
mutable |
TESForm* RE::TESObjectCELL::unk0B0 |
BSTArray<void*> RE::TESObjectCELL::unk0D0 |
BSTArray<void*> RE::TESObjectCELL::unk0E8 |
BSTArray<void*> RE::TESObjectCELL::unk100 |
std::uint64_t RE::TESObjectCELL::unk138 |
float RE::TESObjectCELL::waterHeight |
TESWorldSpace* RE::TESObjectCELL::worldSpace |