Template_EDMPlayer Class Reference

Base EDM player. More...

List of all members.

Public Member Functions

void FullyConnected ()
 Connection is complete.
void RequestData (int DataIdentifier)
 Server requests data.
void AdminValidation ()
 Make client admin.
void UpdateAdminList (Template_EPRI EPRI, String IP, String CompName, String Version, bool bIsAdmin)
 Update admin info.
void PingMe ()
 Server ping.
void PongMe ()
 Ping server.
exec void Mutate (String Cmd)
 Send a mutator command.

Public Attributes

bool bIsReallyTyping
 Typing indicator.
bool bTrueSpec
 Spectator indicator.
Template_PlayerDirectory MyDirectory
 Player list.
VoteCache MapCache
 Map list.
var VoteCache MutatorCache
 Mutator list.
Inventory Armors [16]
 Armor list.
class< Ammo > CurAmmo
 Ammo class.
int AmmoNum
 Ammo amount.
int ChargeAmount [16]
 Charge amounts.
var int TargetHandedness
 Viewtarget handedness.


Detailed Description

The base for all EDM players. All replicated functions here are redirected to the server's Interpreter object so that serverside code can exist only on the server. This is nice because servers can introduce modifications to gameplay and clients won't have to download anything new.
See also:
Template_GameType.InterpretReplicatedFunction()

Member Function Documentation

void FullyConnected (  ) 

This function is called when the server has received all necessary information from the client and the connection is complete.

void RequestData ( int  DataIdentifier  ) 

The server may request data from the client, and the subclass is responsible for handling this and sending the appropriate data back.

Parameters:
DataIdentifier The identifier for the data that is requested

void AdminValidation (  ) 

Called by the server when bAdmin should be true on the client.

void UpdateAdminList ( Template_EPRI  EPRI,
String  IP,
String  CompName,
String  Version,
bool  bIsAdmin 
)

Used by the server to replicate sensitive data to clients that the server verifies as a true admin.

Parameters:
EPRI The Template_EPRI whose data will be set
IP The EPRI's IP
CompName The EPRI's computer name
Version The EPRI's version
bIsAdmin Whether the EPRI is an admin's EPRI

void PingMe (  ) 

The server is calling this to see if the client is still alive.

void PongMe (  ) 

Send a ping response to the server to let them know we're still alive.

exec void Mutate ( String  Cmd  ) 

Execute a command on a mutator on the server.

Parameters:
Cmd The command to execute


Member Data Documentation

True when this player is typing.

bool bTrueSpec

True when a player is using a class solely designed for spectating.

Clientside list of players.

Cache of maps received for map voting.

Cache of mutators received for mutator voting.

Inventory Armors[16]

List of armors that this player's viewtarget has.

Remarks:
This is only useful when the player is a spectator

class<Ammo> CurAmmo

The class of the ammo type that this player's viewtarget has.

Remarks:
This is only useful when the player is a spectator

int AmmoNum

The amount of ammo that this player's viewtarget has.

Remarks:
This is only useful when the player is a spectator

int ChargeAmount[16]

The charges that pertain to each item in the Armors array.

Remarks:
This is only useful when the player is a spectator

The handedness of this player's viewtarget.

Remarks:
This is only useful when the player is a spectator


Generated on Tue Jun 2 16:26:38 2009 for EDM6 by  doxygen 1.5.6