Skip to main content

Constructor.PlaceFound<T>

A private delegate in Root.Township, Alta.PAGaC. Reach it through att-stubs' publicized assemblies or Harmony's AccessTools.

Callback the PAGaC Constructor runs for each spot where a rule or part fits: the grid position, rotation, start offset and the axis multipliers for that rotation.

Constructors​

MemberWhat it is
PlaceFound(object object, IntPtr method)Made by the compiler when you assign a method to this delegate; you don't call it directly.

Methods​

MemberWhat it is
virtual IAsyncResult BeginInvoke(T part, int x, int y, int z, int rotation, int startX, int startZ, int xxMultiplier, int xzMultiplier, int zxMultiplier, int zzMultiplier, AsyncCallback callback, object object)Starts the call on another thread; not supported in Unity, so use Invoke.
virtual void EndInvoke(IAsyncResult result)Waits for a call started with BeginInvoke; not supported in Unity.
virtual void Invoke(T part, int x, int y, int z, int rotation, int startX, int startZ, int xxMultiplier, int xzMultiplier, int zxMultiplier, int zzMultiplier)Calls every method on this delegate with these arguments.

Used in​

Members of other types that take, return or hold a PlaceFound&lt;T>: