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 OneTimeForInvalidPlayer = 1,
24 Invalid = 2,
25 };
26
27 struct Entry {
28 public:
29 // member variables
30 // NOLINTBEGIN
34 // NOLINTEND
35
36 public:
37 // prevent constructor by default
38 Entry& operator=(Entry const&);
39 Entry(Entry const&);
40 Entry();
41
42 public:
43 // member functions
44 // NOLINTBEGIN
45 MCNAPI Entry(::mce::UUID const& uuid, ::std::string const& xuid);
46
47 MCNAPI ~Entry();
48 // NOLINTEND
49
50 public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCNAPI void* $ctor(::mce::UUID const& uuid, ::std::string const& xuid);
54 // NOLINTEND
55
56 public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCNAPI void $dtor();
60 // NOLINTEND
61 };
62
63public:
64 // member variables
65 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
72 DenyList& operator=(DenyList const&);
73 DenyList(DenyList const&);
74 DenyList();
75
76public:
77 // member functions
78 // NOLINTBEGIN
79 MCNAPI void addEntry(::DenyList::Entry const& entry);
80
81 MCNAPI ::DenyList::Duration getDuration(::DenyList::Entry const& entry) const;
82
83 MCNAPI bool isBlocked(::DenyList::Entry const& entry) const;
84
85 MCNAPI void removeEntry(::DenyList::Entry const& entry);
86 // NOLINTEND
87};
MCAPI void removeEntry(::DenyList::Entry const &entry)
MCAPI void addEntry(::DenyList::Entry const &entry)
MCAPI::DenyList::Duration getDuration(::DenyList::Entry const &entry) const
MCAPI bool isBlocked(::DenyList::Entry const &entry) const
Definition UUID.h:7
Definition DenyList.h:27
MCAPI Entry(::mce::UUID const &uuid, ::std::string const &xuid)
MCAPI void $dtor()
MCAPI void * $ctor(::mce::UUID const &uuid, ::std::string const &xuid)
Definition Alias.h:14