Show player.cpp syntax highlighted
/***************************************************************************
player.cpp - description
-------------------
begin : Tue Dec 24 2002
copyright : (C) 2002 by Brendon Higgins
email : freepop-devel@lists.sourceforge.net
***************************************************************************/
/***************************************************************************
* *
* 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. *
* *
***************************************************************************/
#include <player.h>
namespace Player {
namespace Message {
const int FULL_UPDATE = 0;
const int REMOVE = 1;
const int NAME_CHANGE = 2;
const int COLOUR_CHANGE = 3;
}
namespace Remove {
const int NO_REASON = 0;
const int LOST = 1;
const int DISCONNECT = 2;
const int SERVER_KICK = 3;
const std::string STRINGS[] = {
"No reason given.",
"Connection lost by timeout.",
"Disconnected.",
"Kicked by server."
};
}
}
See more files for this project here