c16d00591b
- Makes vararg methods automatically use PROPERTY_USAGE_NIL_IS_VARIANT on return types - Completely removes the ":type" suffix for method names. Virtual methods must use the MethodInfo constructors that takes Variant::Type or PropertyHint as the first parameter for the return type (with CLASS_INFO as a helper to get the PropertyInfo). Parameters must use PROPERTY_HINT_RESOURCE_TYPE and hint string. - PROPERTY_USAGE_NIL_IS_VARIANT is no longer needed for parameters, because parameters cannot be void. - Adds missing PROPERTY_USAGE_NIL_IS_VARIANT to virtual and built-in methods that return Variant. |
||
---|---|---|
.. | ||
config.py | ||
register_types.cpp | ||
register_types.h | ||
SCsub | ||
visual_script_builtin_funcs.cpp | ||
visual_script_builtin_funcs.h | ||
visual_script_editor.cpp | ||
visual_script_editor.h | ||
visual_script_expression.cpp | ||
visual_script_expression.h | ||
visual_script_flow_control.cpp | ||
visual_script_flow_control.h | ||
visual_script_func_nodes.cpp | ||
visual_script_func_nodes.h | ||
visual_script_nodes.cpp | ||
visual_script_nodes.h | ||
visual_script_yield_nodes.cpp | ||
visual_script_yield_nodes.h | ||
visual_script.cpp | ||
visual_script.h |