PluginCallback class

Callbacks shared by the native and browser Luau transports.

Constructors

PluginCallback({required FutureOr<void> onPrint(String), required FutureOr<void> processEvent(String, bool?), required FutureOr<void> sendEvent(String, int?), required FutureOr<String> stateFieldAccess(StateFieldAccess), required FutureOr<String> tableAccess(String?), required FutureOr<String> storageRead(), required FutureOr<void> storageWrite(String)})

Properties

hashCode → int
The hash code for this object.
no setterinherited
onPrint → FutureOr<void> Function(String)
final
processEvent → FutureOr<void> Function(String, bool?)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendEvent → FutureOr<void> Function(String, int?)
final
stateFieldAccess → FutureOr<String> Function(StateFieldAccess)
final
storageRead → FutureOr<String> Function()
final
storageWrite → FutureOr<void> Function(String)
final
tableAccess → FutureOr<String> Function(String?)
final

Methods

checkActive() → void
dispose() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited