19 enum class HintType :
int {
22 TickingAreaCircle = 2,
29 ::ll::TypedStorage<8, 8, ::ChunkPos> position;
30 ::ll::TypedStorage<4, 12, ::Vec3> parameter;
31 ::ll::TypedStorage<4, 4, ::ChunkBuildOrderPolicy::HintType> type;
38 ::ll::TypedStorage<8, 64, ::std::unordered_map<uint, ::ChunkBuildOrderPolicy::Influence>> mPositionMap;
39 ::ll::TypedStorage<8, 24, ::SpinLockImpl> mChunkPosAsyncSpinLock;
40 ::ll::TypedStorage<8, 24, ::std::vector<::ChunkBuildOrderPolicy::Influence>> mChunkPosAndDirectionAsync;
41 ::ll::TypedStorage<4, 4, uint> mLastHandle;
49 virtual int getChunkRebuildPriority(
::ChunkPos const& cp)
const ;
51 virtual uint registerForUpdates() ;
53 virtual void unregisterForUpdates(uint handle) ;
55 virtual void setPlayerInfluence(
58 ::Vec3 const& playerMovementDirection
61 virtual void setTickingAreaInfluence(
70 virtual void updateInfluences() ;
76 MCAPI
int $getChunkRebuildPriority(
::ChunkPos const& cp)
const;
78 MCAPI uint $registerForUpdates();
80 MCAPI
void $unregisterForUpdates(uint handle);
83 $setPlayerInfluence(uint handle,
::ChunkPos const& playerPosition,
::Vec3 const& playerMovementDirection);
85 MCAPI
void $setTickingAreaInfluence(
94 MCAPI
void $updateInfluences();