LeviLamina
Loading...
Searching...
No Matches
CrashFileApiImpl.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/application/crash_manager/ICrashFileApi.h"
7#include "mc/platform/Result.h"
8
9namespace Bedrock {
10
12public:
13 // virtual functions
14 // NOLINTBEGIN
15 virtual ::std::string_view getSaveRoot() const /*override*/;
16
17#ifdef LL_PLAT_S
18 virtual ::Bedrock::Result<void> createDirectory(char const*) /*override*/;
19#else // LL_PLAT_C
20 virtual ::Bedrock::Result<void> createDirectory(char const* path) /*override*/;
21#endif
22
23#ifdef LL_PLAT_S
24 virtual ::Bedrock::Result<void> writeFile(char const*, char const*, uint64) /*override*/;
25#else // LL_PLAT_C
26 virtual ::Bedrock::Result<void> writeFile(char const* path, char const* buffer, uint64 bufferSize) /*override*/;
27#endif
28
29 // NOLINTEND
30
31public:
32 // virtual function thunks
33 // NOLINTBEGIN
34#ifdef LL_PLAT_C
35 MCNAPI ::std::string_view $getSaveRoot() const;
36
37 MCNAPI ::Bedrock::Result<void> $createDirectory(char const* path);
38
39 MCNAPI ::Bedrock::Result<void> $writeFile(char const* path, char const* buffer, uint64 bufferSize);
40#endif
41
42
43 // NOLINTEND
44
45public:
46 // vftables
47 // NOLINTBEGIN
48 MCNAPI static void** $vftable();
49 // NOLINTEND
50};
51
52} // namespace Bedrock
Definition CrashFileApiImpl.h:11
static MCAPI void ** $vftable()
Definition ICrashFileApi.h:10
Definition buffer.h:5