Class ItemDropped
Invoked by ReceiveDropItem(byte, byte, byte).
[EventModel(EventSynchronizationContext.Pure)]
public class ItemDropped : PlayerEvent, IPlayerEvent, IActionLoggableEvent
- Inheritance
-
ItemDropped
- Implements
- Inherited Members
Properties
Asset
The asset of the item being dropped.
public required ItemAsset? Asset { get; init; }
Property Value
- ItemAsset
DropPoint
The position of the item where it was dropped.
public required Vector3 DropPoint { get; init; }
Property Value
- Vector3
Remarks
Items are not simulated on the server so this may change on clients.
DroppedItem
Extra information about the dropped item.
public required ItemData? DroppedItem { get; init; }
Property Value
- ItemData
Index
The index of the item within it's region.
public required ushort Index { get; init; }
Property Value
InstanceId
The unique instance ID of this item.
public uint InstanceId { get; }
Property Value
Item
Extra information about the item.
public required Item? Item { get; init; }
Property Value
- Item
LandingPoint
The position of the item where it will land. Usually this is the same as ServersidePoint.
public required Vector3 LandingPoint { get; init; }
Property Value
- Vector3
Remarks
Items are not simulated on the server so this may change on clients.
OldPage
The page of the old item that was dropped before it was removed.
public required Page OldPage { get; init; }
Property Value
OldRotation
The rotation of the old item that was dropped before it was removed.
public required byte OldRotation { get; init; }
Property Value
OldX
The X-position of the old item that was dropped before it was removed.
public required byte OldX { get; init; }
Property Value
OldY
The Y-position of the old item that was dropped before it was removed.
public required byte OldY { get; init; }
Property Value
Region
The region the item was dropped in.
public required ItemRegion? Region { get; init; }
Property Value
- ItemRegion
RegionPosition
The coordinates of the region the item was dropped in.
public required RegionCoord RegionPosition { get; init; }
Property Value
- RegionCoord
ServersidePoint
The position of the item where it was originally dropped.
public Vector3 ServersidePoint { get; }
Property Value
- Vector3
Remarks
Items are not simulated on the server so this may change on clients.
Methods
GetActionLogEntry(IServiceProvider, ref ActionLogEntry[]?)
public ActionLogEntry GetActionLogEntry(IServiceProvider serviceProvider, ref ActionLogEntry[]? multipleEntries)
Parameters
serviceProviderIServiceProvidermultipleEntriesActionLogEntry[]