Struct InventoryEventArgs
- Namespace
- SkyrimForge.Events
- Assembly
- SkyrimForge.dll
Arguments for OnInventory, the game's Inventory::Event.
public readonly struct InventoryEventArgs : IEquatable<InventoryEventArgs>
- Implements
- Inherited Members
Constructors
InventoryEventArgs(ObjectReference?, InventoryEntryData?, int, int)
Arguments for OnInventory, the game's Inventory::Event.
public InventoryEventArgs(ObjectReference? ObjectReference, InventoryEntryData? EntryData, int NewCount, int PreviousCount)
Parameters
ObjectReferenceObjectReference?EntryDataInventoryEntryData?NewCountintPreviousCountint
Properties
EntryData
public InventoryEntryData? EntryData { get; init; }
Property Value
NewCount
public int NewCount { get; init; }
Property Value
ObjectReference
public ObjectReference? ObjectReference { get; init; }
Property Value
PreviousCount
public int PreviousCount { get; init; }
Property Value
Methods
Deconstruct(out ObjectReference?, out InventoryEntryData?, out int, out int)
public void Deconstruct(out ObjectReference? ObjectReference, out InventoryEntryData? EntryData, out int NewCount, out int PreviousCount)
Parameters
ObjectReferenceObjectReference?EntryDataInventoryEntryData?NewCountintPreviousCountint
Equals(InventoryEventArgs)
public bool Equals(InventoryEventArgs other)
Parameters
otherInventoryEventArgs
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(InventoryEventArgs, InventoryEventArgs)
public static bool operator ==(InventoryEventArgs left, InventoryEventArgs right)
Parameters
leftInventoryEventArgsrightInventoryEventArgs
Returns
operator !=(InventoryEventArgs, InventoryEventArgs)
public static bool operator !=(InventoryEventArgs left, InventoryEventArgs right)
Parameters
leftInventoryEventArgsrightInventoryEventArgs