Skip to main content

CopyPartInstance

A class in Root.Township, Alta.Caves.PluginParts.

Runtime instance of the CopyPart plugin part: copies another plugin's layer into this one.

Constructors​

MemberWhat it is
CopyPartInstance(PluginInstance plugin, CopyPart part)Creates a CopyPartInstance from plugin and part.

Fields​

1 private and internal field
MemberWhat it is
private Plugin fromPlugin to copy from; falls back to this part's own plugin.

Methods​

MemberWhat it is
override void Modify(MapChunkLayer layer, int offX, int offZ)Copies every cell from the source layer; logs an error and stops if the target is larger.