private void testPrintItem(Item item) { Object @object = item as Object; string debugString = item.Name + ", " + item.getCategoryName(); debugString += ", parentsheetindex: " + @object.ParentSheetIndex + ", category: " + @object.Category + ", categoryName: " + @object.getCategoryName(); MainModClass.Log(debugString); }
public ShippingTracker(List <Item> items, string statsFilePath, string playerName, string farmName) { this.items = items; this.statsFolderPath = statsFilePath; this.playerName = playerName; this.farmName = farmName; MainModClass.Log("Found " + items.Count + " items to track"); }
public void parseAndSaveItems() { List <ItemTrack> trackedItems = parseItemsForTracker(items); MainModClass.Log("Collected " + trackedItems.Count + " shipped items to track"); int season = getCurrentSeason(); ShipTrackerParser.saveShippedItems(statsFolderPath, playerName, farmName, trackedItems, Game1.year, season, Game1.dayOfMonth - 1); }