Core/Battle.net: Improved logging - use separate filters instead of throwing everything to one logger
This commit is contained in:
1 parent
c2a39ce36a
commit
7679ecd7b3
8 files changed
+66
-46
No files matched your search
@@ -117,10 +117,10 @@ void Battlenet::Friends::RealIdFriendInvite::Read()
|
||||
}
|
||||
|
||||
_stream.Read<uint8>(1);
|
||||
|
||||
|
||||
if (_stream.Read<uint8>(1))
|
||||
Message = _stream.ReadString(9);
|
||||
|
||||
|
||||
_stream.Read<uint32>(32);
|
||||
}
|
||||
|
||||
@@ -129,12 +129,6 @@ std::string Battlenet::Friends::RealIdFriendInvite::ToString() const
|
||||
return "Battlenet::Friends::RealIdFriendInvite Mail: " + Email + " Message: " + Message;
|
||||
}
|
||||
|
||||
void Battlenet::Friends::RealIdFriendInvite::CallHandler(Session* session)
|
||||
{
|
||||
FriendInviteResult* result = new FriendInviteResult();
|
||||
session->AsyncWrite(result);
|
||||
}
|
||||
|
||||
std::string Battlenet::Friends::FriendInviteResult::ToString() const
|
||||
{
|
||||
return "Battlenet::Friends::RealIdFriendInviteResult";
|
||||
@@ -150,7 +144,7 @@ void Battlenet::Friends::FriendInviteResult::Write()
|
||||
_stream.WriteString("Testing2", 8);
|
||||
}
|
||||
_stream.Write(5, 32);
|
||||
|
||||
|
||||
_stream.Write(0, 0xC); // Ignored
|
||||
|
||||
_stream.Write(1, 16);
|
||||
|
||||
Reference in new issue
Block a user