// http://www.apache.org/licenses/LICENSE-2.0 // Copyright 2014 Perttu Ahola #pragma once #include "core/types.h" #include #include #include namespace cereal { template void save(Archive &archive, const Urho3D::IntVector2 &v) { archive((int32_t)v.x_); archive((int32_t)v.y_); } template void load(Archive &archive, Urho3D::IntVector2 &v) { int32_t x, y; archive(x, y); v.x_ = x; v.y_ = y; } } // vim: set noet ts=4 sw=4: