Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
DBStorageFolderWatcher.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/Path.h"
7#include "mc/events/PrivacyTagEnterprise.h"
8#include "mc/world/level/storage/DBStorageFolderWatcherSnapshotKind.h"
9#include "mc/world/level/storage/FolderSizeAndModifyDateSnapshot.h"
10
11// auto generated forward declare list
12// clang-format off
14namespace Core { class PathView; }
15namespace Social::Events { class Event; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::Core::Path> mAbsolutePath;
23 ::ll::TypedStorage<8, 24, ::FolderSizeAndModifyDateSnapshot> mOpeningSnapshot;
24 ::ll::TypedStorage<8, 24, ::FolderSizeAndModifyDateSnapshot> mCurrentSnapshot;
25 ::ll::TypedStorage<8, 72, ::std::array<::FolderSizeAndModifyDateSnapshot, 3>> mSnapshotChain;
26 ::ll::TypedStorage<8, 24, ::FolderSizeAndModifyDateSnapshot> mClosingSnapshot;
27 ::ll::TypedStorage<8, 8, uint64> mTelemetrySequence;
28 ::ll::TypedStorage<8, 80, ::std::mutex> mWriteMtx;
29 ::ll::TypedStorage<1, 1, bool> mWorldExitSnapshotCaptureSucceeded;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI ::FolderSizeAndModifyDateSnapshotMetrics getCurrentSnapshotMetrics() const;
36
37 MCNAPI ::FolderSizeAndModifyDateSnapshotMetrics
38 getCurrentSnapshotMetrics(::Core::PathView relativeSubdirectory) const;
39
40 MCNAPI void pushSnapshot();
41
42#ifdef LL_PLAT_C
43 MCNAPI void toTelemetryEvent(
45 ::DBStorageFolderWatcherSnapshotKind kind,
46 ::Social::Events::PrivacyTagEnterprise privacyTag
47 ) const;
48#endif
49 // NOLINTEND
50};
Definition PathView.h:19
Definition DBStorageFolderWatcher.h:18
MCAPI::FolderSizeAndModifyDateSnapshotMetrics getCurrentSnapshotMetrics(::Core::PathView relativeSubdirectory) const
MCAPI void pushSnapshot()
MCAPI::FolderSizeAndModifyDateSnapshotMetrics getCurrentSnapshotMetrics() const
Definition Event.h:18
Definition FolderSizeAndModifyDateSnapshotMetrics.h:5