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(::mce::UUID const& uuid, ::std::string const& xuid, ::DenyList::Duration const& duration);
48
49 MCNAPI ~Entry();
50 // NOLINTEND
51
52 public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCNAPI void* $ctor(::mce::UUID const& uuid, ::std::string const& xuid);
56
57 MCNAPI void* $ctor(::mce::UUID const& uuid, ::std::string const& xuid, ::DenyList::Duration const& duration);
58 // NOLINTEND
59
60 public:
61 // destructor thunk
62 // NOLINTBEGIN
63 MCNAPI void $dtor();
64 // NOLINTEND
65 };
66
67public:
68 // member variables
69 // NOLINTBEGIN
72 // NOLINTEND
73
74public:
75 // prevent constructor by default
76 DenyList& operator=(DenyList const&);
77 DenyList(DenyList const&);
78 DenyList();
79
80public:
81 // member functions
82 // NOLINTBEGIN
83 MCNAPI void addEntry(::DenyList::Entry const& entry);
84
85 MCNAPI ::DenyList::Duration getDuration(::DenyList::Entry const& entry) const;
86
87 MCNAPI bool isBlocked(::DenyList::Entry const& entry) const;
88
89 MCNAPI ~DenyList();
90 // NOLINTEND
91
92public:
93 // destructor thunk
94 // NOLINTBEGIN
95 MCNAPI void $dtor();
96 // NOLINTEND
97};
MCAPI void $dtor()
MCAPI void addEntry(::DenyList::Entry const &entry)
MCAPI::DenyList::Duration getDuration(::DenyList::Entry const &entry) const
MCAPI bool isBlocked(::DenyList::Entry const &entry) const
MCAPI ~DenyList()
Definition UUID.h:7
Definition DenyList.h:27
MCAPI Entry(::mce::UUID const &uuid, ::std::string const &xuid, ::DenyList::Duration const &duration)
MCAPI Entry(::mce::UUID const &uuid, ::std::string const &xuid)
MCAPI void $dtor()
MCAPI void * $ctor(::mce::UUID const &uuid, ::std::string const &xuid)
MCAPI void * $ctor(::mce::UUID const &uuid, ::std::string const &xuid, ::DenyList::Duration const &duration)
Definition Alias.h:14