Show / Hide Table of Contents

Class InventoryMoveResult

Result from inventory change set moved items

Inheritance
System.Object
InventoryMoveResult
Implements
System.IEquatable<InventoryMoveResult>
Namespace: Eco.Gameplay.Items
Assembly: Eco.Gameplay.dll
Syntax
public sealed class InventoryMoveResult : ValueType, IEquatable<InventoryMoveResult>

Constructors

InventoryMoveResult(Result, Boolean, Int32)

Result from inventory change set moved items

Declaration
public InventoryMoveResult(Result Result, bool PartialMove, int NumMoved)
Parameters
Type Name Description
Result Result

Normal result from item inventory move changes

System.Boolean PartialMove

whether or not move managed to take all items or only a portion

System.Int32 NumMoved

Properties

NumMoved

Declaration
public int NumMoved { get; set; }
Property Value
Type Description
System.Int32

PartialMove

whether or not move managed to take all items or only a portion

Declaration
public bool PartialMove { get; set; }
Property Value
Type Description
System.Boolean

Result

Normal result from item inventory move changes

Declaration
public Result Result { get; set; }
Property Value
Type Description
Result

Methods

Deconstruct(out Result, out Boolean, out Int32)

Declaration
public void Deconstruct(out Result Result, out bool PartialMove, out int NumMoved)
Parameters
Type Name Description
Result Result
System.Boolean PartialMove
System.Int32 NumMoved

Equals(InventoryMoveResult)

Declaration
public bool Equals(InventoryMoveResult other)
Parameters
Type Name Description
InventoryMoveResult other
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String

Operators

Equality(InventoryMoveResult, InventoryMoveResult)

Declaration
public static bool operator ==(InventoryMoveResult left, InventoryMoveResult right)
Parameters
Type Name Description
InventoryMoveResult left
InventoryMoveResult right
Returns
Type Description
System.Boolean

Implicit(Result to InventoryMoveResult)

Declaration
public static implicit operator InventoryMoveResult(Result value)
Parameters
Type Name Description
Result value
Returns
Type Description
InventoryMoveResult

Implicit((Result, Boolean, Int32) to InventoryMoveResult)

Declaration
public static implicit operator InventoryMoveResult((Result, bool, int) value)
Parameters
Type Name Description
System.ValueTuple<Result, System.Boolean, System.Int32> value
Returns
Type Description
InventoryMoveResult

Implicit((InventoryMoveResult, Boolean, Int32) to InventoryMoveResult)

Declaration
public static implicit operator InventoryMoveResult((InventoryMoveResult, bool, int) value)
Parameters
Type Name Description
System.ValueTuple<InventoryMoveResult, System.Boolean, System.Int32> value
Returns
Type Description
InventoryMoveResult

Inequality(InventoryMoveResult, InventoryMoveResult)

Declaration
public static bool operator !=(InventoryMoveResult left, InventoryMoveResult right)
Parameters
Type Name Description
InventoryMoveResult left
InventoryMoveResult right
Returns
Type Description
System.Boolean

Implements

System.IEquatable<>

Extension Methods

TagUtils.TagNames(Object, Boolean)
TagUtils.TagDisplayNames(Object, Boolean)
ClientSetViewExtensions.SetClassOfProperty(Object, Player, String, String, Int32)
TypeTooltipExtensions.UILinkGeneric(Object)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾