LeviLamina
Loading...
Searching...
No Matches
DenyList.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/threading/LockGuard.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace mce { class UUID; }
11// clang-format on
12
13class DenyList {
14public:
15 // DenyList inner types declare
16 // clang-format off
17 struct Entry;
18 // clang-format on
19
20 // DenyList inner types define
21 enum class Duration : int {
22 Session = 0,
23 OneTime = 1,
24 Invalid = 2,
25 };
26
27 struct Entry {
28 public:
29 // member variables
30 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 Entry& operator=(Entry const&);
40 Entry(Entry const&);
41 Entry();
42
43 public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI Entry(::mce::UUID const& uuid, ::std::string const& xuid);
47
48 MCAPI ~Entry();
49 // NOLINTEND
50
51 public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::mce::UUID const& uuid, ::std::string const& xuid);
55 // NOLINTEND
56
57 public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI void $dtor();
61 // NOLINTEND
62 };
63
64public:
65 // member variables
66 // NOLINTBEGIN
69 // NOLINTEND
70
71public:
72 // prevent constructor by default
73 DenyList& operator=(DenyList const&);
74 DenyList(DenyList const&);
75 DenyList();
76
77public:
78 // member functions
79 // NOLINTBEGIN
80 MCAPI void addEntry(::DenyList::Entry const& entry);
81
82 MCAPI ::DenyList::Duration getDuration(::DenyList::Entry const& entry) const;
83
84 MCAPI ::std::string const& getMessage(::DenyList::Entry const& entry) const;
85
86 MCAPI bool isBlocked(::DenyList::Entry const& entry) const;
87
88 MCAPI ~DenyList();
89 // NOLINTEND
90
91public:
92 // destructor thunk
93 // NOLINTBEGIN
94 MCAPI void $dtor();
95 // NOLINTEND
96};
Definition DenyList.h:13
Definition UUID.h:7
Definition DenyList.h:27
Definition Alias.h:14