Class GiveInfo
The parameters included when an item is given. May be null.
Inheritance
System.Object
GiveInfo
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ItemChanger
Assembly: ItemChanger.dll
Syntax
public class GiveInfo
Properties
| Improve this Doc 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 |
---|---|
System.Nullable<Action<AbstractItem>> |
Container
The best description of the most specific container for this item.
Declaration
public string Container { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Nullable<Transform> |
Methods
| Improve this Doc View SourceClone()
Returns a shallow clone of the GiveInfo.
Declaration
public GiveInfo Clone()
Returns
Type | Description |
---|---|
GiveInfo |