public static void OnICGenerated(ItemCollectionDef collection, ItemCollectionResult __result)
 {
     if (__result != null)
     {
         Control.LogDebug(DInfo.ItemGeneration, $"Generated {collection?.ID}. Completed");
     }
     else
     {
         Control.LogDebug(DInfo.ItemGeneration, $"Generated {collection?.ID}. Gather Dependences");
     }
 }
 public static void OnCompleted(ItemCollectionResult collectionResult)
 {
     Control.LogDebug(DInfo.ItemGeneration, $"Completed(postfix) {collectionResult.itemCollectionID} guid: {collectionResult.parentGUID}");
     Control.LogDebug(DInfo.ItemGeneration, $"- {collectionResult.items.Count} items {collectionResult.pendingCount} collections left");
 }
 public static void OnResultReveived(ItemCollectionResult result)
 {
     Control.LogDebug(DInfo.ItemGeneration, $"-- received result from {result.itemCollectionID}");
 }
 public static void OnComplete(List <ItemCollectionDef.Entry> queuedReferences, ItemCollectionResult result)
 {
     Control.LogDebug(DInfo.ItemGeneration, $"ProcessQueuedReferenceCollections(prefix) {result.itemCollectionID} guid: {result.GUID} pending:{queuedReferences.Count}");
     Request = true;
 }