private Module AddModuleToChatroom(string path, SteamID chatroom) { var module = new Module(_steamNerd, path); module.Chatroom = chatroom; module.Interpret(_steamNerd, _pyEngine); _chatroomModules[chatroom][module.Name] = module; return(module); }
private void CreateModule(string file) { var module = new Module(_steamNerd, file); var scope = module.Interpret(_steamNerd, _pyEngine); if (scope != null && CheckModule(module)) { AddModule(module); } }
private Module AddModuleToChatroom(string path, SteamID chatroom) { var module = new Module(_steamNerd, path); module.Chatroom = chatroom; module.Interpret(_steamNerd, _pyEngine); _chatroomModules[chatroom][module.Name] = module; return module; }