LeviLamina
Loading...
Searching...
No Matches
PoolAliasBinding.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/SimpleWeightedEntry.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class IRandom;
12// clang-format on
13
15public:
16 // PoolAliasBinding inner types declare
17 // clang-format off
18 class PoolAliasLookup;
19 // clang-format on
20
21 // PoolAliasBinding inner types define
23 public:
24 // member variables
25 // NOLINTBEGIN
27 // NOLINTEND
28
29 public:
30 // prevent constructor by default
31 PoolAliasLookup& operator=(PoolAliasLookup const&);
34
35 public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI ~PoolAliasLookup();
39 // NOLINTEND
40
41 public:
42 // destructor thunk
43 // NOLINTBEGIN
44 MCFOLD void $dtor();
45 // NOLINTEND
46 };
47
48public:
49 // virtual functions
50 // NOLINTBEGIN
51 // vIndex: 0
52 virtual void appendResolvedAliases(::IRandom&, ::PoolAliasBinding::PoolAliasLookup&) const = 0;
53
54 // vIndex: 1
55 virtual void forAllTargets(::std::function<void(::std::string const&, ::std::string const&)> const&) const = 0;
56
57 // vIndex: 2
58 virtual ~PoolAliasBinding() = default;
59 // NOLINTEND
60
61public:
62 // static functions
63 // NOLINTBEGIN
64 MCAPI static ::std::shared_ptr<::PoolAliasBinding> direct(::std::string&& id, ::std::string&& target);
65
66 MCAPI static ::std::shared_ptr<::PoolAliasBinding>
67 random(::std::string&& id, ::std::vector<::Core::SimpleWeightedEntry<::std::string>>&& targets);
68
69 MCAPI static ::PoolAliasBinding::PoolAliasLookup resolvePoolAliases(
70 ::std::vector<::std::shared_ptr<::PoolAliasBinding>> const& aliases,
71 ::BlockPos const& structureStartPosition,
72 int64 levelSeed
73 );
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCAPI static void** $vftable();
92 // NOLINTEND
93};
Definition BlockPos.h:18
Definition IRandom.h:10
Definition PoolAliasBinding.h:22
Definition PoolAliasBinding.h:14
Definition SimpleWeightedEntry.h:8
Definition Alias.h:14