示例#1
0
 public PluginManager(MainBot bot, PluginManagerData pmd)
 {
     mainBot           = bot ?? throw new ArgumentNullException(nameof(bot));
     pluginManagerData = pmd;
     Util.Init(ref plugins);
     Util.Init(ref usedIds);
 }
示例#2
0
 public PluginManager(PluginManagerData pmd)
 {
     Util.Init(out plugins);
     Util.Init(out usedIds);
     pluginManagerData = pmd;
 }