Пример #1
0
        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);
        }
Пример #2
0
        private void CreateModule(string file)
        {
            var module = new Module(_steamNerd, file);

            var scope = module.Interpret(_steamNerd, _pyEngine);

            if (scope != null && CheckModule(module))
            {
                AddModule(module);
            }
        }
Пример #3
0
        private void CreateModule(string file)
        {
            var module = new Module(_steamNerd, file);

            var scope = module.Interpret(_steamNerd, _pyEngine);

            if (scope != null && CheckModule(module))
            {
                AddModule(module);
            }
        }
Пример #4
0
        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;
        }