Show / Hide Table of Contents

Class BlockFormManager

Inheritance
System.Object
BlockFormManager
Namespace: Eco.Gameplay.Blocks
Assembly: Eco.Gameplay.dll
Syntax
public static class BlockFormManager : Object

Fields

Data

Declaration
public static BlockFormData Data
Field Value
Type Description
BlockFormData

Methods

GetBlockTypeToCreate(Player, Item, Item, String, Int32)

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

GetBlockTypeToCreate(Player, Type, Item, String, Int32)

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

GetToolForms(Type)

Declaration
public static IEnumerable<BlockForm> GetToolForms(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Collections.Generic.IEnumerable<BlockForm>

HasForms(Type)

Declaration
public static bool HasForms(Type type)
Parameters
Type Name Description
System.Type type
Returns
Type Description
System.Boolean

Initialize()

Declaration
public static void Initialize()
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾