Table of Contents

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

ObjRefr ObjectReference?
EntryData InventoryEntryData?
NewCount int
PrevCount int

Properties

EntryData

public InventoryEntryData? EntryData { get; init; }

Property Value

InventoryEntryData?

NewCount

public int NewCount { get; init; }

Property Value

int

ObjRefr

public ObjectReference? ObjRefr { get; init; }

Property Value

ObjectReference?

PrevCount

public int PrevCount { get; init; }

Property Value

int

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

ObjRefr ObjectReference?
EntryData InventoryEntryData?
NewCount int
PrevCount int

Equals(InventoryEventArgs)

public bool Equals(InventoryEventArgs other)

Parameters

other InventoryEventArgs

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(InventoryEventArgs, InventoryEventArgs)

public static bool operator ==(InventoryEventArgs left, InventoryEventArgs right)

Parameters

left InventoryEventArgs
right InventoryEventArgs

Returns

bool

operator !=(InventoryEventArgs, InventoryEventArgs)

public static bool operator !=(InventoryEventArgs left, InventoryEventArgs right)

Parameters

left InventoryEventArgs
right InventoryEventArgs

Returns

bool