dreamworkAPI
Ctrl K
GitHub
classDocs / Class

Class

classsharedmenusource
Object → Class

A general structure for every class that created with class library.

Fields

NameTypeDescription
__baseObjectThe base of the class. READ ONLY
__parent?ClassThe parent of the class. READ ONLY
__new?Class.__newA function that will be called instead of the default object creation, if it returns a non-nil value, it will be used as the result and __init will not be called.
__inherited?Class.__inheritedThe function that will be called when the class or any of its children is inherited, it is not copied to children.
Generated from the dreamwork meta branch.