Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.World.IBlockLookup Interface Reference

Get the correct instance of a block given its type More...

Public Member Functions

ushort GetId< T > ()
 Gets the id of a block type More...
 

Properties

IEnumerable< IBlockBlocks [get]
 Gets an enumerable of all blocks currently available More...
 

Detailed Description

Get the correct instance of a block given its type

Attribute: Injectable

Member Function Documentation

ushort pluginbase.Objects.World.IBlockLookup.GetId< T > ( )

Gets the id of a block type

Returns
The identifier.
Template Parameters
TThe 1st type parameter.
Type Constraints
T :IBlock 

Property Documentation

IEnumerable<IBlock> pluginbase.Objects.World.IBlockLookup.Blocks
get

Gets an enumerable of all blocks currently available

The blocks.


The documentation for this interface was generated from the following file: