Table of Contents

Class WorldDataObject

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

Represents an object placed in the world outside lots in a WorldData resource (🔓)

public sealed class WorldDataObject
Inheritance
WorldDataObject
Inherited Members

Remarks

The simulation reads these values but does not use them; their roles below come from their chunk tags and values, and those marked as not known are not established.

Properties

LevelOfDetail

Gets/sets a level of detail value (chunk MLOD; 255, 254, 2, 1 or 0 in world files), whose exact meaning is not known

public byte LevelOfDetail { get; set; }

Property Value

byte

ObjectDefinitionId

Gets/sets the instance of the object's definition (chunk DGUD)

public ulong ObjectDefinitionId { get; set; }

Property Value

ulong

ObjectId

Gets/sets the id of the object (chunk ID)

public ulong ObjectId { get; set; }

Property Value

ulong

Orientation

Gets/sets the orientation of the object (chunk ROT)

public Quaternion Orientation { get; set; }

Property Value

Quaternion

ParentObjectId

Gets/sets the id of the object to which this object is parented, or zero (chunk PTID)

public ulong ParentObjectId { get; set; }

Property Value

ulong

ParentSlotHash

Gets/sets the hash of the parent's slot in which this object is placed (chunk SLOT)

public uint ParentSlotHash { get; set; }

Property Value

uint

Position

Gets/sets the position of the object in the world (chunk POS)

public Vector3 Position { get; set; }

Property Value

Vector3

Properties

Gets/sets a value whose meaning is not known (chunk OPRP; 0 or 1 in current world files), or null if the object has no such chunk, as in older world files

public uint? Properties { get; set; }

Property Value

uint?

Scale

Gets/sets the scale of the object (chunk SCAL)

public float Scale { get; set; }

Property Value

float

Snow

Gets/sets a flag whose meaning is not known (chunk SNOW; set for most objects in current world files), or null if the object has no such chunk, as in older world files

public bool? Snow { get; set; }

Property Value

bool?