Method GetPieces
| Improve this Doc View SourceGetPieces()
Get all added CustomPieces
Declaration
public static IEnumerable<CustomPiece> GetPieces()
Returns
Type | Description |
---|---|
IEnumerable<CustomPiece> | An IEnumerable<T> of CustomPiece from all loaded mods |
GetPieces(string)
Get all added CustomPieces of a mod by GUID
Declaration
public static IEnumerable<CustomPiece> GetPieces(string modGuid)
Parameters
Type | Name | Description |
---|---|---|
string | modGuid | GUID of the mod |
Returns
Type | Description |
---|---|
IEnumerable<CustomPiece> | An IEnumerable<T> of CustomPiece from a specific mod |