class Godot::ClassRegistry::Entry

Defined in:

libgodot/macros.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

try?(&)
try?
try?

Constructor Detail

def self.new(class_name : String, parent_name : String, create_proc : Pointer(Void) -> Object, is_tool : Bool = false, has_ready : Bool = false, has_process : Bool = false, has_physics_process : Bool = false, has_enter_tree : Bool = false, has_exit_tree : Bool = false, has_input : Bool = false, has_unhandled_input : Bool = false, has_unhandled_key_input : Bool = false, has_shortcut_input : Bool = false, has_gui_input : Bool = false, properties : Array(PropertyInfo) = [] of PropertyInfo, signals : Array(SignalInfo) = [] of SignalInfo, icon_path : String = "", is_abstract : Bool = false, rpc_methods : Array(NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32)) = [] of NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32), has_virtual_proc : String -> Bool | Nil = nil, constants : Array(ConstantInfo) = [] of ConstantInfo, methods : Array(String) = [] of String, script_path : String = "", is_autoload : Bool = false, autoload_name : String = "", autoload_singleton : Bool = true, autoload_mount_tree : Bool = true, set_autoload_proc : Object | Nil -> Void | Nil = nil, init_proc : -> Void | Nil = nil, deinit_proc : -> Void | Nil = nil) #

Instance Method Detail

def autoload_mount_tree : Bool #

def autoload_mount_tree=(autoload_mount_tree : Bool) #

def autoload_name : String #

def autoload_name=(autoload_name : String) #

def autoload_singleton : Bool #

def autoload_singleton=(autoload_singleton : Bool) #

def class_name : String #

def constants : Array(ConstantInfo) #

def constants=(constants : Array(ConstantInfo)) #

def create_proc : Pointer(Void) -> Object #

def deinit_proc : -> Void | Nil #

def deinit_proc=(deinit_proc : -> Void | Nil) #

def has_enter_tree : Bool #

def has_enter_tree=(has_enter_tree : Bool) #

def has_exit_tree : Bool #

def has_exit_tree=(has_exit_tree : Bool) #

def has_gui_input : Bool #

def has_gui_input=(has_gui_input : Bool) #

def has_input : Bool #

def has_input=(has_input : Bool) #

def has_physics_process : Bool #

def has_physics_process=(has_physics_process : Bool) #

def has_process : Bool #

def has_process=(has_process : Bool) #

def has_ready : Bool #

def has_ready=(has_ready : Bool) #

def has_shortcut_input : Bool #

def has_shortcut_input=(has_shortcut_input : Bool) #

def has_unhandled_input : Bool #

def has_unhandled_input=(has_unhandled_input : Bool) #

def has_unhandled_key_input : Bool #

def has_unhandled_key_input=(has_unhandled_key_input : Bool) #

def has_virtual_method?(name : String) : Bool #

def has_virtual_proc : String -> Bool | Nil #

def has_virtual_proc=(has_virtual_proc : String -> Bool | Nil) #

def icon_path : String #

def icon_path=(icon_path : String) #

def init_proc : -> Void | Nil #

def init_proc=(init_proc : -> Void | Nil) #

def is_abstract : Bool #

def is_abstract=(is_abstract : Bool) #

def is_autoload : Bool #

def is_autoload=(is_autoload : Bool) #

def is_tool : Bool #

def is_tool=(is_tool : Bool) #

def methods : Array(String) #

def methods=(methods : Array(String)) #

def parent_name : String #

def properties : Array(PropertyInfo) #

def properties=(properties : Array(PropertyInfo)) #

def rpc_methods : Array(NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32)) #

def rpc_methods=(rpc_methods : Array(NamedTuple(name: String, rpc_mode: Int32, transfer_mode: Int32, call_local: Bool, channel: Int32))) #

def script_path : String #

def script_path=(script_path : String) #

def set_autoload_proc : Object | Nil -> Void | Nil #

def set_autoload_proc=(set_autoload_proc : Object | Nil -> Void | Nil) #

def signals : Array(SignalInfo) #

def signals=(signals : Array(SignalInfo)) #