34 lines
1.2 KiB
C#
34 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
namespace GameServer
|
|
{
|
|
public static class ItemClothHelper
|
|
{
|
|
public static ClothInfoOfAnotherUser toClothInfoOfAnotherUser(this ClothInfo src)
|
|
{
|
|
var cloth_info_of_another_user = new ClothInfoOfAnotherUser();
|
|
|
|
cloth_info_of_another_user.ClothAvatar = src.ClothAvatar;
|
|
cloth_info_of_another_user.ClothHeadwear = src.ClothHeadwear;
|
|
cloth_info_of_another_user.ClothMask = src.ClothMask;
|
|
cloth_info_of_another_user.ClothBag = src.ClothBag;
|
|
cloth_info_of_another_user.ClothShoes = src.ClothShoes;
|
|
cloth_info_of_another_user.ClothOuter = src.ClothOuter;
|
|
cloth_info_of_another_user.ClothTops = src.ClothTops;
|
|
cloth_info_of_another_user.ClothBottoms = src.ClothBottoms;
|
|
cloth_info_of_another_user.ClothGloves = src.ClothGloves;
|
|
cloth_info_of_another_user.ClothEarrings = src.ClothEarrings;
|
|
cloth_info_of_another_user.ClothNeckless = src.ClothNeckless;
|
|
cloth_info_of_another_user.ClothSocks = src.ClothSocks;
|
|
|
|
return cloth_info_of_another_user;
|
|
}
|
|
}
|
|
}
|