Class ItemMoveRequested
[EventModel(EventSynchronizationContext.PerPlayer, SynchronizedModelTags = new string[] { "modify_inventory", "modify_useable" })]
public class ItemMoveRequested : CancellablePlayerEvent, IPlayerEvent, ICancellable
- Inheritance
-
ItemMoveRequested
- Implements
- Inherited Members
Properties
Asset
The item asset being moved.
public required IAssetLink<ItemAsset> Asset { get; init; }
Property Value
- IAssetLink<ItemAsset>
IsSwap
If the item is being swapped with another item (instead of moving to an empty spot).
public required bool IsSwap { get; init; }
Property Value
Remarks
This could be changed by changing the destination position and may not be up to date.
Jar
The item being moved.
public required ItemJar Jar { get; init; }
Property Value
- ItemJar
NewPage
The page the item will be moved to.
public required Page NewPage { get; set; }
Property Value
NewRotation
The rotation the item will be at when it is moved.
public required byte NewRotation { get; set; }
Property Value
NewX
The X position the item will be moved to.
public required byte NewX { get; set; }
Property Value
NewY
The Y position the item will be moved to.
public required byte NewY { get; set; }
Property Value
OldPage
The original page the item is coming from.
public required Page OldPage { get; init; }
Property Value
OldRotation
The original rotation of the item being moved.
public required byte OldRotation { get; init; }
Property Value
OldX
The original X position of the item being moved.
public required byte OldX { get; init; }
Property Value
OldY
The original Y position of the item being moved.
public required byte OldY { get; init; }
Property Value
SwappingJar
The item being swapped with this item, if applicable.
public required ItemJar? SwappingJar { get; init; }
Property Value
- ItemJar