![]() |
Shadowrun: Awakened 29 September 2011 - Build 871
|
00001 /* 00002 * SendMessageToChannel - This packet is used to send a message to a channel, 00003 * i.e. to the ChatServer 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 #include <memory> 00028 #include <string> 00029 00030 namespace SraNetwork 00031 { 00032 class SendMessageToChannelPacket : 00033 public SraPacket 00034 { 00035 public: 00036 SendMessageToChannelPacket(void); 00037 ~SendMessageToChannelPacket(void); 00038 00039 virtual void Serialize(RakNet::BitStream* target); 00040 virtual void Deserialize(RakNet::BitStream* source); 00041 00042 int channelId; 00043 RakNet::RakString chatMessage; 00044 }; 00045 }
Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.