LeviLamina
Loading...
Searching...
No Matches
CodeBuilderPerformance Class Reference

Public Types

enum class  Stage : int {
  CacheCodescreenStart = 0 , CacheCodescreenFinish = 1 , WebviewLoadStart = 2 , WebviewLoadFinish = 3 ,
  CreateNewProject = 4 , ProjectLoadStart = 5 , ProjectLoadFinish = 6 , TutorialLoadStart = 7 ,
  TutorialLoadFinish = 8 , EditorContentLoaded = 9 , LoadBlockly = 10 , BlocksContentLoaded = 11 ,
  NetworkRequest = 12 , DomLoaded = 13 , CodeRunStart = 14 , CodeRunComplete = 15 ,
  FirstCommandSent = 16 , FirstCommandReceived = 17 , FirstUserVisibleResult = 18
}
 
enum class  Flags : int {
  FirstWorldLaunch = 0 , FirstSessionLaunch = 1 , CodeScreenCached = 2 , TutorialCached = 3 ,
  Count = 4
}
 

Static Public Member Functions

static MCAPI void fireCodeBuilderLoadPerformanceEvent (::CodeBuilderPerformance::Stage stage, ::std::string const &codeProjectId, uint64 tutorialSize, uint64 downloadSize, ::IMinecraftEventing *eventing, ::std::chrono::milliseconds duration)
 
static MCAPI ::std::chrono::milliseconds getElapsedTime (::CodeBuilderPerformance::Stage stage)
 
static MCAPI ::std::string toString (::CodeBuilderPerformance::Stage stage)
 
static MCAPI void updateLastTimestamp ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mCacheCodeScreenTimeStart ()
 
static MCAPI ::std::string & mCodeBuilderSessionId ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mCodeRunStart ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mCreateNewProjectTimeStart ()
 
static MCAPI ::std::string & mEditorName ()
 
static MCAPI ::std::bitset< 4 > & mFlags ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mLastTimestamp ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mProjectLoadTimeStart ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mTutorialLoadTimeStart ()
 
static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & mWebviewLoadTimeStart ()
 

Member Function Documentation

◆ fireCodeBuilderLoadPerformanceEvent()

static MCAPI void CodeBuilderPerformance::fireCodeBuilderLoadPerformanceEvent ( ::CodeBuilderPerformance::Stage stage,
::std::string const & codeProjectId,
uint64 tutorialSize,
uint64 downloadSize,
::IMinecraftEventing * eventing,
::std::chrono::milliseconds duration )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getElapsedTime()

static MCAPI ::std::chrono::milliseconds CodeBuilderPerformance::getElapsedTime ( ::CodeBuilderPerformance::Stage stage)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ toString()

static MCAPI ::std::string CodeBuilderPerformance::toString ( ::CodeBuilderPerformance::Stage stage)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateLastTimestamp()

static MCAPI void CodeBuilderPerformance::updateLastTimestamp ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mCacheCodeScreenTimeStart()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mCacheCodeScreenTimeStart ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mCodeBuilderSessionId()

static MCAPI ::std::string & CodeBuilderPerformance::mCodeBuilderSessionId ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mCodeRunStart()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mCodeRunStart ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mCreateNewProjectTimeStart()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mCreateNewProjectTimeStart ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mEditorName()

static MCAPI ::std::string & CodeBuilderPerformance::mEditorName ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mFlags()

static MCAPI ::std::bitset< 4 > & CodeBuilderPerformance::mFlags ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mLastTimestamp()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mLastTimestamp ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mProjectLoadTimeStart()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mProjectLoadTimeStart ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mTutorialLoadTimeStart()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mTutorialLoadTimeStart ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mWebviewLoadTimeStart()

static MCAPI ::std::optional<::std::chrono::steady_clock::time_point > & CodeBuilderPerformance::mWebviewLoadTimeStart ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: