Skip to main content

SpawnAreaSaveData

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

Save data for a SpawnArea (version 1): its size and placement settings.

Constructors​

MemberWhat it is
SpawnAreaSaveData()Creates a SpawnAreaSaveData with default values.

Fields​

MemberWhat it is
int avoidLayersLayer mask of things to avoid spawning on.
int groundLayersLayer mask of ground to spawn on.
bool isAligningNormalWhether spawned items align to the ground normal.
float maxAcceptableAngleDotSteepest ground allowed, as a dot product.
float sizeSize of the spawn area.