Storage UI V2 (#33045)
This commit is contained in:
@@ -148,6 +148,19 @@ namespace Content.Shared.Storage
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class OpenNestedStorageEvent : EntityEventArgs
|
||||
{
|
||||
public readonly NetEntity InteractedItemUid;
|
||||
public readonly NetEntity StorageUid;
|
||||
|
||||
public OpenNestedStorageEvent(NetEntity interactedItemUid, NetEntity storageUid)
|
||||
{
|
||||
InteractedItemUid = interactedItemUid;
|
||||
StorageUid = storageUid;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class StorageInteractWithItemEvent : EntityEventArgs
|
||||
{
|
||||
@@ -179,6 +192,26 @@ namespace Content.Shared.Storage
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class StorageTransferItemEvent : EntityEventArgs
|
||||
{
|
||||
public readonly NetEntity ItemEnt;
|
||||
|
||||
/// <summary>
|
||||
/// Target storage to receive the transfer.
|
||||
/// </summary>
|
||||
public readonly NetEntity StorageEnt;
|
||||
|
||||
public readonly ItemStorageLocation Location;
|
||||
|
||||
public StorageTransferItemEvent(NetEntity itemEnt, NetEntity storageEnt, ItemStorageLocation location)
|
||||
{
|
||||
ItemEnt = itemEnt;
|
||||
StorageEnt = storageEnt;
|
||||
Location = location;
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class StorageInsertItemIntoLocationEvent : EntityEventArgs
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user