Method Initialize
Initialize(string, string)
Sets up this game item definition with the given info.
Declaration
protected virtual void Initialize(string id, string displayName)
Parameters
Type | Name | Description |
---|---|---|
string | id | The id this will use. |
string | displayName | The display name this will use. |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if invalid values are given. |