diff options
author | Duarte Duarte <dnpd.dd@gmail.com> | 2014-10-30 02:05:40 +0000 |
---|---|---|
committer | Duarte Duarte <dnpd.dd@gmail.com> | 2014-10-30 02:05:40 +0000 |
commit | 6f65d48a2149d4b5145f664bbf1aae20c1ea0b27 (patch) | |
tree | 51bc69b2e59ea157caca19e09c508f5a8fe113a9 /src/server/game/Server/Packet.cpp | |
parent | 386b97c4851ca614bfac3916502e2e2a26dd9fd6 (diff) | |
parent | 7b2274a7447973f698426bcdb51c8faad6ba1296 (diff) |
Merge pull request #13434 from TrinityCore/packitify
Networking code overhaul proof of concept
Diffstat (limited to 'src/server/game/Server/Packet.cpp')
-rw-r--r-- | src/server/game/Server/Packet.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/server/game/Server/Packet.cpp b/src/server/game/Server/Packet.cpp new file mode 100644 index 00000000000..bff5643f410 --- /dev/null +++ b/src/server/game/Server/Packet.cpp @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#include "Packet.h" + +WorldPackets::ServerPacket::ServerPacket(OpcodeServer opcode, size_t initialSize = 200) : Packet(WorldPacket(opcode, initialSize)) +{ +} |