private static extern void Object_SubscribeToEvent(IntPtr nativeInstance, StringHash eventType, void_function_StringHash_VariantMap function);
// public Object(Context context) : this(Object_Object(context.NativeInstance), context) { } protected void SubscribeToEvent(StringHash eventType, void_function_StringHash_VariantMap function) { storage.Add(function); Object_SubscribeToEvent(NativeInstance, eventType, function); }