mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-22 07:13:07 -04:00
Default system chat rooms are now created
Added basic joining and room info retrieval functionality for chat rooms and the ability to send messages to the room
This commit is contained in:
@@ -44,13 +44,16 @@ import resources.player.PlayerFlags;
|
||||
import utilities.MathUtils;
|
||||
import utilities.Encoder.StringType;
|
||||
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
|
||||
public class PlayerObject extends IntangibleObject {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private String biography = "";
|
||||
private String biography = "";
|
||||
private List<Integer> joinedChannels = new LinkedList<>();
|
||||
|
||||
// PLAY 03
|
||||
private SWGBitSet flagsList = new SWGBitSet(BaselineType.PLAY, 3, 5);
|
||||
private SWGBitSet profileFlags = new SWGBitSet(BaselineType.PLAY, 3, 6);
|
||||
@@ -384,7 +387,11 @@ public class PlayerObject extends IntangibleObject {
|
||||
flagsList.flip(flag.getFlag());
|
||||
flagsList.sendDeltaMessage(this);
|
||||
}
|
||||
|
||||
|
||||
public List<Integer> getJoinedChannels() {
|
||||
return joinedChannels;
|
||||
}
|
||||
|
||||
private int getProfessionIcon() {
|
||||
switch (profession) {
|
||||
case "entertainer_1a":
|
||||
|
||||
Reference in New Issue
Block a user