Skip to content

Commit

Permalink
fix: Update docs on VarComparisonRequirement
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoinkwiz committed Sep 26, 2024
1 parent dd6dd71 commit c057a51
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,14 @@ public class VarComparisonRequirement extends AbstractRequirement
private boolean hasFiredWarning = false;

/**
* Check if the player's varbit value meets the required level using the given
* Compares the varbit/varp of a player to another varbit/varp of the player
* {@link Operation}.
*
* @param varbitID the {@link Varbits} id to use
* @param v1Type the {@link VarType} to use for the first id
* @param v1Id the {@link Varbits} or {@link net.runelite.api.annotations.Varp} id to use for the first id
* @param v2Type the {@link VarType} to use for the second id
* @param v2Id the {@link Varbits} or {@link net.runelite.api.annotations.Varp} id to use for the second id
* @param operation the {@link Operation} to check with
* @param requiredValue the required varbit value to pass this requirement
* @param displayText the display text
*/
public VarComparisonRequirement(VarType v1Type, int v1Id, VarType v2Type, int v2Id, Operation operation, String displayText)
Expand Down

0 comments on commit c057a51

Please sign in to comment.