So this is a fairly simple question though Idk how easy the answer is.
Assume i have a c++ class cClass and an as class asClass: also assume that cClass allows reference handles.
class asClass
{
cClass @parent;
}
Now the question is how do I assign what @parent is pointing to in c++.
//c++ code
void someFunc()
{
asIScriptObject *n = asEngine->CreateUninitializedScriptObject(sometypeinfo)
cClass *c = new cClass();
//how do i assign n::parent handle to point to the memory location of c.
}
chasester