LeviLamina
Loading...
Searching...
No Matches
CrashDumpLog.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
10// clang-format on
11
13public:
14 // static functions
15 // NOLINTBEGIN
16 MCNAPI static void crashDumpLogThreadRoutine();
17
18 MCNAPI static void logEvent(::CrashDumpEventData const& eventData);
19
20 MCNAPI static void logKeyValue(::CrashDumpKeyValueData const& keyValueData);
21
22 MCNAPI static void setAssertMessage(char const* desc, int line, char const* file, char const* function);
23
24 MCNAPI static void setBehaviorPackIds(::std::vector<::std::string> const& packIds);
25
26 MCNAPI static bool setDeviceID(::std::string const& str);
27
28 MCNAPI static bool setDeviceSessionID(::std::string const& str);
29
30#ifdef LL_PLAT_C
31 MCNAPI static void setMainSceneStack(::std::vector<::std::string> const& sceneNames);
32
33 MCNAPI static void setPlayerSceneStack(int playerIndex, ::std::vector<::std::string> const& sceneNames);
34
35 MCNAPI static void setResourcePackIds(::std::vector<::std::string> const& packIds);
36#endif
37
38 MCNAPI static bool startCrashDumpLogThread();
39
40 MCNAPI static void stopCrashDumpLogThread();
41 // NOLINTEND
42
43public:
44 // static variables
45 // NOLINTBEGIN
46 MCNAPI static ::CrashDump_AllData*& mAllData();
47
48 MCNAPI static ::std::unique_ptr<::std::thread>& mCrashDumpLog_logThread();
49
50 MCNAPI static ::std::mutex& mCrashDumpThreadMutex();
51
52 MCNAPI static ::std::condition_variable& mCrashDumpThreadMutexCV();
53
54 MCNAPI static ::std::mutex& mDataMutex();
55
56 MCNAPI static bool& mIsThreadRunning();
57 // NOLINTEND
58};
Definition CrashDumpLog.h:12
static MCAPI bool & mIsThreadRunning()
static MCAPI void setBehaviorPackIds(::std::vector<::std::string > const &packIds)
static MCAPI bool setDeviceSessionID(::std::string const &str)
static MCAPI ::std::unique_ptr<::std::thread > & mCrashDumpLog_logThread()
static MCAPI ::std::condition_variable & mCrashDumpThreadMutexCV()
static MCAPI ::std::mutex & mDataMutex()
static MCAPI void stopCrashDumpLogThread()
static MCAPI bool setDeviceID(::std::string const &str)
static MCAPI void setAssertMessage(char const *desc, int line, char const *file, char const *function)
static MCAPI bool startCrashDumpLogThread()
static MCAPI void crashDumpLogThreadRoutine()
static MCAPI void logEvent(::CrashDumpEventData const &eventData)
static MCAPI ::std::mutex & mCrashDumpThreadMutex()
static MCAPI void logKeyValue(::CrashDumpKeyValueData const &keyValueData)
static MCAPI ::CrashDump_AllData *& mAllData()
Definition CrashDumpEventData.h:13
Definition CrashDumpKeyValueData.h:10
Definition CrashDump_AllData.h:5