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

Public Member Functions

MCAPI void calculateFlockVector (::Actor const &owner)
MCAPI void calculateGoalHeading (::Mob &owner)
MCAPI bool canJoinFlock (::Actor &owner) const
MCAPI void joinFlock (::Actor &owner)
MCAPI void manageNeighborhood (::Actor &owner)
MCAPI void mergeNeighborhoods (::Actor &owner)
MCAPI void updateNeighborhoodData (::Actor const &owner)
MCAPI bool validateVariantEntityTypes (::Actor const &e0, ::Actor const &e1) const

Public Attributes

::ll::TypedStorage< 1, 1, bool > mInWater
::ll::TypedStorage< 1, 1, bool > mMatchVariant
::ll::TypedStorage< 1, 1, bool > mUseCenterOfMass
::ll::TypedStorage< 1, 1, bool > mIsLeader
::ll::TypedStorage< 1, 1, bool > mInFlock
::ll::TypedStorage< 1, 1, bool > mIsEnabled
::ll::TypedStorage< 1, 1, bool > mHasTargetGoal
::ll::TypedStorage< 1, 1, bool > mUsingDirection
::ll::TypedStorage< 4, 4, int > mFlockLimit
::ll::TypedStorage< 4, 4, float > mLonerChance
::ll::TypedStorage< 4, 4, float > mGoalWeight
::ll::TypedStorage< 4, 4, float > mInfluenceRadius
::ll::TypedStorage< 4, 4, float > mBreachInfluence
::ll::TypedStorage< 4, 4, float > mSeparationWeight
::ll::TypedStorage< 4, 4, float > mSeparationThreshold
::ll::TypedStorage< 4, 4, float > mCohesionWeight
::ll::TypedStorage< 4, 4, float > mCohesionThreshold
::ll::TypedStorage< 4, 4, float > mInnerCohesionThreshold
::ll::TypedStorage< 4, 4, float > mMinHeight
::ll::TypedStorage< 4, 4, float > mMaxHeight
::ll::TypedStorage< 4, 4, float > mBlockDist
::ll::TypedStorage< 4, 4, float > mBlockWeight
::ll::TypedStorage< 1, 1, bool > mOverspeedRequired
::ll::TypedStorage< 8, 24, ::std::vector<::ActorUniqueID > > mNeighborhood
::ll::TypedStorage< 4, 12, ::Vec3 > mCenterOfMass
::ll::TypedStorage< 4, 12, ::Vec3 > mGroupVelocity
::ll::TypedStorage< 4, 12, ::Vec3 > mGoalHeading
::ll::TypedStorage< 4, 12, ::Vec3 > mCurrentHeading

Member Function Documentation

◆ calculateFlockVector()

MCAPI void FlockingComponent::calculateFlockVector ( ::Actor const & owner)
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.

◆ calculateGoalHeading()

MCAPI void FlockingComponent::calculateGoalHeading ( ::Mob & owner)
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.

◆ canJoinFlock()

MCAPI bool FlockingComponent::canJoinFlock ( ::Actor & owner) const
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.

◆ joinFlock()

MCAPI void FlockingComponent::joinFlock ( ::Actor & owner)
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.

◆ manageNeighborhood()

MCAPI void FlockingComponent::manageNeighborhood ( ::Actor & owner)
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.

◆ mergeNeighborhoods()

MCAPI void FlockingComponent::mergeNeighborhoods ( ::Actor & owner)
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.

◆ updateNeighborhoodData()

MCAPI void FlockingComponent::updateNeighborhoodData ( ::Actor const & owner)
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.

◆ validateVariantEntityTypes()

MCAPI bool FlockingComponent::validateVariantEntityTypes ( ::Actor const & e0,
::Actor const & e1 ) const
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: