Class WorldObjectDataObject
Represents an object in a WorldObjectData resource (🔓)
public sealed class WorldObjectDataObject : WorldObjectDataLocator
- Inheritance
-
WorldObjectDataObject
- Inherited Members
Properties
Flags
Gets/sets the flags of the object
public uint Flags { get; set; }
Property Value
Remarks
When bit 0 is set, the game does not create a routing footprint for the object. The meaning of the other bits is not known; in world files only bit 0 is ever set.
LevelOfDetail
Gets/sets a level of detail value the game stores with the object (255, 254, 2, 1 or 0 in world files)
public byte LevelOfDetail { get; set; }
Property Value
Remarks
The simulation does not read this value; its exact meaning is not known.
ObjectId
Gets/sets the id of the object
public ulong ObjectId { get; set; }
Property Value
ParentObjectId
Gets/sets the id of the object to which this object is parented, or zero
public ulong ParentObjectId { get; set; }
Property Value
Remarks
The game spawns parents before their children.
ParentSlotHash
Gets/sets the hash of the parent's slot in which this object is placed
public uint ParentSlotHash { get; set; }
Property Value
Snow
Gets/sets a flag the game stores with the object (set for most objects in world files)
public bool Snow { get; set; }
Property Value
Remarks
The simulation does not read this flag; Sims 4 Studio calls it whether the object accumulates snow, which is not established. Stored only by version 8 and later of the resource.