LeviLamina
Loading...
Searching...
No Matches
SimpleBlockVolume Class Reference
+ Inheritance diagram for SimpleBlockVolume:

Public Types

enum class  IntersectionResult : int { Disjoint = 0 , Contains = 1 , Intersects = 2 }
 
enum class  CornerIndex : uchar {
  FrontBottomLeft = 0 , BackBottomLeft = 1 , FrontTopLeft = 2 , BackTopLeft = 3 ,
  FrontBottomRight = 4 , BackBottomRight = 5 , FrontTopRight = 6 , BackTopRight = 7
}
 

Public Member Functions

SimpleBlockVolumeoperator= (SimpleBlockVolume const &)
 
 SimpleBlockVolume (SimpleBlockVolume const &)
 
virtual::BlockPos getMin () const
 
virtual::BlockPos getMax () const
 
virtual::BoundingBox getBoundingBox () const
 
virtual::glm::ivec3 getSpan () const
 
virtual int getCapacity () const
 
virtual bool isInside (::BlockPos const &pos) const
 
virtual void translate (::BlockPos const &delta)
 
virtual void forEach (::std::function< bool(::BlockPos const &)> callback) const
 
virtual ::std::set<::ChunkPosgetChunks () const
 
MCAPI bool doesAreaTouchFaces (::BlockPos const &min, ::BlockPos const &max) const
 
MCAPI::SimpleBlockVolume::IntersectionResult intersects (::SimpleBlockVolume const &other) const
 
MCAPI::std::string toString () const
 
MCFOLD void $dtor ()
 
MCAPI::BlockPos $getMin () const
 
MCAPI::BlockPos $getMax () const
 
MCAPI::BoundingBox $getBoundingBox () const
 
MCAPI::glm::ivec3 $getSpan () const
 
MCAPI int $getCapacity () const
 
MCAPI bool $isInside (::BlockPos const &pos) const
 
MCAPI void $translate (::BlockPos const &delta)
 
MCAPI void $forEach (::std::function< bool(::BlockPos const &)> callback) const
 
MCAPI ::std::set<::ChunkPos$getChunks () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 4, 12 > mUnk1a8f23
 
::ll::UntypedStorage< 4, 12 > mUnk3dd422
 

Member Function Documentation

◆ getMin()

virtual::BlockPos SimpleBlockVolume::getMin ( ) const
virtual

Implements BlockVolumeBase.

◆ getMax()

virtual::BlockPos SimpleBlockVolume::getMax ( ) const
virtual

Implements BlockVolumeBase.

◆ getBoundingBox()

virtual::BoundingBox SimpleBlockVolume::getBoundingBox ( ) const
virtual

Implements BlockVolumeBase.

◆ getSpan()

virtual::glm::ivec3 SimpleBlockVolume::getSpan ( ) const
virtual

Implements BlockVolumeBase.

◆ getCapacity()

virtual int SimpleBlockVolume::getCapacity ( ) const
virtual

Implements BlockVolumeBase.

◆ isInside()

virtual bool SimpleBlockVolume::isInside ( ::BlockPos const & pos) const
virtual

Implements BlockVolumeBase.

◆ translate()

virtual void SimpleBlockVolume::translate ( ::BlockPos const & delta)
virtual

Implements BlockVolumeBase.

◆ forEach()

virtual void SimpleBlockVolume::forEach ( ::std::function< bool(::BlockPos const &)> callback) const
virtual

Implements BlockVolumeBase.

◆ getChunks()

virtual ::std::set<::ChunkPos > SimpleBlockVolume::getChunks ( ) const
virtual

Implements BlockVolumeBase.


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