OnResListRefresh

On resource list is being refreshed

Parameters description

ParameterTypeDescriptionRequired

resName

string|'any'|?

The resource name or nil for the cur one

no

cb

fun(resource: string)

The function that triggers when res start

yes

Example

HRLib.OnStarting('any', function(resource)
    print(('The resource %s is starting'):format(resource))
end)

Last updated