Пример #1
0
        /// <summary>
        /// Constant schema that is used to char replace text
        /// </summary>
        /// <param name="m_schema"></param>
        /// <returns></returns>
        public int GenerateConstantSchema(SchemaManager m_schema)
        {
            HashSet <int> new_order = new HashSet <int>();

            for (int i = m_schema.max_replaceable_nums - 1; i >= 0; i--)
            {
                new_order.Add(i);
            }
            return(m_schema.AddExternalSchema(new_order));
        }