Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BreedableDefinition Class Reference

Public Member Functions

MCAPI void addBreedItem (::ActorDefinitionBreedItem const &breedItem)
MCAPI void addBreedItemByName (::std::string const &itemName)
MCAPI void addEnvironmentRequirement (::EnvironmentRequirement const &envReq)

Static Public Member Functions

static MCAPI void buildSchema (::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BreedableDefinition > > &root)

Public Attributes

::ll::TypedStorage< 8, 48, ::brstd::flat_map< ::ActorDefinitionIdentifier, ::ActorDefinitionTrigger, ::std::less<::ActorDefinitionIdentifier >, ::std::vector<::ActorDefinitionIdentifier >, ::std::vector<::ActorDefinitionTrigger > > > mBreedsWith
::ll::TypedStorage< 8, 24, ::std::vector<::ActorDefinitionBreedItem > > mBreedItems
::ll::TypedStorage< 8, 24, ::std::vector<::EnvironmentRequirement > > mEnvironmentRequirements
::ll::TypedStorage< 8, 64, ::ActorFilterGroup > mLoveFilter
::ll::TypedStorage< 1, 1, bool > mTame
::ll::TypedStorage< 1, 1, bool > mAllowSitting
::ll::TypedStorage< 1, 1, bool > mCausesPregnancy
::ll::TypedStorage< 1, 1, bool > mRequireFullHealth
::ll::TypedStorage< 4, 4, float > mExtraChance
::ll::TypedStorage< 4, 4, float > mBreedCooldownTimeSeconds

Member Function Documentation

◆ addBreedItem()

MCAPI void BreedableDefinition::addBreedItem ( ::ActorDefinitionBreedItem const & breedItem)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addBreedItemByName()

MCAPI void BreedableDefinition::addBreedItemByName ( ::std::string const & itemName)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addEnvironmentRequirement()

MCAPI void BreedableDefinition::addEnvironmentRequirement ( ::EnvironmentRequirement const & envReq)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ buildSchema()

MCAPI void BreedableDefinition::buildSchema ( ::std::shared_ptr<::JsonUtil::JsonSchemaObjectNode<::JsonUtil::EmptyClass, ::BreedableDefinition > > & root)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: