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 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

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