• Visit Rebornbuddy
  • [DONE] Fire envent from plugin to botbase

    Discussion in 'Community Developer Forum' started by Jokoast, Feb 15, 2020.

    1. Jokoast

      Jokoast New Member

      Joined:
      Mar 12, 2017
      Messages:
      9
      Likes Received:
      1
      Trophy Points:
      1
      Hi !

      I'm learning C# and i'm coding my own little botbase but as i haven't been able to work with threads, i separated the code in 2.

      A toolbox gathering information from the game as a plugin
      A botbase that would use thoses informations.

      But i don't know how to make those 2 work together. A botbase/plugin developer told me about events but i don't know if it's RB related or C# related. Cause i don't know how to do that from 2 different code loaded through RB.

      If there are a way to directly access static class of my plugin from my botbase, it'd be awesome.

      Regards,

      Sku
       
      Last edited: Feb 15, 2020
    2. mastahg

      mastahg Administrator Staff Member

      Joined:
      Feb 27, 2011
      Messages:
      4,568
      Likes Received:
      238
      Trophy Points:
      63
      Botbases are compiled after plugins, so you can have the botbase reference stuff inside the plugin.
       

    Share This Page