Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class DrifterEncoder

Marks a function as a custom encoder for a specific type during JSON serialization.

Link copied to clipboard
annotation class DrifterMappingKey(val storageKey: String = "", val exposedMethod: String = "")

Specifies a key for mapping a property or parameter to a Unity method.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class DrifterModule(val name: String = "", val receiver: String = "", val methods: KClass<*> = Unit::class)

Marks a class as a Drifter module, defining its functionality and integration points.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class DrifterUnityMethod(val name: String = "", val parameters: Array<String> = [])

Marks a function as a method exposed to the Unity environment.