Barotrauma Client Doc
Barotrauma.CharacterParams.InventoryParams.InventoryItem Class Reference
Inheritance diagram for Barotrauma.CharacterParams.InventoryParams.InventoryItem:
Barotrauma.CharacterParams.SubParam Barotrauma.ISerializableEntity

Public Member Functions

 InventoryItem (ContentXElement element, CharacterParams character)
 
- Public Member Functions inherited from Barotrauma.CharacterParams.SubParam
 SubParam (ContentXElement element, CharacterParams character)
 
virtual bool Deserialize (bool recursive=true)
 
virtual bool Serialize (bool recursive=true)
 
virtual void Reset ()
 
virtual void AddToEditor (ParamsEditor editor, bool recursive=true, int space=0, GUIFont titleFont=null)
 

Properties

override string Name [get]
 
string Identifier [get]
 
- Properties inherited from Barotrauma.CharacterParams.SubParam
virtual string Name [get, set]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
ContentXElement Element [get, set]
 
List< SubParamSubParams = new List<SubParam>() [get, set]
 
CharacterParams Character [get]
 
SerializableEntityEditor SerializableEntityEditor [get, protected set]
 
- Properties inherited from Barotrauma.ISerializableEntity
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Barotrauma.CharacterParams.SubParam
ContentXElement CreateElement (string name, params object[] attrs)
 
bool RemoveSubParam< T > (T subParam, IList< T > collection=null)
 

Detailed Description

Definition at line 577 of file CharacterParams.cs.

Constructor & Destructor Documentation

◆ InventoryItem()

Barotrauma.CharacterParams.InventoryParams.InventoryItem.InventoryItem ( ContentXElement  element,
CharacterParams  character 
)

Definition at line 584 of file CharacterParams.cs.

Property Documentation

◆ Identifier

string Barotrauma.CharacterParams.InventoryParams.InventoryItem.Identifier
get

Definition at line 582 of file CharacterParams.cs.

◆ Name

override string Barotrauma.CharacterParams.InventoryParams.InventoryItem.Name
get

Definition at line 579 of file CharacterParams.cs.