示例#1
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("Settings:");
            // General - Main
            sb.Append(" Mode=" + Mode.ToString());
            sb.Append(", Lock1st=" + LockFirstSlot.ToString());
            sb.Append(", Lock2nd=" + LockSecondSlot.ToString());
            sb.Append(", Lock3rd=" + LockThirdSlot.ToString());
            sb.Append(string.Format(", pet Levels={0}-{1} ", MinLevel, MaxLevel));
            if (!UseWildPets)
            {
                sb.Append(", UseWildPets=" + UseWildPets.ToString());
            }
            if (OnlyBluePets)
            {
                sb.Append(", OnlyBluePets=" + OnlyBluePets.ToString());
            }
            sb.Append(", Min pet Health=" + MinPetHealth.ToString());
            if (UseFavouritePetsOnly)
            {
                sb.Append(", Use Favourite Pets Only=" + UseFavouritePetsOnly.ToString());
            }
            else if (UseFavouriteRingers)
            {
                sb.Append(", Use Favourite Ringer Pets Only=" + UseFavouriteRingers.ToString());
            }
            sb.Append(", CaptureRares=" + CaptureRares.ToString());
            sb.Append(", IgnoreElites=" + IgnoreElites.ToString());
            sb.Append(", CaptureNotOwn=" + CaptureNotOwnRarity.ToString());
            sb.Append(", MoveByMan=" + MovementByPlayer.ToString());
            sb.Append(", Record=" + RecordPets.ToString());
            sb.Append(", NotEngage=" + DoNotEngage.ToString());
            sb.Append(", AutoZone=" + AutoZoneChange.ToString());
            return(sb.ToString());
            // Per mode setting not logged here, but rather when mode is selected
        }
示例#2
0
        public void ConvertsPropertiesToSettings()
        {
            // Main - General
            ModeSetting                 = Mode.ToString();
            LockFirstSlotSetting        = LockFirstSlot.ToString();
            LockSecondSlotSetting       = LockSecondSlot.ToString();
            LockThirdSlotSetting        = LockThirdSlot.ToString();
            MinLevelSetting             = MinLevel.ToString();
            MinPetHealthSetting         = MinPetHealth.ToString();
            MaxLevelSetting             = MaxLevel.ToString();
            UseWildPetsSetting          = UseWildPets.ToString();
            OnlyBluePetsSetting         = OnlyBluePets.ToString();
            UseFavouritePetsOnlySetting = UseFavouritePetsOnly.ToString();
            UseFavouriteRingersSetting  = UseFavouriteRingers.ToString();
            if (UseFavouritePetsOnly)
            {
                UseFavouriteRingersSetting = UseFavouritePetsOnly.ToString();
            }
            MinRingerPetHealthSetting  = MinRingerPetHealth.ToString();
            CaptureRaresSetting        = CaptureRares.ToString();
            IgnoreElitesSetting        = IgnoreElites.ToString();
            CaptureNotOwnRaritySetting = CaptureNotOwnRarity.ToString();
            MovementByPlayerSetting    = MovementByPlayer.ToString();
            RecordPetsSetting          = RecordPets.ToString();
            DoNotEngageSetting         = DoNotEngage.ToString();

            Pet2_Differ_Relative_Setting  = Pet2_Differ_Relative.ToString();
            Pet3_Differ_Relative_Setting  = Pet3_Differ_Relative.ToString();
            Zone_Diff_Relative_Setting    = Zone_Diff_Relative.ToString();
            Swap1_Health_Relative_Setting = Swap1_Health_Relative.ToString();
            Swap2_Health_Relative_Setting = Swap2_Health_Relative.ToString();
            Swap3_Health_Relative_Setting = Swap3_Health_Relative.ToString();

            Pet2_Differ_Ringer_Setting  = Pet2_Differ_Ringer.ToString();
            Pet3_Differ_Ringer_Setting  = Pet3_Differ_Ringer.ToString();
            Zone_Diff_Ringer_Setting    = Zone_Diff_Ringer.ToString();
            Swap1_Health_Ringer_Setting = Swap1_Health_Ringer.ToString();
            Swap2_Health_Ringer_Setting = Swap2_Health_Ringer.ToString();
            Swap3_Health_Ringer_Setting = Swap3_Health_Ringer.ToString();

            Pet2_Differ_Ringerx2_Setting  = Pet2_Differ_Ringerx2.ToString();
            Pet3_Differ_Ringerx2_Setting  = Pet3_Differ_Ringerx2.ToString();
            Zone_Diff_Ringerx2_Setting    = Zone_Diff_Ringerx2.ToString();
            Swap1_Health_Ringerx2_Setting = Swap1_Health_Ringerx2.ToString();
            Swap2_Health_Ringerx2_Setting = Swap2_Health_Ringerx2.ToString();
            Swap3_Health_Ringerx2_Setting = Swap3_Health_Ringerx2.ToString();

            Pet2_Differ_Capture_Setting  = Pet2_Differ_Capture.ToString();
            Pet3_Differ_Capture_Setting  = Pet3_Differ_Capture.ToString();
            Zone_Diff_Capture_Setting    = Zone_Diff_Capture.ToString();
            Swap1_Health_Capture_Setting = Swap1_Health_Capture.ToString();
            Swap2_Health_Capture_Setting = Swap2_Health_Capture.ToString();
            Swap3_Health_Capture_Setting = Swap3_Health_Capture.ToString();

            Pet2_Differ_Custom_Setting  = Pet2_Differ_Custom.ToString();
            Pet3_Differ_Custom_Setting  = Pet3_Differ_Custom.ToString();
            Zone_Diff_Custom_Setting    = Zone_Diff_Custom.ToString();
            Swap1_Health_Custom_Setting = Swap1_Health_Custom.ToString();
            Swap2_Health_Custom_Setting = Swap2_Health_Custom.ToString();
            Swap3_Health_Custom_Setting = Swap3_Health_Custom.ToString();

            AutoZoneChangeSetting = AutoZoneChange.ToString();

            SetSwapByCurrentMode();  // TODO: why it is here, lol?
        }