Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OceanMixerOperationNode.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/biome/BiomeTemperatureCategory.h"
7#include "mc/world/level/newbiome/MixerOperationNode.h"
8#include "mc/world/level/newbiome/OperationGraphResult.h"
9#include "mc/world/level/newbiome/OperationNode.h"
10#include "mc/world/level/newbiome/operation_node_details/WorkingData.h"
11
12// auto generated forward declare list
13// clang-format off
14class Biome;
15class BiomeRegistry;
16class Pos2d;
17// clang-format on
18
19class OceanMixerOperationNode
20: public ::MixerOperationNode<::Biome const*, ::Pos2d, ::Biome const*, ::BiomeTemperatureCategory> {
21public:
22 // OceanMixerOperationNode inner types define
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 8, ::Biome const*> mGenericShallowOcean;
29 ::ll::TypedStorage<8, 8, ::Biome const*> mGenericDeepOcean;
30 ::ll::TypedStorage<8, 120, ::std::vector<::std::pair<::Biome const*, uint>>[5]> mShallowOceanBiomes;
31 ::ll::TypedStorage<8, 120, ::std::vector<::std::pair<::Biome const*, uint>>[5]> mDeepOceanBiomes;
32 // NOLINTEND
33
34public:
35 // prevent constructor by default
36 OceanMixerOperationNode();
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 virtual void _fillArea(
43 ::Pos2d const& origin,
44 ::Pos2d const& size,
45 int pw,
47 ) const /*override*/;
48
49 virtual ::std::tuple<::Pos2d, ::Pos2d> _getAreaRead(::Pos2d const& origin, ::Pos2d const& size) const /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
56 uint seedMixup,
57 ::std::shared_ptr<::OperationNode<::Biome const*, ::Pos2d>>& biomeLayer,
58 ::std::shared_ptr<::OperationNode<::BiomeTemperatureCategory, ::Pos2d>>& oceanLayer,
59 ::BiomeRegistry const& registry,
60 ::Biome const& genericShallowOcean,
61 ::Biome const& genericDeepOcean
62 );
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(
69 uint seedMixup,
70 ::std::shared_ptr<::OperationNode<::Biome const*, ::Pos2d>>& biomeLayer,
71 ::std::shared_ptr<::OperationNode<::BiomeTemperatureCategory, ::Pos2d>>& oceanLayer,
72 ::BiomeRegistry const& registry,
73 ::Biome const& genericShallowOcean,
74 ::Biome const& genericDeepOcean
75 );
76 // NOLINTEND
77
78public:
79 // virtual function thunks
80 // NOLINTBEGIN
81 MCNAPI void $_fillArea(
83 ::Pos2d const& origin,
84 ::Pos2d const& size,
85 int pw,
87 ) const;
88
89 MCNAPI ::std::tuple<::Pos2d, ::Pos2d> $_getAreaRead(::Pos2d const& origin, ::Pos2d const& size) const;
90
91
92 // NOLINTEND
93};
Definition BiomeRegistry.h:37
Definition Biome.h:23
Definition MixerOperationNode.h:6
MCAPI OceanMixerOperationNode(uint seedMixup, ::std::shared_ptr<::OperationNode<::Biome const *, ::Pos2d > > &biomeLayer, ::std::shared_ptr<::OperationNode<::BiomeTemperatureCategory, ::Pos2d > > &oceanLayer, ::BiomeRegistry const &registry, ::Biome const &genericShallowOcean, ::Biome const &genericDeepOcean)
MCAPI void * $ctor(uint seedMixup, ::std::shared_ptr<::OperationNode<::Biome const *, ::Pos2d > > &biomeLayer, ::std::shared_ptr<::OperationNode<::BiomeTemperatureCategory, ::Pos2d > > &oceanLayer, ::BiomeRegistry const &registry, ::Biome const &genericShallowOcean, ::Biome const &genericDeepOcean)
MCAPI ::std::tuple<::Pos2d, ::Pos2d > $_getAreaRead(::Pos2d const &origin, ::Pos2d const &size) const
MCAPI void $_fillArea(::OperationNodeDetails::WorkingData<::Biome const *, ::Biome const * > &operationNodeData, ::Pos2d const &origin, ::Pos2d const &size, int pw, ::OperationGraphResult<::BiomeTemperatureCategory > oceanData) const
Definition OperationGraphResult.h:6
Definition WorkingData.h:8
Definition OperationNode.h:6
Definition Pos2d.h:6