Packets
#2
Currently, no. It is planned that some packets may be available to plugins, but only a handful, such as the plugin channel message or the scoreboard (when I find out what it does Wink )

To make things more complicated, MCServer is trying to walk away from these cryptic functions (see, you yourself had to put a note underneath it saying what it does) towards more friendly names. So we have cProtocol::SendSpawnObject() and cProtocol::SendSpawnVehicle() functions, although they both use the same packet. This might come in handy if ever the protocol decides to spawn vehicles in a different way than "objects", but it's also handy in how people reading the code immediately know what the function does, instead of looking up parameters for packets.
Reply
Thanks given by:


Messages In This Thread
Packets - by NiLSPACE - 03-09-2013, 02:24 AM
RE: Packets - by xoft - 03-09-2013, 04:51 AM
RE: Packets - by NiLSPACE - 03-29-2013, 01:19 AM
RE: Packets - by bearbin - 03-29-2013, 02:58 AM
RE: Packets - by NiLSPACE - 03-29-2013, 02:59 AM
RE: Packets - by xoft - 03-29-2013, 03:22 AM
RE: Packets - by NiLSPACE - 03-29-2013, 03:28 AM
RE: Packets - by xoft - 03-29-2013, 03:52 AM



Users browsing this thread: 2 Guest(s)