IPC and AI goals

This commit is contained in:
Demetrius Kanios 2026-08-10 13:08:32 -07:00
parent 8a75fac0a9
commit 1543e1fbbd
2 changed files with 27 additions and 1 deletions

View File

@ -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<UByte>): Result<List<UByte>> {
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");
}
}
}

2
wit

@ -1 +1 @@
Subproject commit 9e87f503d03644569117906cf0cc7f88dfa36194
Subproject commit 160251fb0b15ad529bf7c4939140bb5fa0c07035