Method | Description | |
---|---|---|
AddGoldAmount ( int amount ) : void | ||
BuyItem ( Item originalItem ) : void | ||
Consume ( Mooege.Net.GS.GameClient client, GameMessage message ) : void | ||
DestroyInventoryItem ( Item item ) : void | ||
EquipItem ( Item item, int slot ) : void |
Used for equiping item after game starts TOOD: Needs rewrite
|
|
GetGoldAmount ( ) : int | ||
GetItem ( uint itemId ) : Item | ||
GetRune ( int skillIndex ) : Item |
Returns rune in skill's socket
|
|
GetVisualEquipment ( ) : D3.Hero.VisualEquipment | ||
HandleInventoryRequestMoveMessage ( Mooege.Net.GS.Message.Definitions.Inventory.InventoryRequestMoveMessage request ) : void |
Handles a request to move an item within the inventory. This covers moving items within the backpack, from equipment slot to backpack and from backpack to equipment slot
|
|
HandleInventoryRequestQuickMoveMessage ( InventoryRequestQuickMoveMessage request ) : void |
Handles a request to move an item from stash the inventory and back
|
|
HasInventorySpace ( Item item ) : bool | ||
Inventory ( Player owner ) : System | ||
LoadFromDB ( ) : void | ||
OnInventorySplitStackMessage ( InventorySplitStackMessage msg ) : void |
Transfers an amount from one stack to a free space
|
|
OnInventoryStackTransferMessage ( InventoryStackTransferMessage msg ) : void |
Transfers an amount from one stack to another
|
|
PickUp ( Item item ) : bool |
Picks an item up after client request
|
|
PickUpGold ( uint itemID ) : void | ||
RemoveGoldAmount ( int amount ) : void | ||
RemoveRune ( int skillIndex ) : Item |
Visually removes rune from skill. Also removes effect of that rune
|
|
Reveal ( Player player ) : bool | ||
SaveToDB ( ) : void | ||
SendVisualInventory ( Player player ) : void |
Refreshes the visual appearance of the hero
|
|
SetRune ( Item rune, int powerSNOId, int skillIndex ) : void |
Visually adds rune to skill (move from backpack to runes' slot)
|
|
SpawnItem ( Item item ) : void | ||
Unreveal ( Player player ) : bool |
Method | Description | |
---|---|---|
AcceptMoveRequest ( Item item ) : void | ||
FindSameItems ( int gbid ) : List |
||
IsValidEquipmentRequest ( Item item, int equipmentSlot ) : bool |
Checks if Item can be equipped at that slot. Handels equipment for Two-Handed-Weapons.
|
|
OnBuySharedStashSlots ( RequestBuySharedStashSlotsMessage requestBuySharedStashSlotsMessage ) : void | ||
OnInventoryDropItemMessage ( InventoryDropItemMessage msg ) : void | ||
OnInventoryRequestUseMessage ( InventoryRequestUseMessage inventoryRequestUseMessage ) : void | ||
SaveItemToDB ( DBGameAccount dbGameAccount, DBToon dbToon, EquipmentSlotId slotId, Item item ) : void |
public Consume ( Mooege.Net.GS.GameClient client, GameMessage message ) : void | ||
client | Mooege.Net.GS.GameClient | |
message | GameMessage | |
return | void |
public DestroyInventoryItem ( Item item ) : void | ||
item | Item | |
return | void |
public EquipItem ( Item item, int slot ) : void | ||
item | Item | |
slot | int | |
return | void |
public GetVisualEquipment ( ) : D3.Hero.VisualEquipment | ||
return | D3.Hero.VisualEquipment |
public HandleInventoryRequestMoveMessage ( Mooege.Net.GS.Message.Definitions.Inventory.InventoryRequestMoveMessage request ) : void | ||
request | Mooege.Net.GS.Message.Definitions.Inventory.InventoryRequestMoveMessage | |
return | void |
public HandleInventoryRequestQuickMoveMessage ( InventoryRequestQuickMoveMessage request ) : void | ||
request | InventoryRequestQuickMoveMessage | |
return | void |
public HasInventorySpace ( Item item ) : bool | ||
item | Item | |
return | bool |
public OnInventorySplitStackMessage ( InventorySplitStackMessage msg ) : void | ||
msg | InventorySplitStackMessage | |
return | void |
public OnInventoryStackTransferMessage ( InventoryStackTransferMessage msg ) : void | ||
msg | InventoryStackTransferMessage | |
return | void |
public RemoveGoldAmount ( int amount ) : void | ||
amount | int | |
return | void |
public SendVisualInventory ( Player player ) : void | ||
player | Player | |
return | void |
public SetRune ( Item rune, int powerSNOId, int skillIndex ) : void | ||
rune | Item | |
powerSNOId | int | |
skillIndex | int | |
return | void |