MapData.nextObjectId

Global counter across all objects

struct MapData
int nextObjectId;

Meta