duncan
Mom and Dad were wrong!
Public Types | Public Member Functions | Public Attributes
server::PlayerPacket Struct Reference

#include <playerpacket.h>

Collaboration diagram for server::PlayerPacket:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::tr1::shared_ptr
< PlayerPacket
pointer_t
 Pointer to PlayerPacket.

Public Member Functions

 PlayerPacket (Player *pl, net::Packet *p)

Public Attributes

Playerplayer
 Player in server::World to whom this packet belongs.
net::Packetpacket
 Data to be sent to Player.

Detailed Description

Associates a net::Packet with a player index, representing a packet to be sent to a particular player.

Author:
Malcolm Gill

see LICENSE


Constructor & Destructor Documentation

server::PlayerPacket::PlayerPacket ( Player pl,
net::Packet p 
) [inline]

Trivial constructor.

Parameters:
ivalue for ind.
ppointer to Packet.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations