mirror of https://git.suyu.dev/suyu/suyu.git
16 lines
383 B
Kotlin
16 lines
383 B
Kotlin
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
|
// SPDX-FileCopyrightText: 2024 suyu Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
package org.suyu.suyu_emu.model
|
|
|
|
enum class PatchType(val int: Int) {
|
|
Update(0),
|
|
DLC(1),
|
|
Mod(2);
|
|
|
|
companion object {
|
|
fun from(int: Int): PatchType = entries.firstOrNull { it.int == int } ?: Update
|
|
}
|
|
}
|