Package net.runelite.client.party
Class PartyService
- java.lang.Object
-
- net.runelite.client.party.PartyService
-
@Singleton public class PartyService extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
changeParty(String passphrase)
String
generatePassphrase()
PartyMember
getLocalMember()
PartyMember
getMemberByDisplayName(String name)
PartyMember
getMemberById(long id)
List<PartyMember>
getMembers()
long
getPartyId()
String
getPartyPassphrase()
boolean
isInParty()
void
onPartyChatMessage(PartyChatMessage message)
void
onUserJoin(UserJoin message)
void
onUserPart(UserPart message)
<T extends PartyMessage>
voidsend(T message)
void
setPartyMemberAvatar(long memberID, BufferedImage image)
-
-
-
Method Detail
-
generatePassphrase
public String generatePassphrase()
-
changeParty
public void changeParty(@Nullable String passphrase)
-
send
public <T extends PartyMessage> void send(T message)
-
onUserJoin
@Subscribe(priority=1.0f) public void onUserJoin(UserJoin message)
-
onUserPart
@Subscribe(priority=1.0f) public void onUserPart(UserPart message)
-
onPartyChatMessage
@Subscribe public void onPartyChatMessage(PartyChatMessage message)
-
getLocalMember
public PartyMember getLocalMember()
-
getMemberById
public PartyMember getMemberById(long id)
-
getMemberByDisplayName
public PartyMember getMemberByDisplayName(String name)
-
getMembers
public List<PartyMember> getMembers()
-
isInParty
public boolean isInParty()
-
setPartyMemberAvatar
public void setPartyMemberAvatar(long memberID, BufferedImage image)
-
getPartyId
public long getPartyId()
-
getPartyPassphrase
public String getPartyPassphrase()
-
-