AddItemToInventory | function AddItemToInventory(H7HeroItem Item, optional int PosX = -1, optional int PosY = -1, optional bool byTrade = false) |
AddItemToInventoryComplete | native function AddItemToInventoryComplete(H7HeroItem Item, optional int PosX = -1, optional int PosY = -1, optional bool byTrade = false) |
AddUsedConsumable | function AddUsedConsumable(H7HeroItem Item) |
CleanItemsAfterCombat | native function CleanItemsAfterCombat() |
CountItem | function int CountItem(H7HeroItem Item) |
DeleteUsedConsumables | function DeleteUsedConsumables() |
Deserialize | function Deserialize(JsonObject Data) |
DeserializeReferences | function DeserializeReferences(JsonObject Data, SaveGameState Savegame) |
GetItem | function H7HeroItem GetItem(H7HeroItem Item) |
GetItemByID | native function H7HeroItem GetItemByID(int Id, optional bool suppressWarning) |
GetItemByName | native function H7HeroItem GetItemByName(string ItemName) |
GetItemByPosition | native function H7HeroItem GetItemByPosition(int X, int Y) |
GetItemPosByIndex | function IntPoint GetItemPosByIndex(int Index) |
GetItemPosByItem | function IntPoint GetItemPosByItem(H7HeroItem Item) |
GetItemPoses | function array<IntPoint> GetItemPoses() |
GetItems | function array<H7HeroItem> GetItems() |
getItemsByPosition | function array<H7HeroItem> getItemsByPosition(int X, int Y) |
GetTotalCountOfScroll | function int GetTotalCountOfScroll(H7HeroItem scroll) |
GetTotalCountOfScrollsOnPosition | function int GetTotalCountOfScrollsOnPosition(H7HeroItem scroll, IntPoint scrollPos) |
GetUsedConsumable | function array<H7HeroItem> GetUsedConsumable() |
HasItem | function bool HasItem(H7HeroItem Item) |
Init | function Init(H7EditorHero NewOwner, optional bool fromSave = false) |
PostSerialize | event PostSerialize() |
RemoveItem | function RemoveItem(H7HeroItem Item) |
RemoveItemByID | function RemoveItemByID(int ItemId) |
RemoveItemComplete | event RemoveItemComplete(H7HeroItem Item) |
RemoveItemStackByID | function RemoveItemStackByID(int ItemId) |
Serialize | function JsonObject Serialize() |
SetItemPos | function SetItemPos(int ItemId, int X, int Y, optional bool ignoreReplication = false) |
SetItemPosComplete | event SetItemPosComplete(int ItemId, int X, int Y) |
SetItemPosStack | function SetItemPosStack(int ItemId, int X, int Y) |