Class OpenItemFactory
Inheritance
System.Object
OpenItemFactory
Assembly: OpenAPI.dll
Syntax
public class OpenItemFactory : ICustomItemFactory
Constructors
|
Improve this Doc
View Source
OpenItemFactory()
Declaration
Methods
|
Improve this Doc
View Source
GetItem(Int16, Int16, Int32)
Declaration
public Item GetItem(short id, short metadata, int count)
Parameters
Type |
Name |
Description |
System.Int16 |
id |
|
System.Int16 |
metadata |
|
System.Int32 |
count |
|
Returns
|
Improve this Doc
View Source
TryRegisterItem(Int16, Int16, Func<Item>)
Declaration
public bool TryRegisterItem(short id, short metadata, Func<Item> itemFactory)
Parameters
Type |
Name |
Description |
System.Int16 |
id |
|
System.Int16 |
metadata |
|
Func<Item> |
itemFactory |
|
Returns
Type |
Description |
System.Boolean |
|