Implement new tile storage format with tentative timelapse support

This commit is contained in:
Danielv123 committed 2025-08-10 00:28:48 +02:00
1 parent 2dcc92c96b
commit a516b6b129
7 files changed
+358 -307

No files matched your search

+7 -4
View File
@@ -39,10 +39,13 @@ export class InstancePlugin extends BaseInstancePlugin {
// Send chart data to controller
const event = new TileDataEvent(
"chart",
chartData,
position!,
this.instance.config.get("instance.id")
this.instance.config.get("instance.id"),
chartData[0].surface,
chartData[0].force,
position[0],
position[1],
0, // TODO: Get tick from lua
chartData[0]
);
return this.instance.sendTo("controller", event);