Please remind me how to do cross-plugin communication.
#1
I've forgotten Sad
Reply
Thanks given by:
#2
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.
Reply
Thanks given by:
#3
Ooh return values are going to be an issue. Thanks though. Hopefully they are possible or are easy to do.
Reply
Thanks given by:
#4
You can use objects as well as parameters. Also the return values are working normaly. I tried it with my WorldEdit plugin.
Reply
Thanks given by:
#5
I dont think you can use tables, and multiple return values might be problematic. But who knows, maybe FakeTruth wrote it really well Smile
I'm guessing here without having actually read the code.
Reply
Thanks given by:
#6
https://forum.cuberite.org/showthread.ph...53#pid4853 Read the last line in the first post Smile
Reply
Thanks given by: bearbin , xoft , FakeTruth
#7
Thanks, this was very helpful Smile
Reply
Thanks given by:




Users browsing this thread: 6 Guest(s)