From f0c384b5c52b494f7bf893d48f789f1eb49dbbf5 Mon Sep 17 00:00:00 2001 From: Adam <897017+aSemy@users.noreply.github.com> Date: Wed, 6 Jul 2022 16:21:50 +0200 Subject: [PATCH] rm commented out code --- .../kafkatorio/schema/common/prototypeIds.kt | 43 ------------------- 1 file changed, 43 deletions(-) diff --git a/modules/events-library/src/commonMain/kotlin/dev/adamko/kafkatorio/schema/common/prototypeIds.kt b/modules/events-library/src/commonMain/kotlin/dev/adamko/kafkatorio/schema/common/prototypeIds.kt index 9cc98ba..4ebb776 100644 --- a/modules/events-library/src/commonMain/kotlin/dev/adamko/kafkatorio/schema/common/prototypeIds.kt +++ b/modules/events-library/src/commonMain/kotlin/dev/adamko/kafkatorio/schema/common/prototypeIds.kt @@ -8,51 +8,8 @@ import kotlinx.serialization.Serializable /** * Both a [name] and [type] are required to unique identify a [prototype][FactorioPrototype]. * - * * @property[name] The name of the prototype, which is unique per specific Prototype [type] */ -// * Each subclass of [PrototypeId] is equivalent to a Prototype `type`. -//sealed interface PrototypeId { -// -// val name: String -// -// @Serializable -// @JvmInline -// @SerialName("kafkatorio.prototype.id.PrototypeIdMapTile") -// value class MapTile(override val name: String) : PrototypeId { -// override fun toString(): String = name -// } -// -// @Serializable -// @JvmInline -// @SerialName("kafkatorio.prototype.id.PrototypeIdEntity") -// value class Entity(override val name: String) : PrototypeId { -// override fun toString(): String = name -// } -// -// @Serializable -// @JvmInline -// @SerialName("kafkatorio.prototype.id.PrototypeIdResourceEntity") -// value class ResourceEntity(override val name: String) : PrototypeId { -// override fun toString(): String = name -// } -// -// @Serializable -// @JvmInline -// @SerialName("kafkatorio.prototype.id.PrototypeIdFluid") -// value class Fluid(override val name: String) : PrototypeId { -// override fun toString(): String = name -// } -// -// @Serializable -// @JvmInline -// @SerialName("kafkatorio.prototype.id.PrototypeIdItem") -// value class Item(override val name: String) : PrototypeId { -// override fun toString(): String = name -// } -// -//} - @Serializable @JvmInline @SerialName("kafkatorio.id.PrototypeId")