@Override
    public void serialize(Buffer buf) {
        buf.writeInt(fightId);
        buf.writeByte(fightType);
        buf.writeUShort(fightTeams.length);
        for (FightTeamInformations entry : fightTeams) {
            entry.serialize(buf);
        }
        buf.writeUShort(fightTeamsPositions.length);
        for (short entry : fightTeamsPositions) {
            buf.writeShort(entry);
        }
        buf.writeUShort(fightTeamsOptions.length);
        for (FightOptionsInformations entry : fightTeamsOptions) {
            entry.serialize(buf);
        }
    }