Table of Contents

Class WorldObjectDataObject

Namespace
LlamaLogic.Packages.Models.World
Assembly
LlamaLogic.Packages.dll

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

uint

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

byte

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

ulong

ParentObjectId

Gets/sets the id of the object to which this object is parented, or zero

public ulong ParentObjectId { get; set; }

Property Value

ulong

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

uint

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

bool

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.