game-common / pragma.loadsimulator / NotificationTypes /

NotificationTypes #

internal object NotificationTypes

Resolves the notification names steps and notificationsToPersist config use — Kotlin qualified names such as pragma.party.PartyRpc.PartyDetailsV1Notification — to notification classes.

Functions #

NameSummary

binaryNameCandidates

private fun binaryNameCandidates(qualifiedName: String): Sequence<String>

A qualified name does not say where the package ends and nesting begins, and nested classes load by their binary name (Outer$Inner), so try each split from the innermost: a.b.Outer.Inner, a.b.Outer$Inner, a.b$Outer$Inner, …