PluginSystem class final

Constructors

PluginSystem.new({required ServerInterface server})

Properties

hashCode int
The hash code for this object.
no setterinherited
plugins Iterable<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server ServerInterface
final

Methods

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

Operators

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