Dota 2 Workshop Tools/Scripting/API/CDOTA BaseNPC Hero.HasRoomForItem

From Valve Developer Community
Jump to navigation Jump to search
Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

int HasRoomForItem(string a, bool b, bool c)

Args: const char* pItemName, bool bIncludeStashCombines, bool bAllowSelling


Parameters

Type Name Description
string a Item Name
bool b Includes Stash Combines
bool c Allow Selling

Returns

int - 0:Room Available on Hero, 2:Will Combine on Hero, 3:Stacking Room Available on Hero, 4:Item will be moved into the stash