diff options
author | Shauren <shauren.trinity@gmail.com> | 2014-07-19 17:03:32 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2014-07-19 17:03:32 +0200 |
commit | 0bcc92d90020d0c4f7d3086189cc94e4990517b1 (patch) | |
tree | 52453e9b1ed9efe2edca7c61ee771cc8d30a29a4 /src/server/authserver/Server/BattlenetBitStream.cpp | |
parent | 2452cfb98ecdc18bd64a118410d2a6dc9505f0c4 (diff) |
Part 3: Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4
Diffstat (limited to 'src/server/authserver/Server/BattlenetBitStream.cpp')
-rw-r--r-- | src/server/authserver/Server/BattlenetBitStream.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/server/authserver/Server/BattlenetBitStream.cpp b/src/server/authserver/Server/BattlenetBitStream.cpp new file mode 100644 index 00000000000..906d7802631 --- /dev/null +++ b/src/server/authserver/Server/BattlenetBitStream.cpp @@ -0,0 +1,24 @@ +/* + * 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 "BattlenetBitStream.h" + +template<> +bool Battlenet::BitStream::Read(uint32 /*bitCount*/) +{ + return Read<uint8>(1) != 0; +} |