2
0
Эх сурвалжийг харах

AS Bindings: Workarounds for Connection that used outside URHO3D_NETWORK define (#2733)

This restore working of AS examples when engine builded without network
1vanK 5 жил өмнө
parent
commit
305214ccd5

+ 3 - 3
Source/Urho3D/AngelScript/Generated_Members_A.cpp

@@ -754,7 +754,7 @@ void ASRegisterGenerated_Members_A(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("AnimatedModel", "void CleanupConnection(Connection@+)", asMETHODPR(AnimatedModel, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void AnimatedModel::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/AnimatedModel.h
     engine->RegisterObjectMethod("AnimatedModel", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(AnimatedModel, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool StaticModel::DrawOcclusion(OcclusionBuffer* buffer) override | File: ../Graphics/StaticModel.h
@@ -1307,7 +1307,7 @@ void ASRegisterGenerated_Members_A(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("AnimatedSprite2D", "void CleanupConnection(Connection@+)", asMETHODPR(AnimatedSprite2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("AnimatedSprite2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(AnimatedSprite2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -2102,7 +2102,7 @@ void ASRegisterGenerated_Members_A(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("AnimationController", "void CleanupConnection(Connection@+)", asMETHODPR(AnimationController, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("AnimationController", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(AnimationController, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool AnimationController::Fade(const String& name, float targetWeight, float fadeTime) | File: ../Graphics/AnimationController.h

+ 1 - 1
Source/Urho3D/AngelScript/Generated_Members_B.cpp

@@ -259,7 +259,7 @@ void ASRegisterGenerated_Members_B(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("BillboardSet", "void CleanupConnection(Connection@+)", asMETHODPR(BillboardSet, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void BillboardSet::Commit() | File: ../Graphics/BillboardSet.h
     engine->RegisterObjectMethod("BillboardSet", "void Commit()", asMETHODPR(BillboardSet, Commit, (), void), asCALL_THISCALL);
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h

+ 1 - 1
Source/Urho3D/AngelScript/Generated_Members_Ca_Cm.cpp

@@ -99,7 +99,7 @@ void ASRegisterGenerated_Members_Ca_Cm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Camera", "void CleanupConnection(Connection@+)", asMETHODPR(Camera, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Camera::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Camera.h
     engine->RegisterObjectMethod("Camera", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Camera, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h

+ 11 - 11
Source/Urho3D/AngelScript/Generated_Members_Cn_Cz.cpp

@@ -504,7 +504,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionBox2D", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionBox2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CollisionBox2D::CollisionBox2D(Context* context) | File: ../Urho2D/CollisionBox2D.h
     engine->RegisterObjectBehaviour("CollisionBox2D", asBEHAVE_FACTORY, "CollisionBox2D@+ f()", asFUNCTION(CollisionBox2D_CollisionBox2D_Context), asCALL_CDECL);
     // void CollisionShape2D::CreateFixture() | File: ../Urho2D/CollisionShape2D.h
@@ -865,7 +865,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionChain2D", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionChain2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CollisionChain2D::CollisionChain2D(Context* context) | File: ../Urho2D/CollisionChain2D.h
     engine->RegisterObjectBehaviour("CollisionChain2D", asBEHAVE_FACTORY, "CollisionChain2D@+ f()", asFUNCTION(CollisionChain2D_CollisionChain2D_Context), asCALL_CDECL);
     // void CollisionShape2D::CreateFixture() | File: ../Urho2D/CollisionShape2D.h
@@ -1228,7 +1228,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionCircle2D", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionCircle2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CollisionCircle2D::CollisionCircle2D(Context* context) | File: ../Urho2D/CollisionCircle2D.h
     engine->RegisterObjectBehaviour("CollisionCircle2D", asBEHAVE_FACTORY, "CollisionCircle2D@+ f()", asFUNCTION(CollisionCircle2D_CollisionCircle2D_Context), asCALL_CDECL);
     // void CollisionShape2D::CreateFixture() | File: ../Urho2D/CollisionShape2D.h
@@ -1581,7 +1581,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionEdge2D", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionEdge2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CollisionEdge2D::CollisionEdge2D(Context* context) | File: ../Urho2D/CollisionEdge2D.h
     engine->RegisterObjectBehaviour("CollisionEdge2D", asBEHAVE_FACTORY, "CollisionEdge2D@+ f()", asFUNCTION(CollisionEdge2D_CollisionEdge2D_Context), asCALL_CDECL);
     // void CollisionShape2D::CreateFixture() | File: ../Urho2D/CollisionShape2D.h
@@ -1934,7 +1934,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionPolygon2D", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionPolygon2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CollisionPolygon2D::CollisionPolygon2D(Context* context) | File: ../Urho2D/CollisionPolygon2D.h
     engine->RegisterObjectBehaviour("CollisionPolygon2D", asBEHAVE_FACTORY, "CollisionPolygon2D@+ f()", asFUNCTION(CollisionPolygon2D_CollisionPolygon2D_Context), asCALL_CDECL);
     // void CollisionShape2D::CreateFixture() | File: ../Urho2D/CollisionShape2D.h
@@ -2291,7 +2291,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionShape", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionShape, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CollisionShape::CollisionShape(Context* context) | File: ../Physics/CollisionShape.h
     engine->RegisterObjectBehaviour("CollisionShape", asBEHAVE_FACTORY, "CollisionShape@+ f()", asFUNCTION(CollisionShape_CollisionShape_Context), asCALL_CDECL);
     // void CollisionShape::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Physics/CollisionShape.h
@@ -2656,7 +2656,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CollisionShape2D", "void CleanupConnection(Connection@+)", asMETHODPR(CollisionShape2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void CollisionShape2D::CreateFixture() | File: ../Urho2D/CollisionShape2D.h
     engine->RegisterObjectMethod("CollisionShape2D", "void CreateFixture()", asMETHODPR(CollisionShape2D, CreateFixture, (), void), asCALL_THISCALL);
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
@@ -3152,7 +3152,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Component", "void CleanupConnection(Connection@+)", asMETHODPR(Component, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit Component::Component(Context* context) | File: ../Scene/Component.h
     engine->RegisterObjectBehaviour("Component", asBEHAVE_FACTORY, "Component@+ f()", asFUNCTION(Component_Component_Context), asCALL_CDECL);
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
@@ -4121,7 +4121,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CrowdAgent", "void CleanupConnection(Connection@+)", asMETHODPR(CrowdAgent, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CrowdAgent::CrowdAgent(Context* context) | File: ../Navigation/CrowdAgent.h
     engine->RegisterObjectBehaviour("CrowdAgent", asBEHAVE_FACTORY, "CrowdAgent@+ f()", asFUNCTION(CrowdAgent_CrowdAgent_Context), asCALL_CDECL);
     // void CrowdAgent::DrawDebugGeometry(bool depthTest) | File: ../Navigation/CrowdAgent.h
@@ -4498,7 +4498,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CrowdManager", "void CleanupConnection(Connection@+)", asMETHODPR(CrowdManager, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit CrowdManager::CrowdManager(Context* context) | File: ../Navigation/CrowdManager.h
     engine->RegisterObjectBehaviour("CrowdManager", asBEHAVE_FACTORY, "CrowdManager@+ f()", asFUNCTION(CrowdManager_CrowdManager_Context), asCALL_CDECL);
     // void CrowdManager::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Navigation/CrowdManager.h
@@ -5716,7 +5716,7 @@ void ASRegisterGenerated_Members_Cn_Cz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("CustomGeometry", "void CleanupConnection(Connection@+)", asMETHODPR(CustomGeometry, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void CustomGeometry::Clear() | File: ../Graphics/CustomGeometry.h
     engine->RegisterObjectMethod("CustomGeometry", "void Clear()", asMETHODPR(CustomGeometry, Clear, (), void), asCALL_THISCALL);
     // void CustomGeometry::Commit() | File: ../Graphics/CustomGeometry.h

+ 13 - 13
Source/Urho3D/AngelScript/Generated_Members_Constraint.cpp

@@ -290,7 +290,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Constraint", "void CleanupConnection(Connection@+)", asMETHODPR(Constraint, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit Constraint::Constraint(Context* context) | File: ../Physics/Constraint.h
     engine->RegisterObjectBehaviour("Constraint", asBEHAVE_FACTORY, "Constraint@+ f()", asFUNCTION(Constraint_Constraint_Context), asCALL_CDECL);
     // void Constraint::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Physics/Constraint.h
@@ -655,7 +655,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Constraint2D", "void CleanupConnection(Connection@+)", asMETHODPR(Constraint2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit Constraint2D::Constraint2D(Context* context) | File: ../Urho2D/Constraint2D.h
     engine->RegisterObjectBehaviour("Constraint2D", asBEHAVE_FACTORY, "Constraint2D@+ f()", asFUNCTION(Constraint2D_Constraint2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -958,7 +958,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintDistance2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintDistance2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintDistance2D::ConstraintDistance2D(Context* context) | File: ../Urho2D/ConstraintDistance2D.h
     engine->RegisterObjectBehaviour("ConstraintDistance2D", asBEHAVE_FACTORY, "ConstraintDistance2D@+ f()", asFUNCTION(ConstraintDistance2D_ConstraintDistance2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -1295,7 +1295,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintFriction2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintFriction2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintFriction2D::ConstraintFriction2D(Context* context) | File: ../Urho2D/ConstraintFriction2D.h
     engine->RegisterObjectBehaviour("ConstraintFriction2D", asBEHAVE_FACTORY, "ConstraintFriction2D@+ f()", asFUNCTION(ConstraintFriction2D_ConstraintFriction2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -1620,7 +1620,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintGear2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintGear2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintGear2D::ConstraintGear2D(Context* context) | File: ../Urho2D/ConstraintGear2D.h
     engine->RegisterObjectBehaviour("ConstraintGear2D", asBEHAVE_FACTORY, "ConstraintGear2D@+ f()", asFUNCTION(ConstraintGear2D_ConstraintGear2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -1945,7 +1945,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintMotor2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintMotor2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintMotor2D::ConstraintMotor2D(Context* context) | File: ../Urho2D/ConstraintMotor2D.h
     engine->RegisterObjectBehaviour("ConstraintMotor2D", asBEHAVE_FACTORY, "ConstraintMotor2D@+ f()", asFUNCTION(ConstraintMotor2D_ConstraintMotor2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -2282,7 +2282,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintMouse2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintMouse2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintMouse2D::ConstraintMouse2D(Context* context) | File: ../Urho2D/ConstraintMouse2D.h
     engine->RegisterObjectBehaviour("ConstraintMouse2D", asBEHAVE_FACTORY, "ConstraintMouse2D@+ f()", asFUNCTION(ConstraintMouse2D_ConstraintMouse2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -2613,7 +2613,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintPrismatic2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintPrismatic2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintPrismatic2D::ConstraintPrismatic2D(Context* context) | File: ../Urho2D/ConstraintPrismatic2D.h
     engine->RegisterObjectBehaviour("ConstraintPrismatic2D", asBEHAVE_FACTORY, "ConstraintPrismatic2D@+ f()", asFUNCTION(ConstraintPrismatic2D_ConstraintPrismatic2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -2968,7 +2968,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintPulley2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintPulley2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintPulley2D::ConstraintPulley2D(Context* context) | File: ../Urho2D/ConstraintPulley2D.h
     engine->RegisterObjectBehaviour("ConstraintPulley2D", asBEHAVE_FACTORY, "ConstraintPulley2D@+ f()", asFUNCTION(ConstraintPulley2D_ConstraintPulley2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -3305,7 +3305,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintRevolute2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintRevolute2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintRevolute2D::ConstraintRevolute2D(Context* context) | File: ../Urho2D/ConstraintRevolute2D.h
     engine->RegisterObjectBehaviour("ConstraintRevolute2D", asBEHAVE_FACTORY, "ConstraintRevolute2D@+ f()", asFUNCTION(ConstraintRevolute2D_ConstraintRevolute2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -3654,7 +3654,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintRope2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintRope2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintRope2D::ConstraintRope2D(Context* context) | File: ../Urho2D/ConstraintRope2D.h
     engine->RegisterObjectBehaviour("ConstraintRope2D", asBEHAVE_FACTORY, "ConstraintRope2D@+ f()", asFUNCTION(ConstraintRope2D_ConstraintRope2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -3979,7 +3979,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintWeld2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintWeld2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintWeld2D::ConstraintWeld2D(Context* context) | File: ../Urho2D/ConstraintWeld2D.h
     engine->RegisterObjectBehaviour("ConstraintWeld2D", asBEHAVE_FACTORY, "ConstraintWeld2D@+ f()", asFUNCTION(ConstraintWeld2D_ConstraintWeld2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h
@@ -4304,7 +4304,7 @@ void ASRegisterGenerated_Members_Constraint(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ConstraintWheel2D", "void CleanupConnection(Connection@+)", asMETHODPR(ConstraintWheel2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit ConstraintWheel2D::ConstraintWheel2D(Context* context) | File: ../Urho2D/ConstraintWheel2D.h
     engine->RegisterObjectBehaviour("ConstraintWheel2D", asBEHAVE_FACTORY, "ConstraintWheel2D@+ f()", asFUNCTION(ConstraintWheel2D_ConstraintWheel2D_Context), asCALL_CDECL);
     // void Constraint2D::CreateJoint() | File: ../Urho2D/Constraint2D.h

+ 5 - 5
Source/Urho3D/AngelScript/Generated_Members_D.cpp

@@ -629,7 +629,7 @@ void ASRegisterGenerated_Members_D(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("DebugRenderer", "void CleanupConnection(Connection@+)", asMETHODPR(DebugRenderer, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit DebugRenderer::DebugRenderer(Context* context) | File: ../Graphics/DebugRenderer.h
     engine->RegisterObjectBehaviour("DebugRenderer", asBEHAVE_FACTORY, "DebugRenderer@+ f()", asFUNCTION(DebugRenderer_DebugRenderer_Context), asCALL_CDECL);
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
@@ -931,7 +931,7 @@ void ASRegisterGenerated_Members_D(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("DecalSet", "void CleanupConnection(Connection@+)", asMETHODPR(DecalSet, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit DecalSet::DecalSet(Context* context) | File: ../Graphics/DecalSet.h
     engine->RegisterObjectBehaviour("DecalSet", asBEHAVE_FACTORY, "DecalSet@+ f()", asFUNCTION(DecalSet_DecalSet_Context), asCALL_CDECL);
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
@@ -1513,7 +1513,7 @@ void ASRegisterGenerated_Members_D(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Drawable", "void CleanupConnection(Connection@+)", asMETHODPR(Drawable, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("Drawable", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Drawable, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -1934,7 +1934,7 @@ void ASRegisterGenerated_Members_D(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Drawable2D", "void CleanupConnection(Connection@+)", asMETHODPR(Drawable2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("Drawable2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Drawable2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -3330,7 +3330,7 @@ void ASRegisterGenerated_Members_D(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("DynamicNavigationMesh", "void CleanupConnection(Connection@+)", asMETHODPR(DynamicNavigationMesh, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void DynamicNavigationMesh::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Navigation/DynamicNavigationMesh.h
     engine->RegisterObjectMethod("DynamicNavigationMesh", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(DynamicNavigationMesh, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // void DynamicNavigationMesh::DrawDebugGeometry(bool depthTest) | File: ../Navigation/DynamicNavigationMesh.h

+ 3 - 3
Source/Urho3D/AngelScript/Generated_Members_I.cpp

@@ -211,7 +211,7 @@ void ASRegisterGenerated_Members_I(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("IKConstraint", "void CleanupConnection(Connection@+)", asMETHODPR(IKConstraint, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("IKConstraint", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(IKConstraint, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -501,7 +501,7 @@ void ASRegisterGenerated_Members_I(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("IKEffector", "void CleanupConnection(Connection@+)", asMETHODPR(IKEffector, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void IKEffector::DrawDebugGeometry(bool depthTest) | File: ../IK/IKEffector.h
     engine->RegisterObjectMethod("IKEffector", "void DrawDebugGeometry(bool)", asMETHODPR(IKEffector, DrawDebugGeometry, (bool), void), asCALL_THISCALL);
     // void IKEffector::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../IK/IKEffector.h
@@ -857,7 +857,7 @@ void ASRegisterGenerated_Members_I(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("IKSolver", "void CleanupConnection(Connection@+)", asMETHODPR(IKSolver, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void IKSolver::DrawDebugGeometry(bool depthTest) | File: ../IK/IKSolver.h
     engine->RegisterObjectMethod("IKSolver", "void DrawDebugGeometry(bool)", asMETHODPR(IKSolver, DrawDebugGeometry, (bool), void), asCALL_THISCALL);
     // void IKSolver::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../IK/IKSolver.h

+ 2 - 2
Source/Urho3D/AngelScript/Generated_Members_L.cpp

@@ -247,7 +247,7 @@ void ASRegisterGenerated_Members_L(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Light", "void CleanupConnection(Connection@+)", asMETHODPR(Light, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Light::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Light.h
     engine->RegisterObjectMethod("Light", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Light, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -2972,7 +2972,7 @@ void ASRegisterGenerated_Members_L(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("LogicComponent", "void CleanupConnection(Connection@+)", asMETHODPR(LogicComponent, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("LogicComponent", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(LogicComponent, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h

+ 7 - 9
Source/Urho3D/AngelScript/Generated_Members_N.cpp

@@ -599,7 +599,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("NavArea", "void CleanupConnection(Connection@+)", asMETHODPR(NavArea, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void NavArea::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Navigation/NavArea.h
     engine->RegisterObjectMethod("NavArea", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(NavArea, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -892,7 +892,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Navigable", "void CleanupConnection(Connection@+)", asMETHODPR(Navigable, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("Navigable", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Navigable, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -1186,7 +1186,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("NavigationMesh", "void CleanupConnection(Connection@+)", asMETHODPR(NavigationMesh, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void NavigationMesh::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Navigation/NavigationMesh.h
     engine->RegisterObjectMethod("NavigationMesh", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(NavigationMesh, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // void NavigationMesh::DrawDebugGeometry(bool depthTest) | File: ../Navigation/NavigationMesh.h
@@ -1822,7 +1822,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // bool NetworkPriority::CheckUpdate(float distance, float& accumulator) | File: ../Network/NetworkPriority.h
     engine->RegisterObjectMethod("NetworkPriority", "bool CheckUpdate(float, float&)", asMETHODPR(NetworkPriority, CheckUpdate, (float, float&), bool), asCALL_THISCALL);
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("NetworkPriority", "void CleanupConnection(Connection@+)", asMETHODPR(NetworkPriority, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("NetworkPriority", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(NetworkPriority, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool NetworkPriority::GetAlwaysUpdateOwner() const | File: ../Network/NetworkPriority.h
@@ -2135,7 +2135,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Node::CleanupConnection(Connection* connection) | File: ../Scene/Node.h
-    engine->RegisterObjectMethod("Node", "void CleanupConnection(Connection@+)", asMETHODPR(Node, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // Node* Node::Clone(CreateMode mode=REPLICATED) | File: ../Scene/Node.h
     engine->RegisterObjectMethod("Node", "Node@+ Clone(CreateMode = REPLICATED)", asMETHODPR(Node, Clone, (CreateMode), Node*), asCALL_THISCALL);
     // Component* Node::CloneComponent(Component* component, unsigned id=0) | File: ../Scene/Node.h
@@ -2285,8 +2285,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // template<class T> T*  Node::GetOrCreateComponent(CreateMode mode=REPLICATED, unsigned id=0) | File: ../Scene/Node.h
     // Not registered because template
     // Connection* Node::GetOwner() const | File: ../Scene/Node.h
-    engine->RegisterObjectMethod("Node", "Connection@+ GetOwner() const", asMETHODPR(Node, GetOwner, () const, Connection*), asCALL_THISCALL);
-    engine->RegisterObjectMethod("Node", "Connection@+ get_owner() const", asMETHODPR(Node, GetOwner, () const, Connection*), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // Node* Node::GetParent() const | File: ../Scene/Node.h
     engine->RegisterObjectMethod("Node", "Node@+ GetParent() const", asMETHODPR(Node, GetParent, () const, Node*), asCALL_THISCALL);
     engine->RegisterObjectMethod("Node", "Node@+ get_parent() const", asMETHODPR(Node, GetParent, () const, Node*), asCALL_THISCALL);
@@ -2596,8 +2595,7 @@ void ASRegisterGenerated_Members_N(asIScriptEngine* engine)
     // void Animatable::SetObjectAnimationAttr(const ResourceRef& value) | File: ../Scene/Animatable.h
     engine->RegisterObjectMethod("Node", "void SetObjectAnimationAttr(const ResourceRef&in)", asMETHODPR(Node, SetObjectAnimationAttr, (const ResourceRef&), void), asCALL_THISCALL);
     // void Node::SetOwner(Connection* owner) | File: ../Scene/Node.h
-    engine->RegisterObjectMethod("Node", "void SetOwner(Connection@+)", asMETHODPR(Node, SetOwner, (Connection*), void), asCALL_THISCALL);
-    engine->RegisterObjectMethod("Node", "void set_owner(Connection@+)", asMETHODPR(Node, SetOwner, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Node::SetParent(Node* parent) | File: ../Scene/Node.h
     engine->RegisterObjectMethod("Node", "void SetParent(Node@+)", asMETHODPR(Node, SetParent, (Node*), void), asCALL_THISCALL);
     engine->RegisterObjectMethod("Node", "void set_parent(Node@+)", asMETHODPR(Node, SetParent, (Node*), void), asCALL_THISCALL);

+ 3 - 3
Source/Urho3D/AngelScript/Generated_Members_O.cpp

@@ -456,7 +456,7 @@ void ASRegisterGenerated_Members_O(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Obstacle", "void CleanupConnection(Connection@+)", asMETHODPR(Obstacle, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Obstacle::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Navigation/Obstacle.h
     engine->RegisterObjectMethod("Obstacle", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Obstacle, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // void Obstacle::DrawDebugGeometry(bool depthTest) | File: ../Navigation/Obstacle.h
@@ -910,7 +910,7 @@ void ASRegisterGenerated_Members_O(asIScriptEngine* engine)
     // bool Octant::CheckDrawableFit(const BoundingBox& box) const | File: ../Graphics/Octree.h
     engine->RegisterObjectMethod("Octree", "bool CheckDrawableFit(const BoundingBox&in) const", asMETHODPR(Octree, CheckDrawableFit, (const BoundingBox&) const, bool), asCALL_THISCALL);
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Octree", "void CleanupConnection(Connection@+)", asMETHODPR(Octree, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Octant::DeleteChild(unsigned index) | File: ../Graphics/Octree.h
     engine->RegisterObjectMethod("Octree", "void DeleteChild(uint)", asMETHODPR(Octree, DeleteChild, (unsigned), void), asCALL_THISCALL);
     // void Octree::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Octree.h
@@ -1234,7 +1234,7 @@ void ASRegisterGenerated_Members_O(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("OffMeshConnection", "void CleanupConnection(Connection@+)", asMETHODPR(OffMeshConnection, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void OffMeshConnection::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Navigation/OffMeshConnection.h
     engine->RegisterObjectMethod("OffMeshConnection", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(OffMeshConnection, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h

+ 4 - 4
Source/Urho3D/AngelScript/Generated_Members_P.cpp

@@ -1263,7 +1263,7 @@ void ASRegisterGenerated_Members_P(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ParticleEmitter", "void CleanupConnection(Connection@+)", asMETHODPR(ParticleEmitter, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void BillboardSet::Commit() | File: ../Graphics/BillboardSet.h
     engine->RegisterObjectMethod("ParticleEmitter", "void Commit()", asMETHODPR(ParticleEmitter, Commit, (), void), asCALL_THISCALL);
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
@@ -1813,7 +1813,7 @@ void ASRegisterGenerated_Members_P(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("ParticleEmitter2D", "void CleanupConnection(Connection@+)", asMETHODPR(ParticleEmitter2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("ParticleEmitter2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(ParticleEmitter2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -2421,7 +2421,7 @@ void ASRegisterGenerated_Members_P(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("PhysicsWorld", "void CleanupConnection(Connection@+)", asMETHODPR(PhysicsWorld, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void PhysicsWorld::CleanupGeometryCache() | File: ../Physics/PhysicsWorld.h
     engine->RegisterObjectMethod("PhysicsWorld", "void CleanupGeometryCache()", asMETHODPR(PhysicsWorld, CleanupGeometryCache, (), void), asCALL_THISCALL);
     // void PhysicsWorld::ConvexCast(PhysicsRaycastResult& result, CollisionShape* shape, const Vector3& startPos, const Quaternion& startRot, const Vector3& endPos, const Quaternion& endRot, unsigned collisionMask=M_MAX_UNSIGNED) | File: ../Physics/PhysicsWorld.h
@@ -2825,7 +2825,7 @@ void ASRegisterGenerated_Members_P(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("PhysicsWorld2D", "void CleanupConnection(Connection@+)", asMETHODPR(PhysicsWorld2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void PhysicsWorld2D::DrawCircle(const b2Vec2& center, float32 radius, const b2Color& color) override | File: ../Urho2D/PhysicsWorld2D.h
     // Error: type "const b2Vec2&" can not automatically bind
     // void PhysicsWorld2D::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Urho2D/PhysicsWorld2D.h

+ 5 - 5
Source/Urho3D/AngelScript/Generated_Members_R.cpp

@@ -457,7 +457,7 @@ void ASRegisterGenerated_Members_R(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("RaycastVehicle", "void CleanupConnection(Connection@+)", asMETHODPR(RaycastVehicle, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("RaycastVehicle", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(RaycastVehicle, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // void RaycastVehicle::FixedPostUpdate(float timeStep) override | File: ../Physics/RaycastVehicle.h
@@ -1548,7 +1548,7 @@ void ASRegisterGenerated_Members_R(asIScriptEngine* engine)
     // bool Renderer2D::CheckVisibility(Drawable2D* drawable) const | File: ../Urho2D/Renderer2D.h
     engine->RegisterObjectMethod("Renderer2D", "bool CheckVisibility(Drawable2D@+) const", asMETHODPR(Renderer2D, CheckVisibility, (Drawable2D*) const, bool), asCALL_THISCALL);
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Renderer2D", "void CleanupConnection(Connection@+)", asMETHODPR(Renderer2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("Renderer2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Renderer2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -2507,7 +2507,7 @@ void ASRegisterGenerated_Members_R(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("RibbonTrail", "void CleanupConnection(Connection@+)", asMETHODPR(RibbonTrail, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void RibbonTrail::Commit() | File: ../Graphics/RibbonTrail.h
     engine->RegisterObjectMethod("RibbonTrail", "void Commit()", asMETHODPR(RibbonTrail, Commit, (), void), asCALL_THISCALL);
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
@@ -3044,7 +3044,7 @@ void ASRegisterGenerated_Members_R(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("RigidBody", "void CleanupConnection(Connection@+)", asMETHODPR(RigidBody, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void RigidBody::DisableMassUpdate() | File: ../Physics/RigidBody.h
     engine->RegisterObjectMethod("RigidBody", "void DisableMassUpdate()", asMETHODPR(RigidBody, DisableMassUpdate, (), void), asCALL_THISCALL);
     // void RigidBody::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Physics/RigidBody.h
@@ -3536,7 +3536,7 @@ void ASRegisterGenerated_Members_R(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("RigidBody2D", "void CleanupConnection(Connection@+)", asMETHODPR(RigidBody2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void RigidBody2D::CreateBody() | File: ../Urho2D/RigidBody2D.h
     engine->RegisterObjectMethod("RigidBody2D", "void CreateBody()", asMETHODPR(RigidBody2D, CreateBody, (), void), asCALL_THISCALL);
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h

+ 5 - 7
Source/Urho3D/AngelScript/Generated_Members_Sa_Sm.cpp

@@ -425,7 +425,7 @@ void ASRegisterGenerated_Members_Sa_Sm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Scene::CleanupConnection(Connection* connection) | File: ../Scene/Scene.h
-    engine->RegisterObjectMethod("Scene", "void CleanupConnection(Connection@+)", asMETHODPR(Scene, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Scene::Clear(bool clearReplicated=true, bool clearLocal=true) | File: ../Scene/Scene.h
     engine->RegisterObjectMethod("Scene", "void Clear(bool = true, bool = true)", asMETHODPR(Scene, Clear, (bool, bool), void), asCALL_THISCALL);
     // void Scene::ClearRequiredPackageFiles() | File: ../Scene/Scene.h
@@ -615,8 +615,7 @@ void ASRegisterGenerated_Members_Sa_Sm(asIScriptEngine* engine)
     // template<class T> T*  Node::GetOrCreateComponent(CreateMode mode=REPLICATED, unsigned id=0) | File: ../Scene/Node.h
     // Not registered because template
     // Connection* Node::GetOwner() const | File: ../Scene/Node.h
-    engine->RegisterObjectMethod("Scene", "Connection@+ GetOwner() const", asMETHODPR(Scene, GetOwner, () const, Connection*), asCALL_THISCALL);
-    engine->RegisterObjectMethod("Scene", "Connection@+ get_owner() const", asMETHODPR(Scene, GetOwner, () const, Connection*), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // Node* Node::GetParent() const | File: ../Scene/Node.h
     engine->RegisterObjectMethod("Scene", "Node@+ GetParent() const", asMETHODPR(Scene, GetParent, () const, Node*), asCALL_THISCALL);
     engine->RegisterObjectMethod("Scene", "Node@+ get_parent() const", asMETHODPR(Scene, GetParent, () const, Node*), asCALL_THISCALL);
@@ -992,8 +991,7 @@ void ASRegisterGenerated_Members_Sa_Sm(asIScriptEngine* engine)
     // void Animatable::SetObjectAnimationAttr(const ResourceRef& value) | File: ../Scene/Animatable.h
     engine->RegisterObjectMethod("Scene", "void SetObjectAnimationAttr(const ResourceRef&in)", asMETHODPR(Scene, SetObjectAnimationAttr, (const ResourceRef&), void), asCALL_THISCALL);
     // void Node::SetOwner(Connection* owner) | File: ../Scene/Node.h
-    engine->RegisterObjectMethod("Scene", "void SetOwner(Connection@+)", asMETHODPR(Scene, SetOwner, (Connection*), void), asCALL_THISCALL);
-    engine->RegisterObjectMethod("Scene", "void set_owner(Connection@+)", asMETHODPR(Scene, SetOwner, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Node::SetParent(Node* parent) | File: ../Scene/Node.h
     engine->RegisterObjectMethod("Scene", "void SetParent(Node@+)", asMETHODPR(Scene, SetParent, (Node*), void), asCALL_THISCALL);
     engine->RegisterObjectMethod("Scene", "void set_parent(Node@+)", asMETHODPR(Scene, SetParent, (Node*), void), asCALL_THISCALL);
@@ -3659,7 +3657,7 @@ void ASRegisterGenerated_Members_Sa_Sm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Skybox", "void CleanupConnection(Connection@+)", asMETHODPR(Skybox, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("Skybox", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Skybox, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool StaticModel::DrawOcclusion(OcclusionBuffer* buffer) override | File: ../Graphics/StaticModel.h
@@ -4988,7 +4986,7 @@ void ASRegisterGenerated_Members_Sa_Sm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("SmoothedTransform", "void CleanupConnection(Connection@+)", asMETHODPR(SmoothedTransform, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("SmoothedTransform", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(SmoothedTransform, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h

+ 8 - 8
Source/Urho3D/AngelScript/Generated_Members_Sn_Sz.cpp

@@ -782,7 +782,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("SoundListener", "void CleanupConnection(Connection@+)", asMETHODPR(SoundListener, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("SoundListener", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(SoundListener, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -1058,7 +1058,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("SoundSource", "void CleanupConnection(Connection@+)", asMETHODPR(SoundSource, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("SoundSource", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(SoundSource, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -1414,7 +1414,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("SoundSource3D", "void CleanupConnection(Connection@+)", asMETHODPR(SoundSource3D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void SoundSource3D::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Audio/SoundSource3D.h
     engine->RegisterObjectMethod("SoundSource3D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(SoundSource3D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -1959,7 +1959,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("SplinePath", "void CleanupConnection(Connection@+)", asMETHODPR(SplinePath, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void SplinePath::ClearControlPoints() | File: ../Scene/SplinePath.h
     engine->RegisterObjectMethod("SplinePath", "void ClearControlPoints()", asMETHODPR(SplinePath, ClearControlPoints, (), void), asCALL_THISCALL);
     // void SplinePath::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Scene/SplinePath.h
@@ -3461,7 +3461,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("StaticModel", "void CleanupConnection(Connection@+)", asMETHODPR(StaticModel, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("StaticModel", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(StaticModel, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool StaticModel::DrawOcclusion(OcclusionBuffer* buffer) override | File: ../Graphics/StaticModel.h
@@ -3929,7 +3929,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("StaticModelGroup", "void CleanupConnection(Connection@+)", asMETHODPR(StaticModelGroup, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("StaticModelGroup", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(StaticModelGroup, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool StaticModelGroup::DrawOcclusion(OcclusionBuffer* buffer) override | File: ../Graphics/StaticModelGroup.h
@@ -4412,7 +4412,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("StaticSprite2D", "void CleanupConnection(Connection@+)", asMETHODPR(StaticSprite2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("StaticSprite2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(StaticSprite2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -4952,7 +4952,7 @@ void ASRegisterGenerated_Members_Sn_Sz(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("StretchableSprite2D", "void CleanupConnection(Connection@+)", asMETHODPR(StretchableSprite2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("StretchableSprite2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(StretchableSprite2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h

+ 5 - 5
Source/Urho3D/AngelScript/Generated_Members_Ta_Tm.cpp

@@ -654,7 +654,7 @@ void ASRegisterGenerated_Members_Ta_Tm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Terrain", "void CleanupConnection(Connection@+)", asMETHODPR(Terrain, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Terrain::CreatePatchGeometry(TerrainPatch* patch) | File: ../Graphics/Terrain.h
     engine->RegisterObjectMethod("Terrain", "void CreatePatchGeometry(TerrainPatch@+)", asMETHODPR(Terrain, CreatePatchGeometry, (TerrainPatch*), void), asCALL_THISCALL);
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
@@ -1111,7 +1111,7 @@ void ASRegisterGenerated_Members_Ta_Tm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("TerrainPatch", "void CleanupConnection(Connection@+)", asMETHODPR(TerrainPatch, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void TerrainPatch::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/TerrainPatch.h
     engine->RegisterObjectMethod("TerrainPatch", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(TerrainPatch, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool TerrainPatch::DrawOcclusion(OcclusionBuffer* buffer) override | File: ../Graphics/TerrainPatch.h
@@ -2466,7 +2466,7 @@ void ASRegisterGenerated_Members_Ta_Tm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Text3D", "void CleanupConnection(Connection@+)", asMETHODPR(Text3D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Drawable::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Drawable.h
     engine->RegisterObjectMethod("Text3D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Text3D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h
@@ -4794,7 +4794,7 @@ void ASRegisterGenerated_Members_Ta_Tm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("TileMap2D", "void CleanupConnection(Connection@+)", asMETHODPR(TileMap2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void TileMap2D::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Urho2D/TileMap2D.h
     engine->RegisterObjectMethod("TileMap2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(TileMap2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // void TileMap2D::DrawDebugGeometry() | File: ../Urho2D/TileMap2D.h
@@ -5098,7 +5098,7 @@ void ASRegisterGenerated_Members_Ta_Tm(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("TileMapLayer2D", "void CleanupConnection(Connection@+)", asMETHODPR(TileMapLayer2D, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void TileMapLayer2D::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Urho2D/TileMapLayer2D.h
     engine->RegisterObjectMethod("TileMapLayer2D", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(TileMapLayer2D, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h

+ 2 - 2
Source/Urho3D/AngelScript/Generated_Members_U.cpp

@@ -502,7 +502,7 @@ void ASRegisterGenerated_Members_U(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("UIComponent", "void CleanupConnection(Connection@+)", asMETHODPR(UIComponent, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("UIComponent", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(UIComponent, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h
@@ -2323,7 +2323,7 @@ void ASRegisterGenerated_Members_U(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("UnknownComponent", "void CleanupConnection(Connection@+)", asMETHODPR(UnknownComponent, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // virtual void Component::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) | File: ../Scene/Component.h
     engine->RegisterObjectMethod("UnknownComponent", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(UnknownComponent, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // bool Animatable::GetAnimationEnabled() const | File: ../Scene/Animatable.h

+ 1 - 1
Source/Urho3D/AngelScript/Generated_Members_Z.cpp

@@ -59,7 +59,7 @@ void ASRegisterGenerated_Members_Z(asIScriptEngine* engine)
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod("Zone", "void CleanupConnection(Connection@+)", asMETHODPR(Zone, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // void Zone::DrawDebugGeometry(DebugRenderer* debug, bool depthTest) override | File: ../Graphics/Zone.h
     engine->RegisterObjectMethod("Zone", "void DrawDebugGeometry(DebugRenderer@+, bool)", asMETHODPR(Zone, DrawDebugGeometry, (DebugRenderer*, bool), void), asCALL_THISCALL);
     // virtual bool Drawable::DrawOcclusion(OcclusionBuffer* buffer) | File: ../Graphics/Drawable.h

+ 1 - 1
Source/Urho3D/AngelScript/Generated_Templates.h

@@ -67,7 +67,7 @@ template <class T> void RegisterComponent(asIScriptEngine* engine, const char* c
     // template<typename T> const T* Object::Cast() const | File: ../Core/Object.h
     // Not registered because template
     // void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h
-    engine->RegisterObjectMethod(className, "void CleanupConnection(Connection@+)", asMETHODPR(T, CleanupConnection, (Connection*), void), asCALL_THISCALL);
+    // Not registered because have @manualbind mark
     // explicit Component::Component(Context* context) | File: ../Scene/Component.h
     {
         String declFactory(String(className) + "@ f()");

+ 29 - 1
Source/Urho3D/AngelScript/Manual_Scene.h

@@ -31,6 +31,12 @@
 namespace Urho3D
 {
 
+#ifdef URHO3D_NETWORK
+    static const bool URHO3D_NETWORK_DEFINED = true;
+#else
+    static const bool URHO3D_NETWORK_DEFINED = false;
+#endif
+
 const AttributeInfo& SerializableGetAttributeInfo(unsigned index, Serializable* ptr);
 
 #define REGISTER_MANUAL_PART_Serializable(T, className) \
@@ -96,7 +102,19 @@ Component* NodeGetComponent(unsigned index, Node* ptr);
     /* const Vector<SharedPtr<Component> >& Node::GetComponents() const | File: ../Scene/Node.h */ \
     engine->RegisterObjectMethod(className, "Component@+ get_components(uint) const", asFUNCTION(NodeGetComponent), asCALL_CDECL_OBJLAST); \
     /* const VariantMap& Node::GetVars() const | File: ../Scene/Node.h */ \
-    engine->RegisterObjectMethod(className, "VariantMap& get_vars()", asFUNCTION(NodeGetVars), asCALL_CDECL_OBJLAST);
+    engine->RegisterObjectMethod(className, "VariantMap& get_vars()", asFUNCTION(NodeGetVars), asCALL_CDECL_OBJLAST); \
+    /* Workarounds for Connection that used outside URHO3D_NETWORK define */ \
+    if (URHO3D_NETWORK_DEFINED) \
+    { \
+        /* void Node::SetOwner(Connection* owner) | File: ../Scene/Node.h */ \
+        engine->RegisterObjectMethod(className, "void SetOwner(Connection@+)", asMETHODPR(T, SetOwner, (Connection*), void), asCALL_THISCALL); \
+        engine->RegisterObjectMethod(className, "void set_owner(Connection@+)", asMETHODPR(T, SetOwner, (Connection*), void), asCALL_THISCALL); \
+        /* Connection* Node::GetOwner() const | File: ../Scene/Node.h * \
+        engine->RegisterObjectMethod(className, "Connection@+ GetOwner() const", asMETHODPR(T, GetOwner, () const, Connection*), asCALL_THISCALL); \
+        engine->RegisterObjectMethod(className, "Connection@+ get_owner() const", asMETHODPR(T, GetOwner, () const, Connection*), asCALL_THISCALL); \
+        /* void Node::CleanupConnection(Connection* connection) | File: ../Scene/Node.h */ \
+        engine->RegisterObjectMethod(className, "void CleanupConnection(Connection@+)", asMETHODPR(T, CleanupConnection, (Connection*), void), asCALL_THISCALL); \
+    }
 
 // ========================================================================================
 
@@ -184,5 +202,15 @@ void BoneSetNode(Node* node, Bone* ptr);
     engine->RegisterObjectMethod(className, "void set_node(Node@+)", asFUNCTION(BoneSetNode), asCALL_CDECL_OBJLAST); \
     /* WeakPtr<Node> Bone::node_ | File: ../Graphics/Skeleton.h */ \
     engine->RegisterObjectMethod(className, "Node@+ get_node() const", asFUNCTION(BoneGetNode), asCALL_CDECL_OBJLAST);
+    
+// ========================================================================================
+
+#define REGISTER_MANUAL_PART_Component(T, className) \
+    /* Workarounds for Connection that used outside URHO3D_NETWORK define */ \
+    if (URHO3D_NETWORK_DEFINED) \
+    { \
+        /* void Component::CleanupConnection(Connection* connection) | File: ../Scene/Component.h */ \
+        engine->RegisterObjectMethod(className, "void CleanupConnection(Connection@+)", asMETHODPR(T, CleanupConnection, (Connection*), void), asCALL_THISCALL); \
+    }
 
 }

+ 1 - 0
Source/Urho3D/Scene/Component.h

@@ -115,6 +115,7 @@ public:
     /// Prepare network update by comparing attributes and marking replication states dirty as necessary.
     void PrepareNetworkUpdate();
     /// Clean up all references to a network connection that is about to be removed.
+    /// @manualbind
     void CleanupConnection(Connection* connection);
 
 protected:

+ 3 - 2
Source/Urho3D/Scene/Node.h

@@ -298,7 +298,7 @@ public:
     /// Set enabled state on self and child nodes. Unlike SetDeepEnabled this does not remember the nodes' own enabled state, but overwrites it.
     void SetEnabledRecursive(bool enable);
     /// Set owner connection for networking.
-    /// @property
+    /// @manualbind
     void SetOwner(Connection* owner);
     /// Mark node and child nodes to need world transform recalculation. Notify listener components.
     void MarkDirty();
@@ -397,7 +397,7 @@ public:
     bool IsEnabledSelf() const { return enabledPrev_; }
 
     /// Return owner connection in networking.
-    /// @property
+    /// @manualbind
     Connection* GetOwner() const { return impl_->owner_; }
 
     /// Return position in parent space.
@@ -659,6 +659,7 @@ public:
     /// Prepare network update by comparing attributes and marking replication states dirty as necessary.
     void PrepareNetworkUpdate();
     /// Clean up all references to a network connection that is about to be removed.
+    /// @manualbind
     void CleanupConnection(Connection* connection);
     /// Mark node dirty in scene replication states.
     void MarkReplicationDirty();

+ 1 - 0
Source/Urho3D/Scene/Scene.h

@@ -273,6 +273,7 @@ public:
     /// Prepare network update by comparing attributes and marking replication states dirty as necessary.
     void PrepareNetworkUpdate();
     /// Clean up all references to a network connection that is about to be removed.
+    /// @manualbind
     void CleanupConnection(Connection* connection);
     /// Mark a node for attribute check on the next network update.
     void MarkNetworkUpdate(Node* node);