예제 #1
0
파일: Save.cs 프로젝트: OfficerFlake/Orb
 public static void SaveAll()
 {
     foreach (Group ThisGroup in List)
     {
         if (ThisGroup == GroupDB.NoGroup)
         {
             continue;
         }
         ThisGroup.SaveAll();
     }
 }
예제 #2
0
            public static string GetAllGroupsRanks()
            {
                string output = "LISTING GROUP RANKS\n";

                output += "===================\n";
                foreach (Database.GroupDB.Group ThisGroup in Database.GroupDB.List)
                {
                    output += "    Ranks for Group: \"" + ThisGroup.Name + "\"\n";
                    output += "        " + ThisGroup.ListRanksToString() + "\n";
                }
                return(output);
            }