@Override
    public void deserialize(Buffer buf) {
        alignmentSide = buf.readByte();
        alignmentValue = buf.readByte();
        if (alignmentValue < 0)
            throw new RuntimeException("Forbidden value on alignmentValue = " + alignmentValue + ", it doesn't respect the following condition : alignmentValue < 0");
        alignmentGrade = buf.readByte();
        if (alignmentGrade < 0)
            throw new RuntimeException("Forbidden value on alignmentGrade = " + alignmentGrade + ", it doesn't respect the following condition : alignmentGrade < 0");
        dishonor = buf.readUShort();
        if (dishonor < 0 || dishonor > 500)
            throw new RuntimeException("Forbidden value on dishonor = " + dishonor + ", it doesn't respect the following condition : dishonor < 0 || dishonor > 500");
        characterPower = buf.readInt();
        if (characterPower < 0)
            throw new RuntimeException("Forbidden value on characterPower = " + characterPower + ", it doesn't respect the following condition : characterPower < 0");
    }