LeviLamina
Loading...
Searching...
No Matches
BreedableDefinition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/definitions/DenySameParentsVariantData.h"
7#include "mc/entity/definitions/MutationFactorData.h"
8#include "mc/entity/definitions/MutationStrategy.h"
9#include "mc/platform/brstd/flat_map.h"
10#include "mc/util/IntRange.h"
11#include "mc/util/json_util/JsonSchemaObjectNode.h"
12#include "mc/world/actor/ActorFilterGroup.h"
13
14// auto generated forward declare list
15// clang-format off
17struct BreedableType;
20namespace JsonUtil { class EmptyClass; }
21// clang-format on
22
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<1, 1, bool> mTame;
28 ::ll::TypedStorage<1, 1, bool> mBlendAttributes;
29 ::ll::TypedStorage<1, 1, bool> mInheritTamed;
30 ::ll::TypedStorage<1, 1, bool> mAllowSitting;
31 ::ll::TypedStorage<1, 1, bool> mCombineParentColors;
32 ::ll::TypedStorage<1, 1, bool> mCausesPregnancy;
33 ::ll::TypedStorage<1, 1, bool> mRequireFullHealth;
34 ::ll::TypedStorage<4, 4, float> mExtraChance;
35 ::ll::TypedStorage<4, 4, float> mBreedCooldownTimeSeconds;
36 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionBreedItem>> mBreedItems;
37 ::ll::TypedStorage<8, 16, ::std::set<::std::string>> mParentCentricAttributeBlending;
38 ::ll::TypedStorage<8, 24, ::std::vector<::EnvironmentRequirement>> mEnvironmentRequirements;
39 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mLoveFilter;
40 ::ll::TypedStorage<8, 24, ::std::vector<::BreedableType>> mBreedTypes;
41 ::ll::TypedStorage<4, 12, ::MutationFactorData> mMutationFactors;
42 ::ll::TypedStorage<1, 1, ::MutationStrategy> mMutationStrategy;
43 ::ll::TypedStorage<4, 8, ::IntRange> mRandomVariantMutationInterval;
44 ::ll::TypedStorage<4, 8, ::IntRange> mRandomExtraVariantMutationInterval;
45 ::ll::TypedStorage<4, 12, ::DenySameParentsVariantData> mDenyParentsVariant;
46 ::ll::TypedStorage<
47 8,
48 56,
50 ::std::string,
52 ::std::less<::std::string>,
53 ::std::vector<::std::string>,
54 ::std::vector<::PropertyGeneticData>>>
55 mGeneticProperties;
56 // NOLINTEND
57
58public:
59 // member functions
60 // NOLINTBEGIN
61 MCAPI void addBreedItem(::ActorDefinitionBreedItem const& breedItem);
62
63 MCAPI void addBreedItemByName(::std::string const& itemName);
64
65 MCAPI void addBreedableType(::BreedableType const& breedType);
66
67 MCAPI void addEnvironmentRequirement(::EnvironmentRequirement const& envReq);
68
69 MCAPI void addParentCentricAttributeBlending(::std::string const& attributesToUseParentCentricBlendingFor);
70
71 MCAPI void setMutationStrategy(::std::string const& strategyCased);
72
74 // NOLINTEND
75
76public:
77 // static functions
78 // NOLINTBEGIN
79 MCAPI static void buildSchema(
81 );
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCAPI void $dtor();
88 // NOLINTEND
89};
Definition BreedableDefinition.h:23
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition flat_map.h:8
Definition ActorDefinitionBreedItem.h:8
Definition BreedableType.h:5
Definition EnvironmentRequirement.h:10
Definition PropertyGeneticData.h:5