Added proffessionWheelPosition delta, changed walkspeed, added skillmods

This commit is contained in:
Waverunner
2014-03-08 18:10:27 -05:00
parent b0172a87d6
commit b08b7eaae7
4 changed files with 23 additions and 2 deletions
@@ -382,6 +382,18 @@ public class PlayerMessageBuilder extends ObjectMessageBuilder {
return result.flip();
}
public IoBuffer buildProfessionWheelPositionDelta(String professionWheelPosition) {
IoBuffer buffer = bufferPool.allocate(2 + professionWheelPosition.length(), false).order(ByteOrder.LITTLE_ENDIAN);
buffer.put(getAsciiString(professionWheelPosition));
int size = buffer.position();
buffer.flip();
buffer = createDelta("PLAY", (byte) 8, (short) 1, (short) 8, buffer, size + 4);
return buffer;
}
public IoBuffer buildWaypointAddDelta(WaypointObject waypoint) {
PlayerObject player = (PlayerObject) object;