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
8namespace Bedrock::Memory {
9
11public:
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
36 public:
37 // member variables
38 // NOLINTBEGIN
41 // NOLINTEND
42
43 public:
44 // prevent constructor by default
45 ReservationInfo& operator=(ReservationInfo const&);
48 };
49
50public:
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
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73
74 // NOLINTEND
75};
76
77} // namespace Bedrock::Memory
Definition IVirtualAllocator.h:10
Definition IVirtualAllocator.h:19
Definition Alias.h:14