@ -10,6 +10,7 @@ ActorPacket::ActorPacket(RakNet::RakPeerInterface *peer) : BasePacket(peer)
packetID = 0;
priority = HIGH_PRIORITY;
reliability = RELIABLE_ORDERED;
orderChannel = CHANNEL_ACTOR;
this->peer = peer;
}
@ -8,6 +8,7 @@
mwmp::PacketChatMessage::PacketChatMessage(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
{
packetID = ID_CHAT_MESSAGE;
orderChannel = CHANNEL_SYSTEM;
void mwmp::PacketChatMessage::Packet(RakNet::BitStream *bs, bool send)
@ -16,6 +16,7 @@ namespace mwmp
PacketConsole(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_GAME_CONSOLE;
void Packet(RakNet::BitStream *bs, bool send)
PacketDisconnect(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_USER_DISCONNECTED;
};
@ -10,6 +10,7 @@ using namespace mwmp;
PacketGUIBoxes::PacketGUIBoxes(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_GUI_MESSAGEBOX;
void PacketGUIBoxes::Packet(RakNet::BitStream *bs, bool send)
PacketHandshake::PacketHandshake(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_HANDSHAKE;
void PacketHandshake::Packet(RakNet::BitStream *bs, bool send)
@ -15,6 +15,7 @@ namespace mwmp
PacketLoaded(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_LOADED;
PacketSendMyID(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_USER_MYID;
PacketTime::PacketTime(RakNet::RakPeerInterface *peer) : PlayerPacket(peer)
packetID = ID_GAME_TIME;
void PacketTime::Packet(RakNet::BitStream *bs, bool send)
@ -10,6 +10,7 @@ PlayerPacket::PlayerPacket(RakNet::RakPeerInterface *peer) : BasePacket(peer)
orderChannel = CHANNEL_PLAYER;
@ -10,6 +10,7 @@ WorldPacket::WorldPacket(RakNet::RakPeerInterface *peer) : BasePacket(peer)
orderChannel = CHANNEL_WORLDEVENT;