초기커밋
This commit is contained in:
33
GameServer/Contents/ItemCloth/Helper/ItemClothHelper.cs
Normal file
33
GameServer/Contents/ItemCloth/Helper/ItemClothHelper.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user