LeviLamina
Loading...
Searching...
No Matches
ActorInfoRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7struct ActorInfo;
8// clang-format on
9
10class ActorInfoRegistry {
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint64, uint>> mActorInfoNameMap;
15 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint, ::ActorInfo>> mActorInfoMap;
16 ::ll::TypedStorage<4, 4, uint> mLastId;
17 // NOLINTEND
18
19public:
20 // member functions
21 // NOLINTBEGIN
22 MCAPI ActorInfoRegistry();
23
24 MCAPI uint getActorInfoId(::std::string const& name) const;
25
26 MCAPI uint getActorInfoId(uint64 const& name) const;
27
28 MCAPI ::std::vector<::ActorInfo> getActorInfoList() const;
29
30 MCAPI bool isSpawnEggAvailable(::std::string identifier);
31
32 MCAPI void registerActorInfo(::ActorInfo const& info);
33 // NOLINTEND
34
35public:
36 // constructor thunks
37 // NOLINTBEGIN
38 MCAPI void* $ctor();
39 // NOLINTEND
40};
Definition ActorInfo.h:13