public void TryClone(CloningRecord record) { if (cloningPod && cloningPod.CanClone()) { if (record.mind.ConfirmClone(record.mobID)) { cloningPod.StartCloning(record); CloningRecords.Remove(record); } else { cloningPod.statusString = "Initialisation failure."; } } }
public void ServerTryClone(CloningRecord record) { if (cloningPod && cloningPod.CanClone()) { var status = record.mind.GetCloneableStatus(record.mobID); if (status == CloneableStatus.Cloneable) { cloningPod.ServerStartCloning(record); cloningRecords.Remove(record); } else { cloningPod.UpdateStatusString(status); } } }