diff --git a/src/wasmWasiMain/kotlin/plugin/Plugin.kt b/src/wasmWasiMain/kotlin/plugin/Plugin.kt index 15d96c8..81f2bc0 100644 --- a/src/wasmWasiMain/kotlin/plugin/Plugin.kt +++ b/src/wasmWasiMain/kotlin/plugin/Plugin.kt @@ -34,6 +34,32 @@ class PluginRootFunctionsExportsImpl { override fun handleTask(handlerId: UInt, server: Server.Server) { TODO("Not yet implemented") } + + override fun handleIpcMessage(sender: String, message: List): Result> { + return Result.failure( + pumpkin.runtime.ComponentException("This plugin cannot recieve messages.") + ); + } + + override fun handleAiGoalCanStart(goalId: UInt, server: Server.Server, entity: World.Entity): Boolean { + TODO("Not yet implemented"); + } + + override fun handleAiGoalShouldContinue(goalId: UInt, server: Server.Server, entity: World.Entity): Boolean { + TODO("Not yet implemented"); + } + + override fun handleAiGoalStart(goalId: UInt, server: Server.Server, entity: World.Entity): Unit { + TODO("Not yet implemented"); + } + + override fun handleAiGoalTick(goalId: UInt, server: Server.Server, entity: World.Entity): Unit { + TODO("Not yet implemented"); + } + + override fun handleAiGoalStop(goalId: UInt, server: Server.Server, entity: World.Entity): Unit { + TODO("Not yet implemented"); + } } } diff --git a/wit b/wit index 9e87f50..160251f 160000 --- a/wit +++ b/wit @@ -1 +1 @@ -Subproject commit 9e87f503d03644569117906cf0cc7f88dfa36194 +Subproject commit 160251fb0b15ad529bf7c4939140bb5fa0c07035