public override void SaveState(PluginDataWrapper pluginData) { var writer = pluginData.GetWriterForWrappedSequentialData(); writer.StoreNext(IsOpen); healthBar.Save(writer); }
public override void SaveState(PluginDataWrapper pluginDataStorage) { var writer = pluginDataStorage.GetWriterForWrappedSequentialData(); healthBar.Save(writer); writer.StoreNext(AttackMove); }
public override void SaveState(PluginDataWrapper pluginData) { var writer = pluginData.GetWriterForWrappedSequentialData(); CutterWrapper.SaveCutters(this, writer, cutters.Values); currentState.Save(writer); }
public override void SaveState(PluginDataWrapper pluginData) { var writer = pluginData.GetWriterForWrappedSequentialData(); healthBar.Save(writer); currentState.Save(writer); writer.StoreNext(targetTree?.Building.ID ?? 0); writer.StoreNext(Cutter.Building.ID); }
public override void SaveState(PluginDataWrapper pluginData) { var sequential = pluginData.GetWriterForWrappedSequentialData(); sequential.StoreNext(timeToSplit); sequential.StoreNext(splits); sequential.StoreNext(despawning); sequential.StoreNext(timeToDespawn); }
public override void SaveState(PluginDataWrapper pluginData) { var writer = pluginData.GetWriterForWrappedSequentialData(); writer.StoreNext(FinalSize); writer.StoreNext(changePerSecond); writer.StoreNext(currentSize); writer.StoreNext(currentStepTimeout); writer.StoreNext(curSpreadTimeout); }
public override void SaveState(PluginDataWrapper pluginData) { var writer = pluginData.GetWriterForWrappedSequentialData(); healthBar.Save(writer); foreach (var worker in workers) { worker.Store(writer); } }