Hi,
System.Int32& is used for pointers in unmanaged C# code, which we naturally do not allow you to run in our environment.
We are aware that filtering on System.Int32& directly, but we chose to error on the save side in this case.
/Chris
Reply to thread
Sign up now to reply to threads
suspectDevice12 said
2 weeks ago | Post #1I wrote a bunch of code that uses the ref keyword. Compiles and runs fine in a different non nonoba project. Wanted to save a lot of time and copy the code into my nonoba project.
The code compiles fine, however when I run the server I get the following message:
ServersideGameCode.RezGen.SwirlTurtle.calcDropPoints(...) has argument/parameter of the non-allowed type: System.Int32&
So my questions is, is passing by reference allowed? Is there a web page that outlines all the funny things programmers are not allowed to do in the nonoba api? Like not being able to use the static keyword?