13 enum class Flags :
int {
14 AwaitingFirstCommandSent = 0,
15 AwaitingFirstCommandReceived = 1,
16 AwaitingFirstCommandRun = 2,
20 FirstSessionLaunch = 6,
25 enum class Stage :
int {
26 CacheCodescreenStart = 0,
27 CacheCodescreenFinish = 1,
29 WebviewLoadFinish = 3,
32 ProjectLoadFinish = 6,
33 TutorialLoadStart = 7,
34 TutorialLoadFinish = 8,
35 EditorContentLoaded = 9,
37 BlocksContentLoaded = 11,
42 FirstCommandSent = 16,
43 FirstCommandReceived = 17,
52 ::CodeBuilderPerformance::Stage stage,
53 ::std::string_view codeProjectId,
56 ::std::chrono::milliseconds duration
59 MCNAPI static ::std::chrono::milliseconds
getElapsedTime(::CodeBuilderPerformance::Stage stage);
61 MCNAPI_C
static void setCodeBuilderSessionId();
63 MCNAPI static ::std::string
toString(::CodeBuilderPerformance::Stage stage);
77 MCNAPI static ::std::optional<::std::chrono::steady_clock::time_point>&
mCodeRunStart();
83 MCNAPI static ::std::bitset<8>&
mFlags();
85 MCNAPI static ::std::optional<::std::chrono::steady_clock::time_point>&
mLastTimestamp();