@Override
    public void deserialize(Buffer buf) {
        super.deserialize(buf);
        position = buf.readUByte();
        if (position < 63 || position > 255)
            throw new RuntimeException("Forbidden value on position = " + position + ", it doesn't respect the following condition : position < 63 || position > 255");
        spellId = buf.readInt();
        spellLevel = buf.readByte();
        if (spellLevel < 1 || spellLevel > 6)
            throw new RuntimeException("Forbidden value on spellLevel = " + spellLevel + ", it doesn't respect the following condition : spellLevel < 1 || spellLevel > 6");
    }