public EquipmentImprove(EquipmentId equipmentId, int recipeId, bool guaranteedSuccess, bool isSuccess, RawEquipment updatedTo, IReadOnlyCollection <EquipmentId> consumedEquipmentIds) { EquipmentId = equipmentId; RecipeId = recipeId; GuaranteedSuccess = guaranteedSuccess; IsSuccess = isSuccess; UpdatedTo = updatedTo; ConsumedEquipmentIds = consumedEquipmentIds; }
partial void UpdateCore(RawEquipment raw, DateTimeOffset timeStamp) { Info = owner.MasterData.EquipmentInfos[raw.EquipmentInfoId]; Slot?.CascadeUpdate(); }