Misc


SRL.GetXPAtLevel

function SRL.GetXPAtLevel(level:Int32): Int32;

Given a level it returns the minimum XP needed for it.


SRL.GetLevelAtXP

function SRL.GetLevelAtXP(XP:UInt32): Int32;

Given some XP, it returns what level that is.


SRL.GetItemAmount

function SRL.GetItemAmount(constref Area: TBox): Int32;

For use with items in like bankscreen, inventory, shops and so on to get the number of stacked items there are.