mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[server] Implement CPickupPool ctor/dtor
This commit is contained in:
parent
d37d214528
commit
decfd66b77
@ -2,10 +2,30 @@
|
|||||||
#ifndef SAMPSRV_PICKUPPOOL_H
|
#ifndef SAMPSRV_PICKUPPOOL_H
|
||||||
#define SAMPSRV_PICKUPPOOL_H
|
#define SAMPSRV_PICKUPPOOL_H
|
||||||
|
|
||||||
|
#define MAX_PICKUPS 4096
|
||||||
|
|
||||||
class CPickupPool // size: WL 114692
|
class CPickupPool // size: WL 114692
|
||||||
{
|
{
|
||||||
private:
|
private:
|
||||||
char _gap0[114692];
|
|
||||||
|
char gap0[81920];
|
||||||
|
int field_14000[4096];
|
||||||
|
int field_18000[4096];
|
||||||
|
int field_1C000;
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
CPickupPool() {
|
||||||
|
for (int i = 0; i < MAX_PICKUPS; i++)
|
||||||
|
{
|
||||||
|
field_14000[i] = 0;
|
||||||
|
field_18000[i] = 0;
|
||||||
|
}
|
||||||
|
field_1C000 = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
~CPickupPool() {};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user