// 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); }
void assembler_QueueChanged(MyProductionBlock block) { Debug.Assert(m_selectedAssembler == block); RefreshQueue(); RefreshMaterialsPreview(); }