Added support for decoding SpatialChat object controllers

This commit is contained in:
Ziggy
2025-01-12 02:19:50 +01:00
parent 68310ffdc8
commit 964f568551

View File

@@ -1,11 +1,10 @@
/***********************************************************************************
* Copyright (c) 2024 /// Project SWG /// www.projectswg.com *
* Copyright (c) 2025 /// Project SWG /// www.projectswg.com *
* *
* ProjectSWG is the first NGE emulator for Star Wars Galaxies founded on *
* ProjectSWG is an emulation project for Star Wars Galaxies founded on *
* July 7th, 2011 after SOE announced the official shutdown of Star Wars Galaxies. *
* Our goal is to create an emulator which will provide a server for players to *
* continue playing a game similar to the one they used to play. We are basing *
* it on the final publish of the game prior to end-game events. *
* Our goal is to create one or more emulators which will provide servers for *
* players to continue playing a game similar to the one they used to play. *
* *
* This file is part of PSWGCommon. *
* *
@@ -153,6 +152,7 @@ public abstract class ObjectController extends SWGPacket {
case QuestTaskTimerData.CRC: return new QuestTaskTimerData(data);
case QuestCompletedMessage.CRC: return new QuestCompletedMessage(data);
case EntertainerFlourishType.CRC: return new EntertainerFlourishType(data);
case SpatialChat.CRC: return new SpatialChat(data);
}
Log.w("Unknown object controller: %08X", crc);
return new GenericObjectController(crc, data);