LeviLamina
Loading...
Searching...
No Matches
DynamicPropertiesDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/persistence/DynamicPropertyDefinePropertyError.h"
7
8// auto generated forward declare list
9// clang-format off
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCAPI bool _canMergeDefinitions(
32 ::std::string const& identifier,
33 uint64 sizeLimit,
34 ::std::string& error
35 ) const;
36
37 MCAPI ::std::optional<::DynamicPropertyDefinePropertyError>
38 defineProperty(::std::string const& identifier, ::DynamicPropertyDefinition definition);
39
40 MCAPI ::DynamicPropertyDefinition const* tryGetPropertyDefinition(::std::string const& identifier) const;
41
42 MCAPI ::std::optional<::std::string>
43 tryMergeDefinitions(::DynamicPropertiesDefinition const& other, ::std::string const& identifier, uint64 sizeLimit);
44
46 // NOLINTEND
47
48public:
49 // static variables
50 // NOLINTBEGIN
51 MCAPI static uint64 const& ACTOR_TOTAL_DYNAMIC_PROPERTY_SIZE_LIMIT();
52
53 MCAPI static uint64 const& IDENTIFIER_SIZE_LIMIT();
54
55 MCAPI static uint64 const& WORLD_TOTAL_DYNAMIC_PROPERTY_SIZE_LIMIT();
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63};
Definition DynamicPropertiesDefinition.h:13
Definition DynamicPropertyDefinition.h:5
Definition Alias.h:14