@Override
    public void serialize(Buffer buf) {
        super.serialize(buf);
        buf.writeUShort(charactersToRecolor.length);
        for (CharacterToRecolorInformation entry : charactersToRecolor) {
            entry.serialize(buf);
        }
        buf.writeUShort(charactersToRename.length);
        for (int entry : charactersToRename) {
            buf.writeInt(entry);
        }
        buf.writeUShort(unusableCharacters.length);
        for (int entry : unusableCharacters) {
            buf.writeInt(entry);
        }
        buf.writeUShort(charactersToRelook.length);
        for (CharacterToRelookInformation entry : charactersToRelook) {
            entry.serialize(buf);
        }
    }