summaryrefslogtreecommitdiffstats
path: root/src/core/Pools.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-17 18:35:18 +0100
committerGitHub <noreply@github.com>2020-03-17 18:35:18 +0100
commit1ab6702ea681946a2947190f612e539452c3d152 (patch)
tree82d6518ad97081e3438c6e03d916e6b72d05ebce /src/core/Pools.h
parentMerge pull request #344 from erorcun/erorcun (diff)
parentUse WriteDataToBufferPointer (diff)
downloadre3-1ab6702ea681946a2947190f612e539452c3d152.tar
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.gz
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.bz2
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.lz
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.xz
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.zst
re3-1ab6702ea681946a2947190f612e539452c3d152.zip
Diffstat (limited to '')
-rw-r--r--src/core/Pools.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/Pools.h b/src/core/Pools.h
index 862062ee..74b87585 100644
--- a/src/core/Pools.h
+++ b/src/core/Pools.h
@@ -52,4 +52,10 @@ public:
static CObject *GetObject(int32 handle);
static void CheckPoolsEmpty();
static void MakeSureSlotInObjectPoolIsEmpty(int32 slot);
+ static void LoadObjectPool(uint8 *buf, uint32 size);
+ static void LoadPedPool(uint8 *buf, uint32 size);
+ static void LoadVehiclePool(uint8 *buf, uint32 size);
+ static void SaveObjectPool(uint8 *buf, uint32 *size);
+ static void SavePedPool(uint8 *buf, uint32 *size);
+ static void SaveVehiclePool(uint8 *buf, uint32 *size);
};