250501 커밋
This commit is contained in:
@@ -71,9 +71,9 @@ public abstract class ItemAttributeBase : EntityAttributeBase, ICopyEntityAttrib
|
||||
|
||||
public List<UInt16> Attributes { get; set; } = new();
|
||||
|
||||
// EquipedIvenType.None 일경우 EquipedPos = 0 이다 !!! - kangms
|
||||
// EquipedInvenType.None 일경우 EquipedPos = 0 이다 !!! - kangms
|
||||
[JsonProperty]
|
||||
public InvenEquipType EquipedIvenType { get; set; } = InvenEquipType.None;
|
||||
public InvenEquipType EquipedInvenType { get; set; } = InvenEquipType.None;
|
||||
|
||||
[JsonProperty]
|
||||
public UInt16 EquipedPos { get; set; } = 0;
|
||||
@@ -106,7 +106,7 @@ public abstract class ItemAttributeBase : EntityAttributeBase, ICopyEntityAttrib
|
||||
ItemStackCount = 0;
|
||||
Level = 0;
|
||||
Attributes.Clear();
|
||||
EquipedIvenType = InvenEquipType.None;
|
||||
EquipedInvenType = InvenEquipType.None;
|
||||
EquipedPos = 0;
|
||||
|
||||
getAttributeState().reset();
|
||||
@@ -151,7 +151,7 @@ public abstract class ItemAttributeBase : EntityAttributeBase, ICopyEntityAttrib
|
||||
to_copy_doc_item_attrib.ItemStackCount = ItemStackCount;
|
||||
to_copy_doc_item_attrib.Level = Level;
|
||||
to_copy_doc_item_attrib.Attributes = Attributes.Select(x => x).ToList();
|
||||
to_copy_doc_item_attrib.EquipedIvenType = EquipedIvenType;
|
||||
to_copy_doc_item_attrib.EquipedInvenType = EquipedInvenType;
|
||||
to_copy_doc_item_attrib.EquipedPos = EquipedPos;
|
||||
|
||||
if (false == isForQuery)
|
||||
@@ -398,7 +398,7 @@ public abstract class ItemAttributeBase : EntityAttributeBase, ICopyEntityAttrib
|
||||
ItemStackCount = other_item_attribute.ItemStackCount;
|
||||
Level = other_item_attribute.Level;
|
||||
Attributes = other_item_attribute.Attributes.Select(x => x).ToList();
|
||||
EquipedIvenType = other_item_attribute.EquipedIvenType;
|
||||
EquipedInvenType = other_item_attribute.EquipedInvenType;
|
||||
EquipedPos = other_item_attribute.EquipedPos;
|
||||
|
||||
//=====================================================================================
|
||||
@@ -428,7 +428,7 @@ public abstract class ItemAttributeBase : EntityAttributeBase, ICopyEntityAttrib
|
||||
item_attrib.ItemStackCount = ItemStackCount;
|
||||
item_attrib.Level = Level;
|
||||
item_attrib.Attributes = Attributes.Select(x => x).ToList(); ;
|
||||
item_attrib.EquipedIvenType = EquipedIvenType;
|
||||
item_attrib.EquipedInvenType = EquipedInvenType;
|
||||
item_attrib.EquipedPos = EquipedPos;
|
||||
|
||||
return result;
|
||||
@@ -469,7 +469,7 @@ public abstract class ItemAttributeBase : EntityAttributeBase, ICopyEntityAttrib
|
||||
ItemStackCount = item_attrib.ItemStackCount;
|
||||
Level = item_attrib.Level;
|
||||
Attributes = item_attrib.Attributes.Select(x => x).ToList();
|
||||
EquipedIvenType = item_attrib.EquipedIvenType;
|
||||
EquipedInvenType = item_attrib.EquipedInvenType;
|
||||
EquipedPos = item_attrib.EquipedPos;
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user