nw::Area
-
struct Area : public nw::ObjectBase
Public Functions
-
Area()
-
Area(MemoryResource *allocator)
-
virtual void clear() override
-
virtual bool instantiate() override
-
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
-
AreaScripts scripts
-
AreaWeather weather
-
String comments
-
Tileset *tileset = nullptr
-
int32_t creator_id = 0
-
int32_t height = 0
-
int32_t id = 0
-
int32_t listen_check_mod = 0
-
int32_t spot_check_mod = 0
-
uint32_t version = 0
-
int32_t width = 0
-
uint16_t loadscreen = 0
-
uint8_t no_rest = 0
-
uint8_t pvp = 0
-
uint8_t shadow_opacity = 0
-
uint8_t skybox = 0
Public Static Functions
-
static String get_name_from_file(const std::filesystem::path &path)
Public Static Attributes
-
static constexpr int json_archive_version = 1
-
static constexpr ObjectType object_type = ObjectType::area
-
static constexpr ResourceType::type restype = ResourceType::caf
-
static constexpr StringView serial_id = {"CAF"}
-
Area()