diff --git a/src/main/java/com/projectswg/common/network/packets/swg/zone/chat/ChatSystemMessage.java b/src/main/java/com/projectswg/common/network/packets/swg/zone/chat/ChatSystemMessage.java index ccb8fd3..9ab3d93 100644 --- a/src/main/java/com/projectswg/common/network/packets/swg/zone/chat/ChatSystemMessage.java +++ b/src/main/java/com/projectswg/common/network/packets/swg/zone/chat/ChatSystemMessage.java @@ -1,5 +1,5 @@ /*********************************************************************************** - * Copyright (c) 2018 /// Project SWG /// www.projectswg.com * + * Copyright (c) 2023 /// Project SWG /// www.projectswg.com * * * * ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on * * July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. * @@ -88,7 +88,15 @@ public class ChatSystemMessage extends SWGPacket { public String getMessage() { return message; } - + + public OutOfBandPackage getOob() { + return oob; + } + + public SystemChatType getType() { + return type; + } + public enum SystemChatType { PERSONAL (0x00), BROADCAST (0x01), diff --git a/src/main/java/com/projectswg/common/network/packets/swg/zone/server_ui/SuiEventNotification.java b/src/main/java/com/projectswg/common/network/packets/swg/zone/server_ui/SuiEventNotification.java index 8615fdd..cea3e59 100644 --- a/src/main/java/com/projectswg/common/network/packets/swg/zone/server_ui/SuiEventNotification.java +++ b/src/main/java/com/projectswg/common/network/packets/swg/zone/server_ui/SuiEventNotification.java @@ -1,5 +1,5 @@ /*********************************************************************************** - * Copyright (c) 2018 /// Project SWG /// www.projectswg.com * + * Copyright (c) 2023 /// Project SWG /// www.projectswg.com * * * * ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on * * July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. * @@ -82,4 +82,20 @@ public class SuiEventNotification extends SWGPacket { public List getSubscribedToProperties() { return this.subscribedToProperties; } public int getEventIndex() { return this.eventIndex; } public int getUpdateCount() { return this.updateCount; } + + public void setWindowId(int windowId) { + this.windowId = windowId; + } + + public void setEventIndex(int eventIndex) { + this.eventIndex = eventIndex; + } + + public void setUpdateCount(int updateCount) { + this.updateCount = updateCount; + } + + public void addSubscribedToProperty(String property) { + this.subscribedToProperties.add(property); + } }