feat: add world voxel snapshot forwarding

Collect chunk voxel data from the bot world and stream snapshot,
chunk, and unwatch messages through the forward protocol.
This commit is contained in:
2026-10-23 10:44:37 +08:00
parent 0acef64f48
commit 6c69afb38a
11 changed files with 1997 additions and 18 deletions
+3 -3
View File
@@ -165,9 +165,9 @@ export class BotContext implements bot_instance_context<any> {
this.plugin_manager = new PluginManager(this);
}
public log(log: log[]) {
this.logger.log(log);
this.emit('log', log);
public log(log: log[]) {
this.logger.log(log);
this.notify('log', log);
}
public create_instance(): Promise<bot_operation_code> {