/*!
* @brief \83N\83\89\83X\82Ì\83V\83\8a\83A\83\89\83C\83Y\89»\82ð\90Ý\92è\82·\82é
* @param archive \83A\81[\83J\83C\83u\89»\82·\82é\83N\83\89\83X\82Ì\83A\83h\83\8c\83X
- * @param fileVersion \83t\83@\83C\83\8b\83o\81[\83W\83\87\83\93
+ * @param version \83f\81[\83^\83o\81[\83W\83\87\83\93
* @return XMLSerialize\83e\83\93\83v\83\8c\81[\83g
*/
- template<class Archive> void serialize(Archive &archive, const unsigned int fileVersion)
+ template<class Archive> void serialize(Archive &archive, const unsigned int version)
{
- archive & BOOST_SERIALIZATION_NVP(status);
+ if(version > 0)
+ {
+ archive & BOOST_SERIALIZATION_NVP(status);
+ }
}
public:
this->floorID = -1;
this->position.Set(0, 0);
+
+ this->itemList.clear();
+ this->skillExpList.clear();
}
bool Creature::IsAlive(void)
archive & BOOST_SERIALIZATION_NVP(savings);
archive & BOOST_SERIALIZATION_NVP(floorID);
archive & BOOST_SERIALIZATION_NVP(position);
+ archive & BOOST_SERIALIZATION_NVP(itemList);
}
}