LeviLamina
Loading...
Searching...
No Matches
VoxelShapeLoader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/puv/LoadResult.h"
7#include "mc/deps/resource_processing/category/CategoryLoader.h"
8#include "mc/deps/resource_processing/category/SharedSlicesTraits.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class HashedString;
16namespace SharedTypes::v1_21_110 { struct VoxelShapeDocument; }
17namespace VoxelShapes { class VoxelShapeRegistry; }
18// clang-format on
19
20class VoxelShapeLoader {
21public:
22 // member variables
23 // NOLINTBEGIN
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 VoxelShapeLoader& operator=(VoxelShapeLoader const&);
31 VoxelShapeLoader(VoxelShapeLoader const&);
32 VoxelShapeLoader();
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI ::Puv::LoadResult<::SharedTypes::v1_21_110::VoxelShapeDocument> _loadVoxelShape(
38 ::std::string const& filenameWithExtension,
39 ::std::string&& fileData,
41 bool isBaseGamePack
42 );
43
44 MCNAPI void loadResources(
45 ::ResourcePackManager const& packManager,
47 ::IMinecraftEventing& eventing
48 );
49
51 // NOLINTEND
52
53public:
54 // static functions
55 // NOLINTBEGIN
57 ::HashedString const& shapeName,
59 ::std::vector<::AABB>& resultAABBs
60 );
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68};
Definition AABB.h:18
Definition HashedString.h:5
Definition IMinecraftEventing.h:134
Definition ResourcePackManager.h:30
MCAPI void $dtor()
MCAPI ::Puv::LoadResult<::SharedTypes::v1_21_110::VoxelShapeDocument > _loadVoxelShape(::std::string const &filenameWithExtension, ::std::string &&fileData, ::VoxelShapes::VoxelShapeRegistry &shapeRegistry, bool isBaseGamePack)
MCAPI void loadResources(::ResourcePackManager const &packManager, ::VoxelShapes::VoxelShapeRegistry &shapeRegistry, ::IMinecraftEventing &eventing)
static MCAPI bool _validateDocumentAndConvertToAABBs(::HashedString const &shapeName, ::SharedTypes::v1_21_110::VoxelShapeDocument const &doc, ::std::vector<::AABB > &resultAABBs)
MCAPI ~VoxelShapeLoader()
Definition VoxelShapeRegistry.h:14
Definition VoxelShapeDocument.h:17
Definition Alias.h:14