summaryrefslogtreecommitdiff
path: root/src/core/Pools.h
diff options
context:
space:
mode:
authorWes Hampson <thehambone93@gmail.com>2020-03-10 20:25:50 -0700
committerWes Hampson <thehambone93@gmail.com>2020-03-10 20:26:07 -0700
commit28342405d37ae28fdf98546753e89d683480914f (patch)
tree3a7d990f29f9882cb180f14034078db107130206 /src/core/Pools.h
parent4fee2cbdd9948bd591d6e5bebd4bed827e12498a (diff)
Add Load/Save functions
Diffstat (limited to 'src/core/Pools.h')
-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);
};