Ejemplo n.º 1
0
        /*************************************
        *
        *  Register to be involved in config
        *  save/load
        *
        *************************************/
        public void config_register(string nodename, config_saveload_delegate load, config_saveload_delegate save)
        {
            config_element element = new config_element();

            element.name = nodename;
            element.load = load;
            element.save = save;

            m_typelist.Add(element);
        }
Ejemplo n.º 2
0
        /*************************************
        *
        *  Register to be involved in config
        *  save/load
        *
        *************************************/
        public void config_register(string nodename, load_delegate load, save_delegate save)
        {
            config_element element = new config_element();

            element.name = nodename;
            element.load = load;
            element.save = save;

            m_typelist.emplace_back(element);
        }