Skip to content

__Struct__

Hyomoto edited this page Jun 13, 2021 · 3 revisions
Jump To Go Back Methods Variables

Struct( )

The struct base implements a type checking system and Self access for inherited constructors. The Type feature allows constructors to be looked up by their implement chains rather than plain text function name. Using struct_type( self, __Struct__ ) will return false because the implementation of Type is sufficient evidence. The Self variable will return the constructor id that the final struct was created from.

Methods

Jump To top

Variables

Jump To top
Name Type Initial Purpose
Type struct {} Holds the type map so heritage can be inspected
Self int asset_get_index( instanceof( self ) ) The index of the final constructor in the inheritance chain.
Clone this wiki locally