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.Duels
getDuels(String username)
int
getGc(String username)
int
getKc(String username, String boss)
net.runelite.http.api.chat.LayoutRoom[]
getLayout(String username)
double
getPb(String username, String boss)
Set<Integer>
getPetList(String username)
int
getQp(String username)
net.runelite.http.api.chat.Task
getTask(String username)
boolean
submitDuels(String username, int wins, int losses, int winningStreak, int losingStreak)
boolean
submitGc(String username, int gc)
boolean
submitKc(String username, String boss, int kc)
boolean
submitLayout(String username, net.runelite.http.api.chat.LayoutRoom[] rooms)
boolean
submitPb(String username, String boss, double pb)
boolean
submitPetList(String username, Collection<Integer> petList)
boolean
submitQp(String username, int qp)
boolean
submitTask(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
-
-