[6.3.0][小智] 修正V2N事件到来时,小智形象不展示

This commit is contained in:
renwj
2024-03-25 20:12:08 +08:00
parent 4d283e221e
commit c2a0b44a9d
4 changed files with 13 additions and 8 deletions

View File

@@ -1478,5 +1478,10 @@ enum class EventTypeEnumNew(
else -> false
}
}
@JvmStatic
fun getEnumType(poiType: String): EventTypeEnumNew {
return EventTypeEnumNew.values().find { it.poiType == poiType } ?: throw AssertionError("poiType: $poiType corresponding to enum value not find.")
}
}
}