mirror of https://github.com/OpenMW/openmw.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
600 B
C++
27 lines
600 B
C++
2 years ago
|
#include "esm3exteriorcellrefid.hpp"
|
||
|
|
||
|
#include <ostream>
|
||
|
#include <sstream>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
std::string ESM3ExteriorCellRefId::toString() const
|
||
|
{
|
||
|
std::ostringstream stream;
|
||
|
stream << "# " << mY << ", " << mY;
|
||
|
return stream.str();
|
||
|
}
|
||
|
|
||
|
std::string ESM3ExteriorCellRefId::toDebugString() const
|
||
|
{
|
||
|
std::ostringstream stream;
|
||
|
stream << *this;
|
||
|
return stream.str();
|
||
|
}
|
||
|
|
||
|
std::ostream& operator<<(std::ostream& stream, ESM3ExteriorCellRefId value)
|
||
|
{
|
||
|
return stream << "Vec2i{" << value.mX << "," << value.mY << '}';
|
||
|
}
|
||
|
}
|