Api AddedObject
struct

AddedObject

public sealed struct AddedObject

Represents an object that needs to be added during patching.

Fields

Name Type Description
Id ObjectIdentifier The identifier for the new object
Parent ObjectIdentifier The parent object that will contain this object
PreviousElement ObjectIdentifier? The previous sibling when adding to an array (null if first or not in array)
ContainerProperty String The property name in the parent that will contain this object
IsContainerArray Boolean Whether this object is being added to an array (true) or as a direct property (false)
Data JsonObject The data for the new object
Assembly: Sandbox.Engine Declaring Type: Json Full Name: Sandbox.Json.AddedObject