@Override
    public void deserialize(Buffer buf) {
        questId = buf.readUShort();
        if (questId < 0 || questId > 65535)
            throw new RuntimeException("Forbidden value on questId = " + questId + ", it doesn't respect the following condition : questId < 0 || questId > 65535");
        objectiveId = buf.readUShort();
        if (objectiveId < 0 || objectiveId > 65535)
            throw new RuntimeException("Forbidden value on objectiveId = " + objectiveId + ", it doesn't respect the following condition : objectiveId < 0 || objectiveId > 65535");
    }