LeviLamina
Loading...
Searching...
No Matches
DirtyTicksCounter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5struct DirtyTicksCounter {
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<4, 4, int> totalTime;
10 ::ll::TypedStorage<4, 4, int> lastChange;
11 // NOLINTEND
12
13public:
14 // member functions
15 // NOLINTBEGIN
16 MCAPI DirtyTicksCounter();
17
18 MCAPI int getTicksSinceLastChange() const;
19
20 MCFOLD int getTotalDirtyTicks() const;
21
22 MCAPI ::DirtyTicksCounter& operator++();
23
24 MCAPI void reset();
25
26 MCAPI void touch();
27 // NOLINTEND
28
29public:
30 // static functions
31 // NOLINTBEGIN
32 MCAPI static ::DirtyTicksCounter max();
33 // NOLINTEND
34
35public:
36 // constructor thunks
37 // NOLINTBEGIN
38 MCAPI void* $ctor();
39 // NOLINTEND
40};