Files
caliverse_server/GameServer/Contents/Friend/LockAction/DeleteFriendFolderInterlockAction.cs
2025-05-01 07:20:41 +09:00

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);
}
}
}