|
wowlib 0.0.0
Read & write World of Warcraft client files — a C++26 core
|
#include <wowlib/formats/common/map_placements.hpp>
Public Attributes | |
| std::uint32_t | nameId = 0 |
| std::uint32_t | uniqueId = 0 |
| Unique instance id across the whole map (WDT global-WMO records leave it unused). | |
| C3Vector | position {} |
| Position, in the map's placement coordinate system. | |
| C3Vector | rotation {} |
| Rotation as Euler angles, degrees. | |
| CAaBox | extents {} |
| The transformed object's bounding box (position plus the rotated extents); culling and collision use it. | |
| MapObjDefFlags | flags {} |
| Flags; MapObjDefFlags bits. | |
| std::uint16_t | doodadSet = 0 |
| The WMO doodad set shown by this instance (MODS index, or MWDR when use_sets_from_mwds is set). | |
| std::uint16_t | nameSet = 0 |
| The WMO name set (renames the same model per instance). | |
| std::uint16_t | scale = 0 |
| Scale, 1024 = 1.0, engaged by the has_scale flag (Legion+); padding in older clients. | |
Definition at line 41 of file map_placements.hpp.
| std::uint16_t wowlib::formats::common::SMMapObjDef::doodadSet = 0 |
The WMO doodad set shown by this instance (MODS index, or MWDR when use_sets_from_mwds is set).
Definition at line 60 of file map_placements.hpp.
| CAaBox wowlib::formats::common::SMMapObjDef::extents {} |
The transformed object's bounding box (position plus the rotated extents); culling and collision use it.
Definition at line 54 of file map_placements.hpp.
| MapObjDefFlags wowlib::formats::common::SMMapObjDef::flags {} |
Flags; MapObjDefFlags bits.
Definition at line 57 of file map_placements.hpp.
| std::uint32_t wowlib::formats::common::SMMapObjDef::nameId = 0 |
Definition at line 42 of file map_placements.hpp.
| std::uint16_t wowlib::formats::common::SMMapObjDef::nameSet = 0 |
The WMO name set (renames the same model per instance).
Definition at line 63 of file map_placements.hpp.
| C3Vector wowlib::formats::common::SMMapObjDef::position {} |
Position, in the map's placement coordinate system.
Definition at line 48 of file map_placements.hpp.
| C3Vector wowlib::formats::common::SMMapObjDef::rotation {} |
Rotation as Euler angles, degrees.
Definition at line 51 of file map_placements.hpp.
| std::uint16_t wowlib::formats::common::SMMapObjDef::scale = 0 |
Scale, 1024 = 1.0, engaged by the has_scale flag (Legion+); padding in older clients.
Definition at line 66 of file map_placements.hpp.
| std::uint32_t wowlib::formats::common::SMMapObjDef::uniqueId = 0 |
Unique instance id across the whole map (WDT global-WMO records leave it unused).
Definition at line 45 of file map_placements.hpp.