Barotrauma Client Doc
Barotrauma.Location.TakenItem Class Reference

Public Member Functions

 TakenItem (Identifier identifier, UInt16 originalID, int originalContainerIndex, ushort moduleIndex)
 
 TakenItem (Item item)
 
bool IsEqual (TakenItem obj)
 
bool Matches (Item item)
 

Public Attributes

readonly ushort OriginalID
 
readonly ushort ModuleIndex
 
readonly Identifier Identifier
 
readonly int OriginalContainerIndex
 

Detailed Description

Definition at line 13 of file Location.cs.

Constructor & Destructor Documentation

◆ TakenItem() [1/2]

Barotrauma.Location.TakenItem.TakenItem ( Identifier  identifier,
UInt16  originalID,
int  originalContainerIndex,
ushort  moduleIndex 
)

Definition at line 20 of file Location.cs.

◆ TakenItem() [2/2]

Barotrauma.Location.TakenItem.TakenItem ( Item  item)

Definition at line 28 of file Location.cs.

Member Function Documentation

◆ IsEqual()

bool Barotrauma.Location.TakenItem.IsEqual ( TakenItem  obj)

Definition at line 38 of file Location.cs.

◆ Matches()

bool Barotrauma.Location.TakenItem.Matches ( Item  item)

Definition at line 43 of file Location.cs.

Member Data Documentation

◆ Identifier

readonly Identifier Barotrauma.Location.TakenItem.Identifier

Definition at line 17 of file Location.cs.

◆ ModuleIndex

readonly ushort Barotrauma.Location.TakenItem.ModuleIndex

Definition at line 16 of file Location.cs.

◆ OriginalContainerIndex

readonly int Barotrauma.Location.TakenItem.OriginalContainerIndex

Definition at line 18 of file Location.cs.

◆ OriginalID

readonly ushort Barotrauma.Location.TakenItem.OriginalID

Definition at line 15 of file Location.cs.