Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Namespaces | Enumerations | Variables
SraNetworkShared.h File Reference
#include "RakPeerInterface.h"
#include "BitStream.h"
#include "MessageIdentifiers.h"
Include dependency graph for SraNetworkShared.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SraNetwork::SraClientData
struct  SraNetwork::SraPacket2
struct  SraNetwork::SraZonePacket

Namespaces

namespace  SraNetwork

Enumerations

enum  SraNetwork::SraMessageIdentifiers {
  SraNetwork::ID_LOGIN_REQ = ID_USER_PACKET_ENUM, SraNetwork::ID_LOGIN_REP, SraNetwork::ID_QUIT, SraNetwork::ID_GET_SRVLIST,
  SraNetwork::ID_CONNECT_TO_SRV, SraNetwork::ID_GET_CLIENT_CHARS, SraNetwork::ID_CREATE_CHAR, SraNetwork::ID_CREATE_CHAR_REP,
  SraNetwork::ID_CHAT_CHANNEL_MESSAGE, SraNetwork::ID_CHAT_MSG_REQUEST_PENDING, SraNetwork::ID_CHAT_CHANNEL_REGISTER, SraNetwork::ID_CHAT_CHANNEL_UNREGISTER,
  SraNetwork::ID_IAM_ALIVE, SraNetwork::ID_SRA_REPLY
}

Variables

static const unsigned short SraNetwork::CHAT_CLIENT_PORT = 12003
static const char * SraNetwork::CHAT_SERVER_ADDR = "127.0.0.1"
static const unsigned short SraNetwork::CHAT_SERVER_PORT = 12004
static const unsigned short SraNetwork::CLIENT_CHAT_PORT = 12007
static const unsigned short SraNetwork::CLIENT_SERVER_PORT = 12006
static const int SraNetwork::KEEPALIVE_TIMEOUT = 60
static const unsigned short SraNetwork::MAX_CLIENTS = 50
static const int SraNetwork::MAX_STRLEN = 256
static const unsigned short SraNetwork::PACKAGE_DATA_SIZE = PACKAGE_SIZE - sizeof(char) - sizeof(int)
static const unsigned short SraNetwork::PACKAGE_SIZE = 1024
static const unsigned short SraNetwork::SERVER_CHAT_PORT = 12002
static const unsigned short SraNetwork::SERVER_CLIENT_PORT = 12000
static const unsigned short SraNetwork::SERVER_ZONE_PORT = 12001
static const char * SraNetwork::WORLD_SERVER_ADDR = "127.0.0.1"
static const char * SraNetwork::ZONE_SERVER_ADDR = "127.0.0.1"
static const unsigned short SraNetwork::ZONE_SERVER_PORT = 12005

Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net