Example #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);
        }
Example #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);
            }
        }
Example #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);
            }
        }
Example #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;
        }