LeviLamina
Loading...
Searching...
No Matches
PlayerRenderChunkModificationLatencyTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class SubChunkPos;
12namespace Bedrock::Threading { class Mutex; }
13// clang-format on
14
16public:
17 // PlayerRenderChunkModificationLatencyTracker inner types declare
18 // clang-format off
19 struct TimeDelta;
20 struct TimeMarker;
21 // clang-format on
22
23 // PlayerRenderChunkModificationLatencyTracker inner types define
24 struct TimeDelta {
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 TimeDelta& operator=(TimeDelta const&);
35 TimeDelta(TimeDelta const&);
36 TimeDelta();
37 };
38
39 using TimeStamp = ::std::chrono::steady_clock::time_point;
40
41 struct TimeMarker {
42 public:
43 // member variables
44 // NOLINTBEGIN
47 // NOLINTEND
48
49 public:
50 // prevent constructor by default
51 TimeMarker& operator=(TimeMarker const&);
52 TimeMarker(TimeMarker const&);
53 TimeMarker();
54 };
55
56public:
57 // member variables
58 // NOLINTBEGIN
59 ::ll::TypedStorage<1, 1, bool> mTimingIsActive;
60 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mStartTime;
61 ::ll::TypedStorage<8, 24, ::std::vector<::PlayerRenderChunkModificationLatencyTracker::TimeMarker>> mTimeMarkers;
62 ::ll::TypedStorage<4, 12, ::BlockPos> mBlockToTrack;
63 ::ll::TypedStorage<4, 12, ::SubChunkPos> mRenderChunkPosToTrack;
64 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mMutex;
65 // NOLINTEND
66
67public:
68 // virtual functions
69 // NOLINTBEGIN
70 // vIndex: 0
71 virtual ~PlayerRenderChunkModificationLatencyTracker() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77
78 // NOLINTEND
79};
Definition EnableNonOwnerReferences.h:7
Definition BlockPos.h:18
Definition PlayerRenderChunkModificationLatencyTracker.h:15
Definition SubChunkPos.h:5
Definition TimeStamp.h:5
Definition PlayerRenderChunkModificationLatencyTracker.h:24
Definition PlayerRenderChunkModificationLatencyTracker.h:41
Definition Alias.h:14