mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-16 23:30:41 +09:00
Implement new tile storage format with tentative timelapse support
This commit is contained in:
1 parent
2dcc92c96b
commit
a516b6b129
7 files changed
+358
-307
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user