Pol  Revision:cb584c9
Pol::Network::ClientInterface Class Referenceabstract

#include <cliface.h>

+ Inheritance diagram for Pol::Network::ClientInterface:

Public Member Functions

virtual ~ClientInterface ()
void deregister_client (Client *client)
void register_client (Client *client)

Static Public Member Functions

static void tell_attribute_changed (Mobile::Character *who, const Mobile::Attribute *attr)
static void tell_vital_changed (Mobile::Character *who, const Core::Vital *vital)

Protected Member Functions

virtual void bcast_vital_changed (Mobile::Character *who, const Core::Vital *vital) const =0
virtual void Initialize ()

Protected Attributes

std::vector< ClientAttributeUpdatersattribute_updaters
std::vector< Client * > clients
std::vector< ClientVitalUpdatersvital_updaters


void send_uo_skill (Client *client, Mobile::Character *me, const Mobile::Attribute *attr)

Detailed Description

Definition at line 49 of file cliface.h.

Constructor & Destructor Documentation

virtual Pol::Network::ClientInterface::~ClientInterface ( )

Definition at line 52 of file cliface.h.

Member Function Documentation

virtual void Pol::Network::ClientInterface::bcast_vital_changed ( Mobile::Character who,
const Core::Vital vital 
) const
protectedpure virtual
void Pol::Network::ClientInterface::deregister_client ( Client client)

Definition at line 52 of file cliface.cpp.

Referenced by Pol::Network::Client::unregister().

void Pol::Network::ClientInterface::Initialize ( )

Reimplemented in Pol::Network::UOClientInterface.

Definition at line 190 of file cliface.cpp.

References Pol::Core::gamestate.

Referenced by Pol::Network::UOClientInterface::Initialize().

void Pol::Network::ClientInterface::register_client ( Client client)

Definition at line 48 of file cliface.cpp.

Referenced by Pol::Network::Client::Client().

Friends And Related Function Documentation

void send_uo_skill ( Client client,
Mobile::Character me,
const Mobile::Attribute attr 

Definition at line 167 of file cliface.cpp.

Member Data Documentation

std::vector<ClientAttributeUpdaters> Pol::Network::ClientInterface::attribute_updaters

Definition at line 65 of file cliface.h.

Referenced by Pol::Network::send_uo_skill(), and tell_attribute_changed().

std::vector<Client*> Pol::Network::ClientInterface::clients

Definition at line 67 of file cliface.h.

std::vector<ClientVitalUpdaters> Pol::Network::ClientInterface::vital_updaters

Definition at line 64 of file cliface.h.

Referenced by tell_vital_changed().

The documentation for this class was generated from the following files: