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
32 ::std::string const& identifier,
33 uint64 sizeLimit,
34 ::std::string& error
35 ) const;
36
37 MCNAPI ::std::optional<::DynamicPropertyDefinePropertyError>
38 defineProperty(::std::string const& identifier, ::DynamicPropertyDefinition definition);
39
40 MCNAPI ::DynamicPropertyDefinition const* tryGetPropertyDefinition(::std::string const& identifier) const;
41
42 MCNAPI ::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 MCNAPI static uint64 const& ACTOR_TOTAL_DYNAMIC_PROPERTY_SIZE_LIMIT();
52
53 MCNAPI static uint64 const& IDENTIFIER_SIZE_LIMIT();
54
55 MCNAPI static uint64 const& WORLD_TOTAL_DYNAMIC_PROPERTY_SIZE_LIMIT();
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCNAPI void $dtor();
62 // NOLINTEND
63};
Definition DynamicPropertiesDefinition.h:13
static MCAPI uint64 const & WORLD_TOTAL_DYNAMIC_PROPERTY_SIZE_LIMIT()
MCAPI::DynamicPropertyDefinition const * tryGetPropertyDefinition(::std::string const &identifier) const
MCAPI ::std::optional<::DynamicPropertyDefinePropertyError > defineProperty(::std::string const &identifier, ::DynamicPropertyDefinition definition)
MCAPI ::std::optional<::std::string > tryMergeDefinitions(::DynamicPropertiesDefinition const &other, ::std::string const &identifier, uint64 sizeLimit)
MCAPI bool _canMergeDefinitions(::DynamicPropertiesDefinition const &other, ::std::string const &identifier, uint64 sizeLimit, ::std::string &error) const
static MCAPI uint64 const & IDENTIFIER_SIZE_LIMIT()
static MCAPI uint64 const & ACTOR_TOTAL_DYNAMIC_PROPERTY_SIZE_LIMIT()
Definition DynamicPropertyDefinition.h:5
Definition Alias.h:14