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

Public Types

enum class  BreathableState : int {
  InAir = 0 , InWater = 1 , InLava = 2 , InSolids = 3 ,
  InBreathableOverrideBlock = 4 , InNonBreathableOverrideBlock = 5
}

Public Member Functions

BreathableComponent & operator= (BreathableComponent const &)
 BreathableComponent (BreathableComponent const &)
MCAPI bool canBreathe (::Actor const &owner) const
MCAPI::BreathableComponent & operator= (::BreathableComponent &&)
MCAPI void updateBreathableState (::Actor &owner)
MCAPI ~BreathableComponent ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mSuffocateTime
::ll::TypedStorage< 4, 4, float > mInhaleTime
::ll::TypedStorage< 4, 4, int > mAirRegenPerTick
::ll::TypedStorage< 1, 1, bool > mBreathesAir
::ll::TypedStorage< 1, 1, bool > mBreathesWater
::ll::TypedStorage< 1, 1, bool > mBreathesLava
::ll::TypedStorage< 1, 1, bool > mBreathesSolids
::ll::TypedStorage< 1, 1, bool > mGeneratesBubbles
::ll::TypedStorage< 2, 2, short > mAirSupply
::ll::TypedStorage< 2, 2, short > mAirSupplyMax
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mBreathableBlocks
::ll::TypedStorage< 8, 24, ::std::vector<::BlockDescriptor > > mNonBreathableBlocks
::ll::TypedStorage< 4, 4, ::BreathableComponent::BreathableState > mBreathableState

Constructor & Destructor Documentation

◆ ~BreathableComponent()

MCAPI BreathableComponent::~BreathableComponent ( )
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.

Member Function Documentation

◆ canBreathe()

MCAPI bool BreathableComponent::canBreathe ( ::Actor const & 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.

◆ operator=()

MCAPI::BreathableComponent & BreathableComponent::operator= ( ::BreathableComponent && )
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.

◆ updateBreathableState()

MCAPI void BreathableComponent::updateBreathableState ( ::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.

◆ $dtor()

MCAPI void BreathableComponent::$dtor ( )
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: