LeviLamina
Loading...
Searching...
No Matches
VoxelShapeRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class HashedString;
8namespace VoxelShapes { class RegistryHandle; }
9namespace VoxelShapes { class VoxelShape; }
10// clang-format on
11
12namespace VoxelShapes {
13
14class VoxelShapeRegistry {
15public:
16 // member variables
17 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
29 VoxelShapeRegistry& operator=(VoxelShapeRegistry const&);
30 VoxelShapeRegistry(VoxelShapeRegistry const&);
31 VoxelShapeRegistry();
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCNAPI ::VoxelShapes::RegistryHandle _addNonBuiltIn(::VoxelShapes::VoxelShape&& shape, bool isVanillaShape);
37
38 MCNAPI ::VoxelShapes::RegistryHandle _insertOrFindDuplicate(::VoxelShapes::VoxelShape&& shape, bool isVanillaShape);
39
40 MCNAPI void initialize();
41 // NOLINTEND
42
43public:
44 // static variables
45 // NOLINTBEGIN
46 MCNAPI static ::HashedString const& EMPTY_ID();
47
48 MCNAPI static uint64 const& UNIQUE_SHAPES_MAX();
49
50 MCNAPI static ::HashedString const& UNIT_CUBE_ID();
51 // NOLINTEND
52};
53
54} // namespace VoxelShapes
Definition HashedString.h:5
Definition RegistryHandle.h:7
static MCAPI uint64 const & UNIQUE_SHAPES_MAX()
static MCAPI ::HashedString const & EMPTY_ID()
static MCAPI ::HashedString const & UNIT_CUBE_ID()
MCAPI::VoxelShapes::RegistryHandle _insertOrFindDuplicate(::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
MCAPI::VoxelShapes::RegistryHandle _addNonBuiltIn(::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
Definition VoxelShape.h:19
Definition Alias.h:14