![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
00001 /* 00002 * LoginReplyPacket - The packet that is sent to the client to 00003 * signal a successfull login and the clientID 00004 * 00005 * @Author Michael <Tharbas> Matzen 00006 * 00007 * This program is free software; you can redistribute it and/or modify it 00008 * under the terms of the GNU General Public License as published by the Free 00009 * Software Foundation; either version 2 of the License, or (at your option) 00010 * any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, but WITHOUT 00013 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00014 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00015 * more details. 00016 * 00017 * You should have received a copy of the GNU General Public License along with 00018 * this program; if not, write to the Free Software Foundation, Inc., 51 00019 * Franklin St, Fifth Floor, Boston, MA 02110, USA 00020 * 00021 */ 00022 #pragma once 00023 #include "SraPacket.h" 00024 #include "NetworkHelper.h" 00025 #include "SraNetworkShared.h" 00026 00027 namespace SraNetwork 00028 { 00029 class LoginReplyPacket : 00030 public SraPacket 00031 { 00032 public: 00033 LoginReplyPacket(void); 00034 ~LoginReplyPacket(void); 00035 00036 virtual void Serialize(RakNet::BitStream* target); 00037 virtual void Deserialize(RakNet::BitStream* source); 00038 00039 // The ID that is used to identify this client 00040 int clientID; 00041 }; 00042 } 00043
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.