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

Classes

struct  Influence
 

Public Types

enum class  HintType : int { Player = 0 , TickingAreaBox = 1 , TickingAreaCircle = 2 }
 

Public Member Functions

virtual int getChunkRebuildPriority (::ChunkPos const &cp) const
 
virtual uint registerForUpdates ()
 
virtual void unregisterForUpdates (uint handle)
 
virtual void setPlayerInfluence (uint handle, ::ChunkPos const &playerPosition, ::Vec3 const &playerMovementDirection)
 
virtual void setTickingAreaInfluence (uint handle, ::ChunkPos const &tickingAreaPosition, int sizeX, int sizeZ, bool isCircle, bool preload)
 
virtual void updateInfluences ()
 
MCAPI int $getChunkRebuildPriority (::ChunkPos const &cp) const
 
MCAPI uint $registerForUpdates ()
 
MCAPI void $unregisterForUpdates (uint handle)
 
MCAPI void $setPlayerInfluence (uint handle, ::ChunkPos const &playerPosition, ::Vec3 const &playerMovementDirection)
 
MCAPI void $setTickingAreaInfluence (uint handle, ::ChunkPos const &tickingAreaPosition, int sizeX, int sizeZ, bool isCircle, bool preload)
 
MCAPI void $updateInfluences ()
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::ChunkBuildOrderPolicy::Influence > > mPositionMap
 
::ll::TypedStorage< 8, 32, ::SpinLockImplmChunkPosAsyncSpinLock
 
::ll::TypedStorage< 8, 24, ::std::vector<::ChunkBuildOrderPolicy::Influence > > mChunkPosAndDirectionAsync
 
::ll::TypedStorage< 4, 4, uint > mLastHandle
 

Member Function Documentation

◆ getChunkRebuildPriority()

virtual int ChunkBuildOrderPolicy::getChunkRebuildPriority ( ::ChunkPos const & cp) const
virtual

◆ registerForUpdates()

virtual uint ChunkBuildOrderPolicy::registerForUpdates ( )
virtual

Reimplemented from ChunkBuildOrderPolicyBase.

◆ unregisterForUpdates()

virtual void ChunkBuildOrderPolicy::unregisterForUpdates ( uint handle)
virtual

◆ setPlayerInfluence()

virtual void ChunkBuildOrderPolicy::setPlayerInfluence ( uint handle,
::ChunkPos const & playerPosition,
::Vec3 const & playerMovementDirection )
virtual

◆ setTickingAreaInfluence()

virtual void ChunkBuildOrderPolicy::setTickingAreaInfluence ( uint handle,
::ChunkPos const & tickingAreaPosition,
int sizeX,
int sizeZ,
bool isCircle,
bool preload )
virtual

◆ updateInfluences()

virtual void ChunkBuildOrderPolicy::updateInfluences ( )
virtual

◆ $getChunkRebuildPriority()

MCAPI int ChunkBuildOrderPolicy::$getChunkRebuildPriority ( ::ChunkPos const & cp) 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.

◆ $registerForUpdates()

MCAPI uint ChunkBuildOrderPolicy::$registerForUpdates ( )
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.

◆ $unregisterForUpdates()

MCAPI void ChunkBuildOrderPolicy::$unregisterForUpdates ( uint handle)
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.

◆ $setPlayerInfluence()

MCAPI void ChunkBuildOrderPolicy::$setPlayerInfluence ( uint handle,
::ChunkPos const & playerPosition,
::Vec3 const & playerMovementDirection )
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.

◆ $setTickingAreaInfluence()

MCAPI void ChunkBuildOrderPolicy::$setTickingAreaInfluence ( uint handle,
::ChunkPos const & tickingAreaPosition,
int sizeX,
int sizeZ,
bool isCircle,
bool preload )
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.

◆ $updateInfluences()

MCAPI void ChunkBuildOrderPolicy::$updateInfluences ( )
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.

◆ $vftable()

static MCAPI void ** ChunkBuildOrderPolicy::$vftable ( )
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.

◆ $dtor()

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