Original Post
Hi I have a problem,
I have a client-server game and the server sends bytecode to clients, so that all run the same scripts.
However I can't really make it work because my engine relies on script function hooks like:
asIScriptFunction *func = mModule->GetFunctionByDecl( "void DoSomething()" );
After loading byte code there are no functions to get :/
How do I solve this?
I have a client-server game and the server sends bytecode to clients, so that all run the same scripts.
However I can't really make it work because my engine relies on script function hooks like:
asIScriptFunction *func = mModule->GetFunctionByDecl( "void DoSomething()" );
After loading byte code there are no functions to get :/
How do I solve this?