//--------------------------------------------------------------------------------------- void register_bindings() { g_class_name = ASymbol::create_existing("Vector3"); g_class_p = SSBrain::get_class(g_class_name); SS_ASSERTX(g_class_p, "Tried to register bindings for class 'Vector3' but it is unknown!"); g_class_p->register_method_func_bulk(methods_i, A_COUNT_OF(methods_i), SSBindFlag_instance_no_rebind); }
void SkVector2::register_bindings() { tBindingBase::register_bindings("Vector2"); ms_class_p->register_method_func_bulk(SkVector2_Impl::methods_i, A_COUNT_OF(SkVector2_Impl::methods_i), SkBindFlag_instance_no_rebind); ms_class_p->register_raw_accessor_func(&SkUEClassBindingHelper::access_raw_data_struct<SkVector2>); SkUEClassBindingHelper::resolve_raw_data_struct(ms_class_p, TEXT("Vector2D")); }
void USkookumScriptListener::push_event_and_resume(EventInfo * event_p, uint32_t num_arguments) { #if (SKOOKUM & SK_DEBUG) for (uint32_t i = 0; i < num_arguments; ++i) SK_ASSERTX(event_p->m_argument_p[i], "All event arguments must be set."); for (uint32_t i = num_arguments; i < A_COUNT_OF(event_p->m_argument_p); ++i) SK_ASSERTX(!event_p->m_argument_p[i], "Unused event arguments must be left alone."); SK_ASSERTX(m_num_arguments == 0 || m_num_arguments == num_arguments, "All events must have same argument count."); #endif m_num_arguments = num_arguments; m_event_queue.append(event_p); if (m_coro_p.is_valid()) m_coro_p->resume(); }
void SkUEActor_Ext::register_bindings() { ms_class_p->register_method_func_bulk(SkUEActor_Impl::methods_i2, A_COUNT_OF(SkUEActor_Impl::methods_i2), SkBindFlag_instance_no_rebind); ms_class_p->register_method_func_bulk(SkUEActor_Impl::methods_c2, A_COUNT_OF(SkUEActor_Impl::methods_c2), SkBindFlag_class_no_rebind); }
void SkVector2::register_bindings() { tBindingBase::register_bindings("Vector2"); ms_class_p->register_method_func_bulk(SkVector2_Impl::methods_i, A_COUNT_OF(SkVector2_Impl::methods_i), SkBindFlag_instance_no_rebind); }
void SkUEEntity_Ext::register_bindings() { ms_class_p->register_method_func_bulk(SkUEEntity_Impl::methods_i2, A_COUNT_OF(SkUEEntity_Impl::methods_i2), SkBindFlag_instance_no_rebind); ms_class_p->register_method_func_bulk(SkUEEntity_Impl::methods_c2, A_COUNT_OF(SkUEEntity_Impl::methods_c2), SkBindFlag_class_no_rebind); ms_class_p->register_coroutine_func("_wait_until_destroyed", SkUEEntity_Impl::coro_wait_until_destroyed, SkBindFlag_instance_no_rebind); }
//--------------------------------------------------------------------------------------- void SkUEDelegate::register_bindings() { tBindingBase::register_bindings("Delegate"); ms_class_p->register_method_func_bulk(SkUEDelegate_Impl::methods_i, A_COUNT_OF(SkUEDelegate_Impl::methods_i), SkBindFlag_instance_no_rebind); }