mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Merge branch 'master' of https://github.com/ProjectSWGCore/NGECore2
Conflicts: src/protocol/swg/ObjControllerMessage.java src/resources/objects/player/PlayerMessageBuilder.java src/services/travel/TravelService.java
This commit is contained in:
@@ -26,11 +26,13 @@ import java.nio.ByteOrder;
|
||||
import org.apache.mina.core.buffer.IoBuffer;
|
||||
|
||||
|
||||
|
||||
import protocol.swg.objectControllerObjects.CommandEnqueue;
|
||||
import protocol.swg.objectControllerObjects.DataTransform;
|
||||
import protocol.swg.objectControllerObjects.DataTransformWithParent;
|
||||
import protocol.swg.objectControllerObjects.ObjControllerObject;
|
||||
import protocol.swg.objectControllerObjects.UnknownObjController;
|
||||
import resources.common.StringUtilities;
|
||||
|
||||
public class ObjControllerMessage extends SWGMessage {
|
||||
|
||||
@@ -56,6 +58,7 @@ public class ObjControllerMessage extends SWGMessage {
|
||||
public static final int BUFF_BUILDER_START = 0x025C;
|
||||
public static final int BUFF_BUILDER_CHANGE = 0x025A;
|
||||
public static final int UI_PLAY_EFFECT = 0x0401;
|
||||
public static final int SHOW_LOOT_BOX = 0x04BC;
|
||||
|
||||
public ObjControllerMessage() {
|
||||
|
||||
@@ -79,7 +82,7 @@ public class ObjControllerMessage extends SWGMessage {
|
||||
buffer.putInt(0x80CE5E46);
|
||||
buffer.putInt(update);
|
||||
buffer.put(objControllerObject.serialize());
|
||||
//System.out.println("OBJMSG: " + buffer.flip().getHexDump());
|
||||
//System.out.println("OBJMSG: " + StringUtilities.bytesToHex(buffer.flip().array()));
|
||||
int size = buffer.position();
|
||||
return IoBuffer.allocate(size).put(buffer.array(), 0, size).flip();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user