Example #1
0
        public static Folder GetAppFolder()
        {
            string[] names      = EOSAppGenerator.GenerateNames();
            string   str        = names[0];
            string   foldername = names[1].ToLower().Replace(" ", "_").Trim();
            string   data       = str.Replace(" ", "_").Trim();
            Folder   folder     = new Folder(foldername);

            folder.files.Add(new FileEntry(Computer.generateBinaryString(1024), "app.pkg"));
            StringBuilder stringBuilder = new StringBuilder("----- [" + str + "] Save Data -----\n\n");
            int           num           = 8 + Utils.random.Next(8);

            for (int index = 0; index < num; ++index)
            {
                stringBuilder.Append(EOSAppGenerator.GenerateAppSaveLine());
                stringBuilder.Append("\n\n");
            }
            folder.files.Add(new FileEntry(stringBuilder.ToString(), FileSanitiser.purifyStringForDisplay(data) + ".sav"));
            return(folder);
        }
Example #2
0
 public static string GenerateName()
 {
     return(EOSAppGenerator.GenerateNames()[0]);
 }