TITLE getStackSize
MAX_WIDTH

TEXT --{
int getStackSize(slotId)

返回指定物品槽中的物品的数量，物品槽为空时返回-1

- slotId (int): 物品槽id
}--