nw::Common

struct Common

Public Functions

bool from_json(const nlohmann::json &archive, SerializationProfile profile, ObjectType object_type)
nlohmann::json to_json(SerializationProfile profile, ObjectType object_type) const
Common()
explicit Common(nw::MemoryResource *allocator)
void clear()

Clears all data members and resets to default constructed.

inline bool valid()

Determines if common component was successfully parsed.

Public Members

uuids::uuid uuid
Resref resref
InternedString tag
LocString name
LocalData locals
Location location
String comment
uint8_t palette_id = std::numeric_limits<uint8_t>::max()