Intra-plugin communication

Mar 1, 2011 at 9:36 AM

Hi

Is there an easy way to communicate between multiple loaded plugins?

I assume that i can access them through e.g. player.PluginsManager.GenericPlugins, but i wondered if anybody had a code sample demonstrating this?

- Loke

Coordinator
Mar 1, 2011 at 4:17 PM

lokexstream, here's the code used by SMF to access the Generic plugins:

             IEnumerable<IGenericPlugin> plugins = PluginsManager.GenericPlugins
                .Where(i => !i.IsValueCreated)
                .Select(i => i.Value);



You should be able to do the same thing to get at these plugins instances.

Tim Greenfield

Mar 21, 2011 at 11:58 AM

Thanks Tim!