PluginSystem class final
Constructors
- PluginSystem({required ServerInterface server})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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 -
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 pluginBuilder(PluginServerInterface)) → SetonixPlugin -
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