What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Search results

  1. G

    CoRoutines - Are we not using those yet?

    You can implement it yourself: [Proof of concept, C#] Using async for scripting in main thread https://gist.github.com/anonymous/0a250e25486d1cb16b6b It would be nice if there was support from core functions though.
  2. G

    Have a problem with int

    cucumbersplanted = PlantCucumbers(cucumbersplanted); The "cucumbersplanted" variable in "PlantCucumbers" is different variable than the variable in "PluginRun" (it could have different name), so assigning it will change the value only within the "PlantCucumbers" function. You need to reassign...
  3. G

    Clean up memory?!

    You don't. Unless class implements "IDisposable" you don't care about freeing memory - it gets done automagically by garbage collector when the references are removed (not immediately, but trust me, you don't need to care about it..). When class implements "IDisposable" you should call method...
  4. G

    Plugin lifecycle, coding practices

    Is there somewhere explained how exactly does the plugin lifecycle look like? - How are static fields handled? (is assembly unloaded between plugin runs?) - How are thread static fields handled? (is new thread created for each plugin run?) - How are instance fields handled? (are new...
Back
Top