From 5421452429dbf978c3084df0c69ab6e94a06537f Mon Sep 17 00:00:00 2001 From: mcrcortex <18544518+MCRcortex@users.noreply.github.com> Date: Thu, 30 Jan 2025 00:06:21 +1000 Subject: [PATCH] Cache --- .../cortex/voxy/common/world/L2SectionCache.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/java/me/cortex/voxy/common/world/L2SectionCache.java diff --git a/src/main/java/me/cortex/voxy/common/world/L2SectionCache.java b/src/main/java/me/cortex/voxy/common/world/L2SectionCache.java new file mode 100644 index 00000000..b0468423 --- /dev/null +++ b/src/main/java/me/cortex/voxy/common/world/L2SectionCache.java @@ -0,0 +1,16 @@ +package me.cortex.voxy.common.world; + +public class L2SectionCache { + //Sections may go here before they goto die + public L2SectionCache(int size) { + + } + + public void put(WorldSection worldSection) { + + } + + public WorldSection reacquire(long pos) { + //Try to re-acquire a section from the cache and revive it + } +}