C# Class Codebreak.Service.World.Game.Exchange.StorageExchange

Inheritance: AbstractExchange
Show file Open project: hussein-aitlahcen/codebreak

Public Methods

Method Description
AddItem ( AbstractEntity actor, long guid, int quantity, long price = -1 ) : int

Create ( ) : void

Leave ( bool success = false ) : void

MoveKamas ( AbstractEntity actor, long quantity ) : long

RemoveItem ( AbstractEntity actor, long guid, int quantity ) : int

SendItemsList ( ) : void

StorageExchange ( CharacterEntity character, StorageInventory storage, ExchangeTypeEnum type = ExchangeTypeEnum.EXCHANGE_STORAGE ) : System

Method Details

AddItem() public method

public AddItem ( AbstractEntity actor, long guid, int quantity, long price = -1 ) : int
actor Codebreak.Service.World.Game.Entity.AbstractEntity
guid long
quantity int
price long
return int

Create() public method

public Create ( ) : void
return void

Leave() public method

public Leave ( bool success = false ) : void
success bool
return void

MoveKamas() public method

public MoveKamas ( AbstractEntity actor, long quantity ) : long
actor Codebreak.Service.World.Game.Entity.AbstractEntity
quantity long
return long

RemoveItem() public method

public RemoveItem ( AbstractEntity actor, long guid, int quantity ) : int
actor Codebreak.Service.World.Game.Entity.AbstractEntity
guid long
quantity int
return int

SendItemsList() public method

public SendItemsList ( ) : void
return void

StorageExchange() public method

public StorageExchange ( CharacterEntity character, StorageInventory storage, ExchangeTypeEnum type = ExchangeTypeEnum.EXCHANGE_STORAGE ) : System
character Codebreak.Service.World.Game.Entity.CharacterEntity
storage Codebreak.Service.World.Game.Entity.Inventory.StorageInventory
type ExchangeTypeEnum
return System