Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 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");
 }
Exemplo n.º 3
0
        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);
        }