nanos world API Reference Unofficial documentation
Event Shared

Entity.ClassRegister

Triggered when a new Class is registered with the <a href='/docs/core-concepts/scripting/inheriting-classes'>Inheriting System</a>

Syntax

Lua
Entity.Subscribe("ClassRegister", function(class)
    -- il tuo codice
end)

Arguments

Name Type Default Description
class table The inherited Class