Example #1
0
 // why does refinery replicate this?
 public static bool RemoveFirstQueueItemAnnouncePatch(ref MyProductionBlock __instance, MyFixedPoint amount, float progress = 0f)
 {
     if (!(__instance is MyRefinery))
     {
         return(true);
     }
     removeInfo.Invoke(__instance, new ValueType[] { 0, amount, progress });
     return(false);
 }
Example #2
0
 void assembler_QueueChanged(MyProductionBlock block)
 {
     Debug.Assert(m_selectedAssembler == block);
     RefreshQueue();
     RefreshMaterialsPreview();
 }