Changeset 514 for code/branches/FICN/src/network/Client.cc
- Timestamp:
- Dec 13, 2007, 6:02:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/Client.cc
r496 r514 1 /* 2 * ORXONOX - the hottest 3D action shooter ever to exist 3 * 4 * 5 * License notice: 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License 9 * as published by the Free Software Foundation; either version 2 10 * of the License, or (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; if not, write to the Free Software 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 20 * 21 * Author: 22 * Oliver Scheuss, (C) 2007 23 * Co-authors: 24 * ... 25 * 26 */ 27 1 28 // 2 29 // C++ Implementation: Client … … 90 117 return client_connection.sendPackets(); 91 118 } 92 119 93 120 /** 94 121 * submits a chat message to the server … … 133 160 } 134 161 135 /** 162 /** 136 163 * Sends out all the packets queued by addXXX 137 164 */ … … 147 174 return false; 148 175 } 149 176 150 177 /** 151 178 * Performs a GameState update … … 160 187 return; 161 188 } 162 189 163 190 void Client::processGamestate( GameStateCompressed *data){ 164 191 gamestate.pushGameState(*data); … … 167 194 return; 168 195 } 169 196 170 197 void Client::processClassid(classid *clid){ 171 198 orxonox::Identifier *id; … … 175 202 return; 176 203 } 177 204 178 205 void Client::processChat( chat *data){ 179 206 std::cout << "Server: " << data->message << std::endl; 180 207 } 181 208 182 209 }
Note: See TracChangeset
for help on using the changeset viewer.