C# Class Codebreak.Service.World.Game.Entity.Inventory.EntityInventory

Inheritance: PersistentInventory
Show file Open project: hussein-aitlahcen/codebreak Class Usage Examples

Public Methods

Method Description
AddSet ( ItemDAO item ) : void

EntityInventory ( AbstractEntity entity, int type, long id ) : System

Initialize ( ) : void

MoveItem ( ItemDAO item, ItemSlotEnum slot, int quantity = 1 ) : void

RemoveItem ( long itemId, int quantity = 1 ) : ItemDAO

RemoveItems ( ) : IEnumerable

RemoveSet ( ItemDAO item ) : void

SendSets ( ) : void

SerializeAs_ActorLookMessage ( StringBuilder message ) : void

Method Details

AddSet() public method

public AddSet ( ItemDAO item ) : void
item ItemDAO
return void

EntityInventory() public method

public EntityInventory ( AbstractEntity entity, int type, long id ) : System
entity AbstractEntity
type int
id long
return System

Initialize() public method

public Initialize ( ) : void
return void

MoveItem() public method

public MoveItem ( ItemDAO item, ItemSlotEnum slot, int quantity = 1 ) : void
item ItemDAO
slot ItemSlotEnum
quantity int
return void

RemoveItem() public method

public RemoveItem ( long itemId, int quantity = 1 ) : ItemDAO
itemId long
quantity int
return ItemDAO

RemoveItems() public method

public RemoveItems ( ) : IEnumerable
return IEnumerable

RemoveSet() public method

public RemoveSet ( ItemDAO item ) : void
item ItemDAO
return void

SendSets() public method

public SendSets ( ) : void
return void

SerializeAs_ActorLookMessage() public method

public SerializeAs_ActorLookMessage ( StringBuilder message ) : void
message StringBuilder
return void