public static ItemSchema GetFromFile(String filename=ItemSchema.CacheLocation) { CacheRequest request = new CacheRequest(); request.CacheLocation = filename; return ItemSchema.Get(request, false); }
//helper method for requesting backpack data straight from the steam servers public static Backpack GetFromFile(String id) { CacheRequest request = new CacheRequest(); request.CacheLocation = String.Format("backpack{0}.txt", id); return Backpack.Get(request); }