ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/src/backend/communicator/command_parser/player.h
Revision: 1.2
Committed: Mon Oct 25 12:06:58 2010 UTC (15 years, 11 months ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -0 lines
Log Message:
be more strict about the protocol

File Contents

# User Rev Content
1 sf-pippijn 1.1 void
2     command_parser::on_player (std::istream &args)
3     {
4     u32 tag = read_u32 (args);
5     u32 weight = read_u32 (args);
6     u32 face = read_u32 (args);
7     std::string name = read_string08 (args);
8 sf-pippijn 1.2 PARSE_END;
9 sf-pippijn 1.1
10     emit player (tag, weight, face, name);
11     }