Class BlockUtils
Inheritance
System.Object
BlockUtils
Assembly: Eco.Gameplay.dll
Syntax
public static class BlockUtils : Object
Methods
Returns most suitable Item for BlockType to be displayed in Look At tooltip.
Declaration
public static Item GetBlockTooltipItem(Type blockType)
Parameters
Type |
Name |
Description |
System.Type |
blockType |
|
Returns
GetItem(Block)
Tries to convert object into an item.
Declaration
public static Item GetItem(this Block target)
Parameters
Type |
Name |
Description |
Block |
target |
|
Returns
Returns text for Look At tooltip for specified blockType
. The tooltip appear on the client when player is looking on a block.
Declaration
public static Nullable<LocString> GetLookAtTooltip(Type blockType)
Parameters
Type |
Name |
Description |
System.Type |
blockType |
|
Returns