PluginSystem class final

Constructors

PluginSystem({required PluginProcessCallback onProcess, required PluginSendEventCallback onSendEvent, required WorldState stateGetter(), required List<int> playersGetter()})

Properties

hashCode int
The hash code for this object.
no setterinherited
playersGetter List<int> Function()
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateGetter WorldState Function()
final

Methods

dispose([bool disposeNative = true]) → void
fire(Event<WorldEvent> event) → void
loadLuaPlugin(AssetManager assetManager, String script, [String name = 'game']) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerLuauPlugin(String name, String code, {void onPrint(String)?}) SetonixPlugin
registerPlugin(String name, SetonixPlugin plugin) → void
runLeaveCallback(Channel channel, ConnectionInfo info) → void
runPing(HttpRequest request, GameProperty property) GameProperty
toString() String
A string representation of this object.
inherited
unregisterPlugin(String name) → void

Operators

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