Struct InventoryEventArgs
- Namespace
- SkyrimForge
- 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? ObjRefr, InventoryEntryData? EntryData, int NewCount, int PrevCount)
Parameters
ObjRefrObjectReference?EntryDataInventoryEntryData?NewCountintPrevCountint
Properties
EntryData
public InventoryEntryData? EntryData { get; init; }
Property Value
NewCount
public int NewCount { get; init; }
Property Value
ObjRefr
public ObjectReference? ObjRefr { get; init; }
Property Value
PrevCount
public int PrevCount { get; init; }
Property Value
Methods
Deconstruct(out ObjectReference?, out InventoryEntryData?, out int, out int)
public void Deconstruct(out ObjectReference? ObjRefr, out InventoryEntryData? EntryData, out int NewCount, out int PrevCount)
Parameters
ObjRefrObjectReference?EntryDataInventoryEntryData?NewCountintPrevCountint
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