LeviLamina
Loading...
Searching...
No Matches
CameraSplineDataRegistryComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/puv/LoadResult.h"
8#include "mc/deps/resource_processing/category/CategoryLoader.h"
9#include "mc/deps/resource_processing/category/SharedSlicesTraits.h"
10#include "mc/platform/threading/Mutex.h"
11
12// auto generated forward declare list
13// clang-format off
16class PacketSender;
18namespace Core { class Path; }
19namespace SharedTypes::v1_26_0 { struct CameraSplineDefinition; }
20namespace SharedTypes::v1_26_0 { struct CameraSplineFile; }
21namespace cereal { struct ReflectionCtx; }
22// clang-format on
23
24class CameraSplineDataRegistryComponent : public ::Bedrock::EnableNonOwnerReferences {
25public:
26 // CameraSplineDataRegistryComponent inner types define
28
29public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 24, ::std::vector<::SharedTypes::v1_26_0::CameraSplineDefinition>> mSplines;
33 ::ll::TypedStorage<8, 80, ::Bedrock::Threading::Mutex> mRegistriesLock;
34 ::ll::TypedStorage<8, 8, ::IMinecraftEventing&> mEventing;
35 // NOLINTEND
36
37public:
38 // prevent constructor by default
39 CameraSplineDataRegistryComponent& operator=(CameraSplineDataRegistryComponent const&);
40 CameraSplineDataRegistryComponent(CameraSplineDataRegistryComponent const&);
41 CameraSplineDataRegistryComponent();
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCAPI explicit CameraSplineDataRegistryComponent(::IMinecraftEventing& eventing);
47
48 MCAPI ::Puv::LoadResult<::SharedTypes::v1_26_0::CameraSplineFile> _parseAndLoadSplines(
49 ::std::string const&& fileData,
50 ::Core::Path const& filenameWithExtension,
52 );
53
54 MCAPI void loadResources(::ResourcePackManager const& resourcePackManager, ::cereal::ReflectionCtx& ctx);
55
56 MCAPI void sendRegistryToClient(::PacketSender& packetSender, ::NetworkIdentifier const& source);
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(::IMinecraftEventing& eventing);
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition EnableNonOwnerReferences.h:7
Definition CategoryLoader.h:8
static MCAPI void ** $vftable()
Definition Path.h:12
Definition IMinecraftEventing.h:138
Definition NetworkIdentifier.h:10
Definition PacketSender.h:17
Definition ResourcePackManager.h:35
Definition SharedSlicesTraits.h:8
Definition CameraSplineDefinition.h:15
Definition CameraSplineFile.h:16
Definition ReflectionCtx.h:11
Definition ctx.h:5