[ENet-discuss] A query about channels
Thorbjørn Lindeijer
bjorn at lindeijer.nl
Sun Jan 17 12:12:50 PST 2010
On Sun, Jan 17, 2010 at 21:06, Ruud van Gaal <ruud at racer.nl> wrote:
> I use a packet class where I can just add bytes & shorts & ints (and
> strings) to a packet. So you just: ...
Yep, we use the same approach in The Mana World. The message classes
are implemented as such:
http://gitorious.org/mana/mana/blobs/master/src/net/messageout.cpp
http://gitorious.org/mana/mana/blobs/master/src/net/messagein.cpp
http://gitorious.org/mana/mana/blobs/master/src/net/manaserv/messageout.cpp
http://gitorious.org/mana/mana/blobs/master/src/net/manaserv/messagein.cpp
(this is split up because we also support SDL_net in the client)
Regards,
Bjørn
More information about the ENet-discuss
mailing list