public static void ThingsExistingList()
        {
            List <FloatMenuOption> list       = new List <FloatMenuOption>();
            IEnumerator            enumerator = Enum.GetValues(typeof(ThingRequestGroup)).GetEnumerator();

            try
            {
                while (enumerator.MoveNext())
                {
                    ThingRequestGroup thingRequestGroup = (ThingRequestGroup)enumerator.Current;
                    ThingRequestGroup localRg           = thingRequestGroup;
                    FloatMenuOption   item = new FloatMenuOption(localRg.ToString(), delegate
                    {
                        StringBuilder stringBuilder = new StringBuilder();
                        List <Thing> list2          = Find.CurrentMap.listerThings.ThingsInGroup(localRg);
                        stringBuilder.AppendLine("Global things in group " + localRg + " (count " + list2.Count + ")");
                        Log.Message(DebugLogsUtility.ThingListToUniqueCountString(list2));
                    });
                    list.Add(item);
                }
            }
            finally
            {
                IDisposable disposable;
                if ((disposable = (enumerator as IDisposable)) != null)
                {
                    disposable.Dispose();
                }
            }
            Find.WindowStack.Add(new FloatMenu(list));
        }
        public static void ThingsExistingList()
        {
            List <FloatMenuOption> list = new List <FloatMenuOption>();

            foreach (ThingRequestGroup localRg2 in Enum.GetValues(typeof(ThingRequestGroup)))
            {
                ThingRequestGroup localRg = localRg2;
                FloatMenuOption   item    = new FloatMenuOption(localRg.ToString(), delegate
                {
                    StringBuilder stringBuilder = new StringBuilder();
                    List <Thing> list2          = Find.CurrentMap.listerThings.ThingsInGroup(localRg);
                    stringBuilder.AppendLine(string.Concat(new object[]
                    {
                        "Global things in group ",
                        localRg,
                        " (count ",
                        list2.Count,
                        ")"
                    }));
                    Log.Message(DebugLogsUtility.ThingListToUniqueCountString(list2), false);
                }, MenuOptionPriority.Default, null, null, 0f, null, null);
                list.Add(item);
            }
            Find.WindowStack.Add(new FloatMenu(list));
        }
        public static void ThingsExistingList()
        {
            List <FloatMenuOption> list = new List <FloatMenuOption>();

            foreach (ThingRequestGroup value in Enum.GetValues(typeof(ThingRequestGroup)))
            {
                ThingRequestGroup localRg = value;
                FloatMenuOption   item    = new FloatMenuOption(localRg.ToString(), delegate
                {
                    StringBuilder stringBuilder = new StringBuilder();
                    List <Thing> list2          = Find.CurrentMap.listerThings.ThingsInGroup(localRg);
                    stringBuilder.AppendLine("Global things in group " + localRg + " (count " + list2.Count + ")");
                    Log.Message(DebugLogsUtility.ThingListToUniqueCountString(list2));
                });
                list.Add(item);
            }
            Find.WindowStack.Add(new FloatMenu(list));
        }
 public void LogDynamicDrawThings()
 {
     Log.Message(DebugLogsUtility.ThingListToUniqueCountString(this.drawThings), false);
 }