Various Cleanups (game N-O)

This commit is contained in:
Schmoozerd 2012-07-19 21:51:08 +02:00
parent 8d0c106aa4
commit 94795f2bff
14 changed files with 1560 additions and 1519 deletions

View file

@ -25,7 +25,7 @@
char const* ObjectGuid::GetTypeName(HighGuid high)
{
switch(high)
switch (high)
{
case HIGHGUID_ITEM: return "Item";
case HIGHGUID_PLAYER: return "Player";
@ -80,7 +80,7 @@ ByteBuffer& operator<< (ByteBuffer& buf, ObjectGuid const& guid)
return buf;
}
ByteBuffer &operator>>(ByteBuffer& buf, ObjectGuid& guid)
ByteBuffer& operator>>(ByteBuffer& buf, ObjectGuid& guid)
{
guid.Set(buf.read<uint64>());
return buf;
@ -92,7 +92,7 @@ ByteBuffer& operator<< (ByteBuffer& buf, PackedGuid const& guid)
return buf;
}
ByteBuffer &operator>>(ByteBuffer& buf, PackedGuidReader const& guid)
ByteBuffer& operator>>(ByteBuffer& buf, PackedGuidReader const& guid)
{
guid.m_guidPtr->Set(buf.readPackGUID());
return buf;