mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-08 23:13:25 -04:00
Added ignore list including the "ignore" functionality for mails, chat messages, instant messages, and spatial chat
This commit is contained in:
@@ -360,7 +360,29 @@ public class PlayerObject extends IntangibleObject {
|
||||
}
|
||||
|
||||
public List<String> getFriendsList() {
|
||||
return this.friendsList;
|
||||
return friendsList;
|
||||
}
|
||||
|
||||
public void addIgnored(String ignored) {
|
||||
synchronized (ignoreList) {
|
||||
ignoreList.add(ignored);
|
||||
}
|
||||
ignoreList.sendDeltaMessage(this);
|
||||
}
|
||||
|
||||
public void removeIgnored(String ignored) {
|
||||
synchronized (ignoreList) {
|
||||
ignoreList.remove(ignored);
|
||||
}
|
||||
ignoreList.sendDeltaMessage(this);
|
||||
}
|
||||
|
||||
public boolean isIgnored(String target) {
|
||||
return ignoreList.contains(target);
|
||||
}
|
||||
|
||||
public List<String> getIgnoreList() {
|
||||
return ignoreList;
|
||||
}
|
||||
|
||||
public String getProfWheelPosition() {
|
||||
|
||||
Reference in New Issue
Block a user