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 doAction() { var result = new Result(); m_friend_attrib.FolderName = ServerCommon.Constant.FRIEND_FOLDER_DEFUALT_NAME; return Task.FromResult(result); } } }