C# Class SEToolbox.Models.InventoryEditorModel

Inheritance: BaseModel
Show file Open project: midspace/SEToolbox Class Usage Examples

Private Properties

Property Type Description
Additem void
CreateItem InventoryModel
RemoveItem void
UpdateGeneralFromEntityBase void

Public Methods

Method Description
InventoryEditorModel ( VRage.Game.MyObjectBuilder_Inventory inventory, float maxVolume, VRage.Game.MyObjectBuilder_Character character = null ) : System
InventoryEditorModel ( bool isValid ) : System

Private Methods

Method Description
Additem ( VRage.Game.MyObjectBuilder_InventoryItem item ) : void
CreateItem ( VRage.Game.MyObjectBuilder_InventoryItem item, string contentPath ) : InventoryModel
RemoveItem ( int index ) : void
UpdateGeneralFromEntityBase ( ) : void

Method Details

InventoryEditorModel() public method

public InventoryEditorModel ( VRage.Game.MyObjectBuilder_Inventory inventory, float maxVolume, VRage.Game.MyObjectBuilder_Character character = null ) : System
inventory VRage.Game.MyObjectBuilder_Inventory
maxVolume float
character VRage.Game.MyObjectBuilder_Character
return System

InventoryEditorModel() public method

public InventoryEditorModel ( bool isValid ) : System
isValid bool
return System