#pragma once struct DLL_LINKAGE CObstacleInstance { int uniqueID; int ID; //ID of obstacle (defines type of it) int pos; //position on battlefield template void serialize(Handler &h, const int version) { h & ID & pos & uniqueID; } };