LeviLamina
Loading...
Searching...
No Matches
IVirtualAllocator.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/platform/Result.h"
7
8
namespace
Bedrock::Memory {
9
10
class
IVirtualAllocator
{
11
public
:
12
// IVirtualAllocator inner types declare
13
// clang-format off
14
struct
Flags
;
15
struct
ReservationInfo
;
16
// clang-format on
17
18
// IVirtualAllocator inner types define
19
struct
Flags
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
uint mUnkb8649a : 1;
24
uint mUnk8510aa : 1;
25
uint mUnkd8880b : 1;
26
// NOLINTEND
27
28
public
:
29
// prevent constructor by default
30
Flags
& operator=(
Flags
const
&);
31
Flags
(
Flags
const
&);
32
Flags
();
33
};
34
35
struct
ReservationInfo
{
36
public
:
37
// member variables
38
// NOLINTBEGIN
39
::ll::UntypedStorage<8, 8>
mUnke61f86;
40
::ll::UntypedStorage<8, 8>
mUnk54d9ce;
41
// NOLINTEND
42
43
public
:
44
// prevent constructor by default
45
ReservationInfo
& operator=(
ReservationInfo
const
&);
46
ReservationInfo
(
ReservationInfo
const
&);
47
ReservationInfo
();
48
};
49
50
public
:
51
// virtual functions
52
// NOLINTBEGIN
53
// vIndex: 0
54
virtual ::Bedrock::Result<::Bedrock::Memory::IVirtualAllocator::ReservationInfo>
55
reserve(
::Bedrock::Memory::IVirtualAllocator::Flags
,
void
*, uint64, uint64) = 0;
56
57
// vIndex: 1
58
virtual ::Bedrock::Result<void> commit(
::Bedrock::Memory::IVirtualAllocator::Flags
,
void
*, uint64, uint64,
int
) = 0;
59
60
// vIndex: 2
61
virtual ::Bedrock::Result<void> decommit(
::Bedrock::Memory::IVirtualAllocator::Flags
,
void
*, uint64) = 0;
62
63
// vIndex: 3
64
virtual ::Bedrock::Result<void> release(
::Bedrock::Memory::IVirtualAllocator::Flags
,
void
*, uint64) = 0;
65
66
// vIndex: 4
67
virtual ::Bedrock::Memory::IVirtualAllocator::Flags getDefaultFlags() = 0;
68
// NOLINTEND
69
70
public
:
71
// virtual function thunks
72
// NOLINTBEGIN
73
74
// NOLINTEND
75
};
76
77
}
// namespace Bedrock::Memory
Bedrock::Memory::IVirtualAllocator
Definition
IVirtualAllocator.h:10
Bedrock::Memory::IVirtualAllocator::Flags
Definition
IVirtualAllocator.h:19
Bedrock::Memory::IVirtualAllocator::ReservationInfo
Definition
IVirtualAllocator.h:35
ll::UntypedStorage
Definition
Alias.h:14
src
mc
deps
core
memory
IVirtualAllocator.h
Generated on Sat Apr 26 2025 05:55:25 for LeviLamina by
1.12.0