mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
Core/Battle.net: Improved logging - use separate filters instead of throwing everything to one logger
This commit is contained in:
@@ -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