Struct ContainerChangedEventArgs
- Namespace
- SkyrimForge
- Assembly
- SkyrimForge.dll
Arguments for OnContainerChanged, the game's TESContainerChangedEvent.
public readonly struct ContainerChangedEventArgs : IEquatable<ContainerChangedEventArgs>
- Implements
- Inherited Members
Constructors
ContainerChangedEventArgs(FormId<Form>?, FormId<Form>?, FormId<Form>?, int, ObjectReference?, ushort)
Arguments for OnContainerChanged, the game's TESContainerChangedEvent.
public ContainerChangedEventArgs(FormId<Form>? OldContainer, FormId<Form>? NewContainer, FormId<Form>? BaseObj, int ItemCount, ObjectReference? Reference, ushort UniqueID)
Parameters
OldContainerFormId<Form>?NewContainerFormId<Form>?BaseObjFormId<Form>?ItemCountintReferenceObjectReference?UniqueIDushort
Properties
BaseObj
public FormId<Form>? BaseObj { get; init; }
Property Value
ItemCount
public int ItemCount { get; init; }
Property Value
NewContainer
public FormId<Form>? NewContainer { get; init; }
Property Value
OldContainer
public FormId<Form>? OldContainer { get; init; }
Property Value
Reference
public ObjectReference? Reference { get; init; }
Property Value
UniqueID
public ushort UniqueID { get; init; }
Property Value
Methods
Deconstruct(out FormId<Form>?, out FormId<Form>?, out FormId<Form>?, out int, out ObjectReference?, out ushort)
public void Deconstruct(out FormId<Form>? OldContainer, out FormId<Form>? NewContainer, out FormId<Form>? BaseObj, out int ItemCount, out ObjectReference? Reference, out ushort UniqueID)
Parameters
OldContainerFormId<Form>?NewContainerFormId<Form>?BaseObjFormId<Form>?ItemCountintReferenceObjectReference?UniqueIDushort
Equals(ContainerChangedEventArgs)
public bool Equals(ContainerChangedEventArgs other)
Parameters
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 ==(ContainerChangedEventArgs, ContainerChangedEventArgs)
public static bool operator ==(ContainerChangedEventArgs left, ContainerChangedEventArgs right)
Parameters
Returns
operator !=(ContainerChangedEventArgs, ContainerChangedEventArgs)
public static bool operator !=(ContainerChangedEventArgs left, ContainerChangedEventArgs right)