Skip to main content

EmbeddableSaveData

A internal class in Root.Township, the global namespace. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Save data (version 2) for an Embeddable: whether it is stuck in something and where.

Constructors​

MemberWhat it is
EmbeddableSaveData()Creates an EmbeddableSaveData with default values.

Fields​

MemberWhat it is
bool isEmbeddedWhether it was embedded when saved.
bool isLocalEmbedProbably whether the pose is relative to a rigidbody rather than the world.
Vector3 localPositionPosition relative to what it is embedded in.
Quaternion localRotationRotation relative to what it is embedded in.
int rigidbodyIndexIndex of the rigidbody it is embedded in.