08-13-2013, 07:49 PM
I've forgotten

Please remind me how to do cross-plugin communication.
|
08-13-2013, 07:49 PM
I've forgotten
![]()
08-13-2013, 07:52 PM
local OtherPlugin=cPluginManager.Get():GetPlugin("OtherPluginName"); OtherPlugin:Call("FunctionName", Whatever, Basic, Parameters);Not sure about what parameters are exactly supported, I believe the basic ones (string, number, bool) only. Also not sure about return values, whether they are supported at all.
08-13-2013, 07:54 PM
Ooh return values are going to be an issue. Thanks though. Hopefully they are possible or are easy to do.
08-13-2013, 09:12 PM
You can use objects as well as parameters. Also the return values are working normaly. I tried it with my WorldEdit plugin.
I dont think you can use tables, and multiple return values might be problematic. But who knows, maybe FakeTruth wrote it really well
![]() I'm guessing here without having actually read the code.
08-13-2013, 10:37 PM
https://forum.cuberite.org/showthread.ph...53#pid4853 Read the last line in the first post
![]()
08-14-2013, 12:03 AM
Thanks, this was very helpful
![]() |
« Next Oldest | Next Newest »
|