Is it possible to pass a variable into a hook by reference?
Example:
Argument `#1' does not require `ref' modifier. Consider removing `ref' modifier
I can solve this problem by using '// Requires: Plugin' however the fact reloading the plugin also reloads every other plugin that also uses this dependency it's just not feasible to use as I would need to require these methods in every plugin.
Possible solution:
Is it possible to include the 'hard' dependency without also reloading every other plugin that also uses it?
Thanks!
Example:
string var1;
string var2;
Plugin.Call("Method",ref var1, ref var2);Doing this results in:Argument `#1' does not require `ref' modifier. Consider removing `ref' modifier
I can solve this problem by using '// Requires: Plugin' however the fact reloading the plugin also reloads every other plugin that also uses this dependency it's just not feasible to use as I would need to require these methods in every plugin.
Possible solution:
Is it possible to include the 'hard' dependency without also reloading every other plugin that also uses it?
Thanks!