public static CurrentEquipmentPosition GetCurrentEquipmentPosition(this CurrentEquipmentKind currentEquipmentKind) { var pos = CurrentEquipmentPosition.Left; if (currentEquipmentKind == CurrentEquipmentKind.RingRight) { pos = CurrentEquipmentPosition.Right; } if (currentEquipmentKind == CurrentEquipmentKind.TrophyRight) { pos = CurrentEquipmentPosition.Right; } return(pos); }
public static EquipmentKind GetEquipmentKind(this CurrentEquipmentKind cek) { CurrentEquipmentPosition pos1; return(Equipment.FromCurrentEquipmentKind(cek, out pos1)); }