Skip to navigation

Lock one or more skill names, so they can’t be overwritten, unregistered, or cleared. The built-in skills are locked, so a built-in can’t be replaced by removing it and registering another class under its name. If called with no arguments, locks all currently registered skills.

Parameters

names
string[]

Skill names to lock. If omitted, all current names are locked.

Returns

void