Show / Hide Table of Contents

Method CreateArray

| Edit this page View Source

CreateArray(Dictionary<string, int>, bool)

Creates a mocked Piece.Requirement array
Declaration
public static Piece.Requirement[] CreateArray(Dictionary<string, int> requirements, bool recover = true)
Parameters
Type Name Description
Dictionary<string, int> requirements List of prefab names and amounts
bool recover Whether the items are dropped after deconstructing a piece
Returns
Type Description
Requirement[]
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾