mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
7f04ed990b
Introduction of pre compiled headers,...
12 lines
272 B
C++
12 lines
272 B
C++
#pragma once
|
|
|
|
struct DLL_LINKAGE CObstacleInstance
|
|
{
|
|
int uniqueID;
|
|
int ID; //ID of obstacle (defines type of it)
|
|
int pos; //position on battlefield
|
|
template <typename Handler> void serialize(Handler &h, const int version)
|
|
{
|
|
h & ID & pos & uniqueID;
|
|
}
|
|
}; |