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/platform/brstd/flat_map.h"
7#include "mc/util/json_util/JsonSchemaObjectNode.h"
8#include "mc/world/actor/ActorFilterGroup.h"
9
10// auto generated forward declare list
11// clang-format off
14class EntityContext;
18namespace JsonUtil { class EmptyClass; }
19// clang-format on
20
21class BreedableDefinition {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<
26 8,
27 48,
31 ::std::less<::ActorDefinitionIdentifier>,
32 ::std::vector<::ActorDefinitionIdentifier>,
33 ::std::vector<::ActorDefinitionTrigger>>>
34 mBreedsWith;
35 ::ll::TypedStorage<8, 24, ::std::vector<::ActorDefinitionBreedItem>> mBreedItems;
36 ::ll::TypedStorage<8, 24, ::std::vector<::EnvironmentRequirement>> mEnvironmentRequirements;
37 ::ll::TypedStorage<8, 64, ::ActorFilterGroup> mLoveFilter;
38 ::ll::TypedStorage<1, 1, bool> mTame;
39 ::ll::TypedStorage<1, 1, bool> mAllowSitting;
40 ::ll::TypedStorage<1, 1, bool> mCausesPregnancy;
41 ::ll::TypedStorage<1, 1, bool> mRequireFullHealth;
42 ::ll::TypedStorage<4, 4, float> mExtraChance;
43 ::ll::TypedStorage<4, 4, float> mBreedCooldownTimeSeconds;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI BreedableDefinition();
50
51 MCAPI void addBreedItem(::ActorDefinitionBreedItem const& breedItem);
52
53 MCAPI void addBreedItemByName(::std::string const& itemName);
54
55 MCAPI void addEnvironmentRequirement(::EnvironmentRequirement const& envReq);
56
57 MCAPI void initialize(::EntityContext&, ::BreedableComponent& component) const;
58
59 MCAPI ~BreedableDefinition();
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static void buildSchema(
67 );
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor();
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81};
Definition ActorDefinitionTrigger.h:16
Definition BreedableComponent.h:22
Definition EntityContext.h:17
Definition EmptyClass.h:7
Definition JsonSchemaObjectNode.h:8
Definition flat_map.h:15
Definition ActorDefinitionBreedItem.h:8
Definition ActorDefinitionIdentifier.h:15
Definition EnvironmentRequirement.h:10