mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-28 13:12:54 -04:00
Basic combat works now, fixed /pvp, added waypoint mail attachments, fixed several bugs
This commit is contained in:
@@ -39,7 +39,7 @@ public class UpdateTransformWithParentMessage extends SWGMessage {
|
||||
private float speed;
|
||||
private byte combatFlag;
|
||||
|
||||
public UpdateTransformWithParentMessage(long objectId, long cellId, short x, short y, short z, int movementCounter, byte direction, float speed, byte combatFlag) {
|
||||
public UpdateTransformWithParentMessage(long objectId, long cellId, short x, short y, short z, int movementCounter, byte direction, float speed) {
|
||||
this.objectId = objectId;
|
||||
this.cellId = cellId;
|
||||
this.x = x;
|
||||
@@ -48,7 +48,6 @@ public class UpdateTransformWithParentMessage extends SWGMessage {
|
||||
this.movementCounter = movementCounter;
|
||||
this.direction = direction;
|
||||
this.speed = speed;
|
||||
this.combatFlag = combatFlag;
|
||||
}
|
||||
|
||||
public void deserialize(IoBuffer data) {
|
||||
@@ -68,7 +67,8 @@ public class UpdateTransformWithParentMessage extends SWGMessage {
|
||||
result.putInt(movementCounter+1);
|
||||
result.put((byte) speed);
|
||||
result.put(direction);
|
||||
result.put(combatFlag);
|
||||
result.put((byte) 1);
|
||||
result.put((byte) 0);
|
||||
result.flip();
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user