Core/Battle.net: Handle ConnectionClosing
This commit is contained in:
1 parent
26e4b67e85
commit
cbabfe9920
15 files changed
+172
-64
No files matched your search
@@ -28,7 +28,7 @@ std::string Battlenet::Friends::SocialNetworkCheckConnected::ToString() const
|
||||
return "Battlenet::Friends::SocialNetworkCheckConnected SocialNetworkId " + std::to_string(SocialNetworkId);
|
||||
}
|
||||
|
||||
void Battlenet::Friends::SocialNetworkCheckConnected::CallHandler(Session* session) const
|
||||
void Battlenet::Friends::SocialNetworkCheckConnected::CallHandler(Session* session)
|
||||
{
|
||||
session->HandleSocialNetworkCheckConnected(*this);
|
||||
}
|
||||
@@ -47,11 +47,6 @@ std::string Battlenet::Friends::SocialNetworkConnect::ToString() const
|
||||
return "Battlenet::Friends::SocialNetworkConnect";
|
||||
}
|
||||
|
||||
void Battlenet::Friends::SocialNetworkConnect::CallHandler(Session* session) const
|
||||
{
|
||||
session->LogUnhandledPacket(*this);
|
||||
}
|
||||
|
||||
std::string Battlenet::Friends::SocialNetworkConnectResult::ToString() const
|
||||
{
|
||||
return "Battlenet::Friends::SocialNetworkConnectResult";
|
||||
@@ -84,11 +79,6 @@ std::string Battlenet::Friends::GetFriendsOfFriend::ToString() const
|
||||
return "Battlenet::Friends::GetFriendsOfFriend";
|
||||
}
|
||||
|
||||
void Battlenet::Friends::GetFriendsOfFriend::CallHandler(Session* session) const
|
||||
{
|
||||
session->LogUnhandledPacket(*this);
|
||||
}
|
||||
|
||||
void Battlenet::Friends::RealIdFriendInvite::Read()
|
||||
{
|
||||
_stream.Read<uint32>(32);
|
||||
@@ -139,7 +129,7 @@ std::string Battlenet::Friends::RealIdFriendInvite::ToString() const
|
||||
return "Battlenet::Friends::RealIdFriendInvite Mail: " + Email + " Message: " + Message;
|
||||
}
|
||||
|
||||
void Battlenet::Friends::RealIdFriendInvite::CallHandler(Session* session) const
|
||||
void Battlenet::Friends::RealIdFriendInvite::CallHandler(Session* session)
|
||||
{
|
||||
FriendInviteResult* result = new FriendInviteResult();
|
||||
session->AsyncWrite(result);
|
||||
|
||||
Reference in new issue
Block a user