Discord integration for Gamecraft
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

StorageManager.cs 430B

1234567891011121314151617181920
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Discord
  5. {
  6. public partial class StorageManager
  7. {
  8. public IEnumerable<FileStat> Files()
  9. {
  10. var fileCount = Count();
  11. var files = new List<FileStat>();
  12. for (var i = 0; i < fileCount; i++)
  13. {
  14. files.Add(StatAt(i));
  15. }
  16. return files;
  17. }
  18. }
  19. }