Search in sources :

Example 1 with DialogueContinueMessage

use of org.apollo.game.message.impl.DialogueContinueMessage in project apollo by apollo-rsps.

the class DialogueContinueMessageDecoder method decode.

@Override
public DialogueContinueMessage decode(GamePacket packet) {
    GamePacketReader reader = new GamePacketReader(packet);
    int interfaceId = (int) reader.getUnsigned(DataType.SHORT);
    return new DialogueContinueMessage(interfaceId);
}
Also used : GamePacketReader(org.apollo.net.codec.game.GamePacketReader) DialogueContinueMessage(org.apollo.game.message.impl.DialogueContinueMessage)

Example 2 with DialogueContinueMessage

use of org.apollo.game.message.impl.DialogueContinueMessage in project apollo by apollo-rsps.

the class DialogueContinueMessageDecoder method decode.

@Override
public DialogueContinueMessage decode(GamePacket packet) {
    GamePacketReader reader = new GamePacketReader(packet);
    int interfaceId = (int) reader.getUnsigned(DataType.SHORT);
    return new DialogueContinueMessage(interfaceId);
}
Also used : GamePacketReader(org.apollo.net.codec.game.GamePacketReader) DialogueContinueMessage(org.apollo.game.message.impl.DialogueContinueMessage)

Aggregations

DialogueContinueMessage (org.apollo.game.message.impl.DialogueContinueMessage)2 GamePacketReader (org.apollo.net.codec.game.GamePacketReader)2