@Override
    public void deserialize(Buffer buf) {
        maxCase = buf.readByte();
        if (maxCase < 0)
            throw new RuntimeException("Forbidden value on maxCase = " + maxCase + ", it doesn't respect the following condition : maxCase < 0");
        skillId = buf.readInt();
        if (skillId < 0)
            throw new RuntimeException("Forbidden value on skillId = " + skillId + ", it doesn't respect the following condition : skillId < 0");
        crafterJobLevel = buf.readByte();
        if (crafterJobLevel < 0)
            throw new RuntimeException("Forbidden value on crafterJobLevel = " + crafterJobLevel + ", it doesn't respect the following condition : crafterJobLevel < 0");
    }