Class GiveInfo
The parameters included when an item is given. May be null.
Inherited Members
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public class GiveInfo
Constructors
View SourceGiveInfo()
Declaration
public GiveInfo()
Properties
View SourceCallback
A callback set by the location or placement to be executed by the UIDef when its message is complete.
Declaration
public Action<AbstractItem>? Callback { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<AbstractItem> |
Container
The best description of the most specific container for this item.
Declaration
public string? Container { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FlingType
How geo and similar objects are allowed to be flung.
Declaration
public FlingType FlingType { get; set; }
Property Value
| Type | Description |
|---|---|
| FlingType |
MessageType
A flag enumeration of the allowed message types for the UIDef after the item is given.
Declaration
public MessageType MessageType { get; set; }
Property Value
| Type | Description |
|---|---|
| MessageType |
Transform
The transform to use for flinging and similar actions. May be null.
Declaration
public Transform? Transform { get; set; }
Property Value
| Type | Description |
|---|---|
| Transform |
Methods
View SourceClone()
Returns a shallow clone of the GiveInfo.
Declaration
public GiveInfo Clone()
Returns
| Type | Description |
|---|---|
| GiveInfo |