Class RestockTarget.Builder
java.lang.Object
privbot.mechanics.RestockTarget.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()depositFirst(boolean v) A server preset to try before withdrawing.
-
Method Details
-
worn
- Parameters:
setup- aGearSetup.Kind.WORNsetup, or null for none- Returns:
- this
- Throws:
IllegalArgumentException- for a carried setup
-
carried
- Parameters:
setup- aGearSetup.Kind.CARRIEDsetup, or null for none- Returns:
- this
- Throws:
IllegalArgumentException- for a worn setup
-
depositFirst
- Parameters:
v- whether to deposit unwanted items before withdrawing (default true) @return this
-
preset
A server preset to try before withdrawing. A preset may replace the whole inventory (Impact's loadouts do): anything carried that the preset does not hold can be lost. WithdepositFirston (the default) and a carried setup, the job deposits unwanted items before pressing it; without a carried setup or withdepositFirst(false), nothing is protected, so bank your loot first.- Parameters:
ref- the preset (Impact: 1..6; Elorin reloads its last preset whatever the ref); null or blank for none- Returns:
- this
-
build
- Returns:
- the target
-