Skip to content

Commit 6fce2c0

Browse files
committed
feat: plot profiling packet
1 parent 115606b commit 6fce2c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/proto/clientbound_plot.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,10 @@ message S2CPlotLineStarters {
7878

7979
repeated CodeLineStarter line_starter = 1;
8080
}
81+
82+
// Sent when the plot finishes a lag measurement,
83+
// requires the player to have developer permissions on the plot,
84+
// and be profiling the plot.
85+
message S2CPlotProfiling {
86+
int32 cpu_usage = 1; // The CPU usage of the plot in percentage (0 to 100).
87+
}

0 commit comments

Comments
 (0)