eVoteItemSuspend Class Reference

Inheritance diagram for eVoteItemSuspend:

Inheritance graph
[legend]
Collaboration diagram for eVoteItemSuspend:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 eVoteItemSuspend (ePlayerNetID *player=0)
 ~eVoteItemSuspend ()

Protected Member Functions

virtual char const * DoGetPrefix () const
virtual int DoGetExtraBias () const
virtual void DoExecute ()


Detailed Description

Definition at line 1299 of file eVoter.cpp.


Constructor & Destructor Documentation

eVoteItemSuspend::eVoteItemSuspend ( ePlayerNetID player = 0  )  [inline]

Definition at line 1303 of file eVoter.cpp.

01304         : eVoteItemHarm( player )
01305         {}

eVoteItemSuspend::~eVoteItemSuspend (  )  [inline]

Definition at line 1307 of file eVoter.cpp.

01308     {}


Member Function Documentation

virtual char const* eVoteItemSuspend::DoGetPrefix (  )  const [inline, protected, virtual]

Implements eVoteItemHarm.

Definition at line 1311 of file eVoter.cpp.

01311 { return "suspend"; }

virtual int eVoteItemSuspend::DoGetExtraBias (  )  const [inline, protected, virtual]

Reimplemented from eVoteItem.

Definition at line 1322 of file eVoter.cpp.

References se_votingBiasSuspend.

01323     {
01324         return se_votingBiasSuspend;
01325     }

virtual void eVoteItemSuspend::DoExecute (  )  [inline, protected, virtual]

Reimplemented from eVoteItemServerControlled.

Definition at line 1327 of file eVoter.cpp.

References se_suspendRounds, and ePlayerNetID::Suspend().

01328     {
01329         ePlayerNetID * player = GetPlayer();
01330         if ( player )
01331         {
01332             player->Suspend( se_suspendRounds );
01333         }
01334     }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Mar 15 23:31:24 2008 for Armagetron Advanced by  doxygen 1.5.4