@Override
    public void deserialize(Buffer buf) {
        super.deserialize(buf);
        firstCharacterId = buf.readInt();
        firstCharacterCurrentWeight = buf.readInt();
        if (firstCharacterCurrentWeight < 0)
            throw new RuntimeException("Forbidden value on firstCharacterCurrentWeight = " + firstCharacterCurrentWeight + ", it doesn't respect the following condition : firstCharacterCurrentWeight < 0");
        firstCharacterMaxWeight = buf.readInt();
        if (firstCharacterMaxWeight < 0)
            throw new RuntimeException("Forbidden value on firstCharacterMaxWeight = " + firstCharacterMaxWeight + ", it doesn't respect the following condition : firstCharacterMaxWeight < 0");
        secondCharacterId = buf.readInt();
        secondCharacterCurrentWeight = buf.readInt();
        if (secondCharacterCurrentWeight < 0)
            throw new RuntimeException("Forbidden value on secondCharacterCurrentWeight = " + secondCharacterCurrentWeight + ", it doesn't respect the following condition : secondCharacterCurrentWeight < 0");
        secondCharacterMaxWeight = buf.readInt();
        if (secondCharacterMaxWeight < 0)
            throw new RuntimeException("Forbidden value on secondCharacterMaxWeight = " + secondCharacterMaxWeight + ", it doesn't respect the following condition : secondCharacterMaxWeight < 0");
    }