mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-15 08:24:52 +01:00
Implement WearEquipment
This commit is contained in:
21
nksrv/Utils/NetUtils.cs
Normal file
21
nksrv/Utils/NetUtils.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
namespace nksrv.Utils
|
||||
{
|
||||
public class NetUtils
|
||||
{
|
||||
public static NetUserItemData ToNet(ItemData item)
|
||||
{
|
||||
return new()
|
||||
{
|
||||
Corporation = item.Corp,
|
||||
Count = item.Count,
|
||||
Csn = item.Csn,
|
||||
Exp = item.Exp,
|
||||
Isn = item.Isn,
|
||||
Lv = item.Level,
|
||||
Position = item.Position,
|
||||
Tid = item.ItemType
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user