LeviLamina
Loading...
Searching...
No Matches
RateLimiter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5class RateLimiter {
6public:
7 // member variables
8 // NOLINTBEGIN
12 // NOLINTEND
13
14public:
15 // prevent constructor by default
16 RateLimiter& operator=(RateLimiter const&);
17 RateLimiter(RateLimiter const&);
18 RateLimiter();
19
20public:
21 // member functions
22 // NOLINTBEGIN
23#ifdef LL_PLAT_C
24 MCNAPI RateLimiter(uint64 limit, ::std::chrono::seconds timeIntervalSeconds);
25
26 MCNAPI bool tryAddInstance();
27#endif
28 // NOLINTEND
29
30public:
31 // constructor thunks
32 // NOLINTBEGIN
33#ifdef LL_PLAT_C
34 MCNAPI void* $ctor(uint64 limit, ::std::chrono::seconds timeIntervalSeconds);
35#endif
36 // NOLINTEND
37};
Definition Alias.h:14