29 lines
825 B
C#
29 lines
825 B
C#
using Google.Protobuf.WellKnownTypes;
|
|
using ServerCommon;
|
|
using ServerCommon.Cache;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameServer
|
|
{
|
|
public class DeleteFriendFolderInterlockAction : FriendInterlockBase
|
|
{
|
|
private FriendAttribute m_friend_attrib;
|
|
public DeleteFriendFolderInterlockAction(UserBase owner, string myGuid, FriendAttribute friendAttib) : base(owner, myGuid, friendAttib.FriendGuid)
|
|
{
|
|
m_friend_attrib = friendAttib;
|
|
}
|
|
|
|
public override Task<Result> doAction()
|
|
{
|
|
var result = new Result();
|
|
m_friend_attrib.FolderName = ServerCommon.Constant.FRIEND_FOLDER_DEFUALT_NAME;
|
|
|
|
return Task.FromResult(result);
|
|
}
|
|
}
|
|
}
|