SPlayerMsg Class Reference
[Server Rules]

Message handler for SPlayer.Forwards messages to requested player, send messages as requested. Checks player existence and game state before forwarding to player. More...

#include <SPlayerMsg.hh>

List of all members.

Public Member Functions

 SPlayerMsg (SRules *r)
void setPlayer (int team_id, int player_id, SPlayer *p)
void sendAction (enum eAction action, const SPlayer *p) const
void sendMsgBlockPush (int nb_squares, const Coordinates squares[], const SPlayer *target, int chosen_square) const
void sendBlockResult (bool can_reroll, int dice_chooser_id, int nb_dices, const enum eBlockDiceFace results[], const SPlayer *defender, const SPlayer *attacker) const
void sendMsgKnocked (const SPlayer *p) const
void sendCoordinates (const Coordinates &old_coord, const SPlayer *p) const
void sendMaRemain (int old_ma_remain, int new_ma_remain, const SPlayer *p) const
void sendRoll (enum eRoll type, int result, int modifier, int required, int reroll, enum eSkill skill, const SPlayer *p) const
void sendSkillQuestion (enum eSkill skill, const SPlayer *p) const
void sendSkillUsage (enum eSkill skill, const SPlayer *p) const
void sendStatus (enum eStatus old_status, enum eStatus new_status, const SPlayer *p) const
void sendTouchdooown (const SPlayer *p) const

Detailed Description

Message handler for SPlayer.

Forwards messages to requested player, send messages as requested. Checks player existence and game state before forwarding to player.

You will have only one instance of this class at runtime, handled by the SRules class.


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 21:17:45 2010 for Stechec/TBT by  doxygen 1.6.3