コード例 #1
0
        public static F_Variables LoadFromFile(ModuleInfo minfo, string MnBPath, string module)
        {
            F_Variables obj = new F_Variables();

            obj.Module = minfo;
            StreamReader reader = new StreamReader(File.Open(MnBPath + "\\modules\\" + module + "\\variables.txt", FileMode.Open));

            obj.FromStream(reader);

            reader.Close();
            return(obj);
        }