Class BlockFormManager
Inheritance
System.Object
BlockFormManager
Assembly: Eco.Gameplay.dll
public static class BlockFormManager : Object
Fields
Declaration
public static BlockFormData Data
Field Value
Methods
Declaration
public static Type GetBlockTypeToCreate(Player player, Item tool, Item matType, string form, int rotation)
Parameters
| Type |
Name |
Description |
| Player |
player |
|
| Item |
tool |
|
| Item |
matType |
|
| System.String |
form |
|
| System.Int32 |
rotation |
|
Returns
| Type |
Description |
| System.Type |
|
Declaration
public static Type GetBlockTypeToCreate(Player player, Type tooltype, Item matType, string form, int rotation)
Parameters
| Type |
Name |
Description |
| Player |
player |
|
| System.Type |
tooltype |
|
| Item |
matType |
|
| System.String |
form |
|
| System.Int32 |
rotation |
|
Returns
| Type |
Description |
| System.Type |
|
Declaration
public static IEnumerable<BlockForm> GetToolForms(Type type)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
Returns
| Type |
Description |
| System.Collections.Generic.IEnumerable<BlockForm> |
|
Declaration
public static bool HasForms(Type type)
Parameters
| Type |
Name |
Description |
| System.Type |
type |
|
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public static void Initialize()