Make more network-events check EntitySessionEventArgs. (#6612)
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
using System;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Inventory.Events;
|
||||
|
||||
[NetSerializable, Serializable]
|
||||
public class OpenSlotStorageNetworkMessage : EntityEventArgs
|
||||
public sealed class OpenSlotStorageNetworkMessage : EntityEventArgs
|
||||
{
|
||||
public readonly EntityUid Uid;
|
||||
public readonly string Slot;
|
||||
|
||||
public OpenSlotStorageNetworkMessage(EntityUid uid, string slot)
|
||||
public OpenSlotStorageNetworkMessage(string slot)
|
||||
{
|
||||
Uid = uid;
|
||||
Slot = slot;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user