Class CrypticClue.CrypticClueBuilder
- java.lang.Object
-
- net.runelite.client.plugins.cluescrolls.clues.CrypticClue.CrypticClueBuilder
-
- Enclosing class:
- CrypticClue
public static class CrypticClue.CrypticClueBuilder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrypticClue
build()
CrypticClue.CrypticClueBuilder
clearNpcRegions()
CrypticClue.CrypticClueBuilder
location(WorldPoint location)
CrypticClue.CrypticClueBuilder
locationProvider(Function<ClueScrollPlugin,WorldPoint> locationProvider)
CrypticClue.CrypticClueBuilder
npc(String npc)
CrypticClue.CrypticClueBuilder
npcRegion(Integer npcRegion)
CrypticClue.CrypticClueBuilder
npcRegions(Collection<? extends Integer> npcRegions)
CrypticClue.CrypticClueBuilder
objectId(int objectId)
CrypticClue.CrypticClueBuilder
questionText(String questionText)
CrypticClue.CrypticClueBuilder
requiresLight(boolean requiresLight)
CrypticClue.CrypticClueBuilder
solution(String solution)
CrypticClue.CrypticClueBuilder
solutionProvider(Function<ClueScrollPlugin,String> solutionProvider)
CrypticClue.CrypticClueBuilder
text(String text)
String
toString()
-
-
-
Method Detail
-
text
public CrypticClue.CrypticClueBuilder text(String text)
- Returns:
this
.
-
npc
public CrypticClue.CrypticClueBuilder npc(@Nullable String npc)
- Returns:
this
.
-
objectId
public CrypticClue.CrypticClueBuilder objectId(int objectId)
- Returns:
this
.
-
location
public CrypticClue.CrypticClueBuilder location(@Nullable WorldPoint location)
- Returns:
this
.
-
locationProvider
public CrypticClue.CrypticClueBuilder locationProvider(@Nullable Function<ClueScrollPlugin,WorldPoint> locationProvider)
- Returns:
this
.
-
solutionProvider
public CrypticClue.CrypticClueBuilder solutionProvider(@Nullable Function<ClueScrollPlugin,String> solutionProvider)
- Returns:
this
.
-
solution
public CrypticClue.CrypticClueBuilder solution(String solution)
- Returns:
this
.
-
questionText
public CrypticClue.CrypticClueBuilder questionText(@Nullable String questionText)
- Returns:
this
.
-
requiresLight
public CrypticClue.CrypticClueBuilder requiresLight(boolean requiresLight)
- Returns:
this
.
-
npcRegion
public CrypticClue.CrypticClueBuilder npcRegion(Integer npcRegion)
-
npcRegions
public CrypticClue.CrypticClueBuilder npcRegions(Collection<? extends Integer> npcRegions)
-
clearNpcRegions
public CrypticClue.CrypticClueBuilder clearNpcRegions()
-
build
public CrypticClue build()
-
-