SP8_Item_FunctionLibrary {{ currentPage ? currentPage.title : "" }}

Function

Description

Default Use-Case

getNameFromItemSlot

Simple Function, which makes it easier to display the Name of the Item.

By default the Name will shown like this:

<NameOfItem>+<Level>

If Level Stats Per Level contains less then 2 Items, it will display like this:

<NameOfItem>

For displaying the Name inside the Tooltip.

getNameFromItemSlot_WithAmount

Almost the same as getNameFromItemSlot, but it will use the Name of getNameFromItemSlot and show the Name like this:

<Amount>x <getNameFromItemSlot>

Only shows Amount, if the Amount is greater then 1.

For displaying the Name inside the Tooltip.

Used for overwriting Logging SubTypes.

GetItemByItemDT

Simple Function, which checks if the DataTable is valid and returns the Value.

To get easier the Item out of the Data Table.

isCustomDataEqual

For checking if two Custom Data’s are equal.

If you add some Values to the Custom Data and you want that the Inventory Component checks, if those two are different, you need to change this Function.

{{{ content }}}