[Kde-games-devel] Re: Sending a message to one KGame client

Neil Stevens kde-games-devel@mail.kde.org
Sat, 1 Mar 2003 21:43:51 -0800


=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday February 28, 2003 03:38, Andreas Beckermann wrote:
> On Thursday 27 February 2003 03:26, Neil Stevens wrote:
> > On Tuesday February 25, 2003 01:02, Martin Heni wrote:
> > > However, I think this is not necessarily the function wanted in
> > > Neils application. I suppose it would be better to just target the
> > > games with the direct messaged sent. I would assume in this concept
> > > he has only one (real) player per game anyway?
> >
> > Yes, I will only have one player per Megami instance.
>
> Hm. So how will you  show e.g. the names of other players to your
> primary player? When there is only one KPlayer object per client...
> Do you maintain an additional data set?

I meant player as in human player, not KPlayer.  I do use the KPlayers to=20
populate my views.  That's why I want to hide certain information. :-)

> I have tested this patch with a slightly hacked KGameChat widget, so
> that it sends out private messages and it seems to work. Broadcast
> messages continue to work, so I think there should be no unwanted
> side-effects.
>
> Is your game already so far that you can test this patch?

Well, development stalled while I waited to see if KGame could do what I=20
need, but I'll now get back to work.  Would your patch work against=20
KDE_3_1_BRANCH, or am I going to have to make a build of HEAD libkdegames?

=2D --=20
Neil Stevens - neil@qualityassistant.com
"Among the many misdeeds of the British rule in India, history will
look upon the act depriving a whole nation of arms as the blackest."
 -- Gandhi
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+YZoXf7mnligQOmERAn8zAKCRH65evAep5+Ag8eOKiD8/m3hMUwCeMNBN
qzUuHX2vIP5KNb8trd8Gx8o=3D
=3Dr8fn
=2D----END PGP SIGNATURE-----