Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 AddGoldAmount ( int amount ) : void | ||
amount | int | |
Результат | void |
public BuyItem ( Item originalItem ) : void | ||
originalItem | Item | |
Результат | void |
public Consume ( Mooege.Net.GS.GameClient client, GameMessage message ) : void | ||
client | Mooege.Net.GS.GameClient | |
message | GameMessage | |
Результат | void |
public DestroyInventoryItem ( Item item ) : void | ||
item | Item | |
Результат | void |
public EquipItem ( Item item, int slot ) : void | ||
item | Item | |
slot | int | |
Результат | void |
public GetVisualEquipment ( ) : D3.Hero.VisualEquipment | ||
Результат | D3.Hero.VisualEquipment |
public HandleInventoryRequestMoveMessage ( Mooege.Net.GS.Message.Definitions.Inventory.InventoryRequestMoveMessage request ) : void | ||
request | Mooege.Net.GS.Message.Definitions.Inventory.InventoryRequestMoveMessage | |
Результат | void |
public HandleInventoryRequestQuickMoveMessage ( InventoryRequestQuickMoveMessage request ) : void | ||
request | InventoryRequestQuickMoveMessage | |
Результат | void |
public HasInventorySpace ( Item item ) : bool | ||
item | Item | |
Результат | bool |
public Inventory ( Player owner ) : System | ||
owner | Player | |
Результат | System |
public OnInventorySplitStackMessage ( InventorySplitStackMessage msg ) : void | ||
msg | InventorySplitStackMessage | |
Результат | void |
public OnInventoryStackTransferMessage ( InventoryStackTransferMessage msg ) : void | ||
msg | InventoryStackTransferMessage | |
Результат | void |
public RemoveGoldAmount ( int amount ) : void | ||
amount | int | |
Результат | void |
public RemoveRune ( int skillIndex ) : Item | ||
skillIndex | int | |
Результат | Item |
public SendVisualInventory ( Player player ) : void | ||
player | Player | |
Результат | void |
public SetRune ( Item rune, int powerSNOId, int skillIndex ) : void | ||
rune | Item | |
powerSNOId | int | |
skillIndex | int | |
Результат | void |