nw::Module
-
struct Module : public nw::ObjectBase
-
Public Functions
-
Module()
-
Module(nw::MemoryResource *allocator)
-
virtual void clear() override
-
virtual bool instantiate() override
-
size_t area_count() const noexcept
-
inline nw::MemoryResource *allocator() const noexcept
-
inline ObjectHandle handle() const noexcept
-
inline void set_handle(ObjectHandle handle)
-
const EffectArray &effects() const
-
EffectArray &effects()
-
inline Vector<VisualTransform> &visual_transform() noexcept
-
inline const Vector<VisualTransform> &visual_transform() const noexcept
-
void add_visual_transform(VisualTransform value)
-
virtual InternedString tag() const
Public Members
-
ModuleScripts scripts
-
AreaVariant areas
-
glm::vec3 entry_orientation
-
glm::vec3 entry_position
-
Vector<String> haks
-
String min_game_version
-
String tag
-
String tlk
-
uuids::uuid uuid
-
int32_t creator = 0
-
uint32_t start_year
-
uint32_t version = 3
-
uint16_t expansion_pack = 0
-
uint8_t dawn_hour = 0
-
uint8_t dusk_hour = 0
-
bool is_save_game = false
-
uint8_t minutes_per_hour = 0
-
uint8_t start_day = 0
-
uint8_t start_hour = 0
-
uint8_t start_month = 0
-
uint8_t xpscale = 0
-
bool instantiated_ = false
Public Static Functions
Public Static Attributes
-
static constexpr int json_archive_version = 1
-
static constexpr ObjectType object_type = ObjectType::module
-
static constexpr ResourceType::type restype = ResourceType::ifo
-
static constexpr StringView serial_id = {"IFO"}
-
Module()