1
This commit is contained in:
parent
9c711f3e62
commit
e8fea344f4
@ -38,6 +38,7 @@ void SyncHelper::SyncNewFriend(Player* hum, const std::string& target_id)
|
|||||||
{
|
{
|
||||||
ss::SS_IM_FriendAgreeRequest* notifymsg =
|
ss::SS_IM_FriendAgreeRequest* notifymsg =
|
||||||
(ss::SS_IM_FriendAgreeRequest*)param.sender.GetUserData();
|
(ss::SS_IM_FriendAgreeRequest*)param.sender.GetUserData();
|
||||||
|
SyncHelper::Instance()->SS_IM_FriendAgreeRequest_TimeOut(notifymsg);
|
||||||
},
|
},
|
||||||
[] (const a8::XParams& param)
|
[] (const a8::XParams& param)
|
||||||
{
|
{
|
||||||
@ -66,6 +67,7 @@ void SyncHelper::SyncDeleteFriend(Player* hum, const std::string& target_id)
|
|||||||
{
|
{
|
||||||
ss::SS_IM_FriendDeleteRequest* notifymsg =
|
ss::SS_IM_FriendDeleteRequest* notifymsg =
|
||||||
(ss::SS_IM_FriendDeleteRequest*)param.sender.GetUserData();
|
(ss::SS_IM_FriendDeleteRequest*)param.sender.GetUserData();
|
||||||
|
SyncHelper::Instance()->SS_IM_FriendDeleteRequest_TimeOut(notifymsg);
|
||||||
},
|
},
|
||||||
[] (const a8::XParams& param)
|
[] (const a8::XParams& param)
|
||||||
{
|
{
|
||||||
@ -135,3 +137,13 @@ void SyncHelper::RemovePendingRequest(long long seqid)
|
|||||||
{
|
{
|
||||||
pending_request_hash_.erase(seqid);
|
pending_request_hash_.erase(seqid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SyncHelper::SS_IM_FriendAgreeRequest_TimeOut(ss::SS_IM_FriendAgreeRequest* msg)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void SyncHelper::SS_IM_FriendDeleteRequest_TimeOut(ss::SS_IM_FriendDeleteRequest* msg)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
|
|
||||||
namespace ss
|
namespace ss
|
||||||
{
|
{
|
||||||
|
class SS_IM_FriendAgreeRequest;
|
||||||
class SS_IM_FriendAgreeResponse;
|
class SS_IM_FriendAgreeResponse;
|
||||||
|
class SS_IM_FriendDeleteRequest;
|
||||||
class SS_IM_FriendDeleteResponse;
|
class SS_IM_FriendDeleteResponse;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -31,6 +33,8 @@ public:
|
|||||||
private:
|
private:
|
||||||
|
|
||||||
void RemovePendingRequest(long long seqid);
|
void RemovePendingRequest(long long seqid);
|
||||||
|
void SS_IM_FriendAgreeRequest_TimeOut(ss::SS_IM_FriendAgreeRequest* msg);
|
||||||
|
void SS_IM_FriendDeleteRequest_TimeOut(ss::SS_IM_FriendDeleteRequest* msg);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user