Package net.runelite.client.chat
Class ChatClient
- java.lang.Object
-
- net.runelite.client.chat.ChatClient
-
public class ChatClient extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.runelite.http.api.chat.DuelsgetDuels(String username)intgetGc(String username)intgetKc(String username, String boss)net.runelite.http.api.chat.LayoutRoom[]getLayout(String username)doublegetPb(String username, String boss)Set<Integer>getPetList(String username)intgetQp(String username)net.runelite.http.api.chat.TaskgetTask(String username)booleansubmitDuels(String username, int wins, int losses, int winningStreak, int losingStreak)booleansubmitGc(String username, int gc)booleansubmitKc(String username, String boss, int kc)booleansubmitLayout(String username, net.runelite.http.api.chat.LayoutRoom[] rooms)booleansubmitPb(String username, String boss, double pb)booleansubmitPetList(String username, Collection<Integer> petList)booleansubmitQp(String username, int qp)booleansubmitTask(String username, String task, int amount, int initialAmount, String location)
-
-
-
Method Detail
-
submitKc
public boolean submitKc(String username, String boss, int kc) throws IOException
- Throws:
IOException
-
getKc
public int getKc(String username, String boss) throws IOException
- Throws:
IOException
-
submitQp
public boolean submitQp(String username, int qp) throws IOException
- Throws:
IOException
-
getQp
public int getQp(String username) throws IOException
- Throws:
IOException
-
submitTask
public boolean submitTask(String username, String task, int amount, int initialAmount, String location) throws IOException
- Throws:
IOException
-
getTask
public net.runelite.http.api.chat.Task getTask(String username) throws IOException
- Throws:
IOException
-
submitPb
public boolean submitPb(String username, String boss, double pb) throws IOException
- Throws:
IOException
-
getPb
public double getPb(String username, String boss) throws IOException
- Throws:
IOException
-
submitGc
public boolean submitGc(String username, int gc) throws IOException
- Throws:
IOException
-
getGc
public int getGc(String username) throws IOException
- Throws:
IOException
-
submitDuels
public boolean submitDuels(String username, int wins, int losses, int winningStreak, int losingStreak) throws IOException
- Throws:
IOException
-
getDuels
public net.runelite.http.api.chat.Duels getDuels(String username) throws IOException
- Throws:
IOException
-
submitLayout
public boolean submitLayout(String username, net.runelite.http.api.chat.LayoutRoom[] rooms) throws IOException
- Throws:
IOException
-
getLayout
public net.runelite.http.api.chat.LayoutRoom[] getLayout(String username) throws IOException
- Throws:
IOException
-
submitPetList
public boolean submitPetList(String username, Collection<Integer> petList) throws IOException
- Throws:
IOException
-
getPetList
public Set<Integer> getPetList(String username) throws IOException
- Throws:
IOException
-
-