Public Member Functions | |
eVoteItemSuspend (ePlayerNetID *player=0) | |
~eVoteItemSuspend () | |
Protected Member Functions | |
virtual char const * | DoGetPrefix () const |
virtual int | DoGetExtraBias () const |
virtual void | DoExecute () |
Definition at line 1299 of file eVoter.cpp.
eVoteItemSuspend::eVoteItemSuspend | ( | ePlayerNetID * | player = 0 |
) | [inline] |
eVoteItemSuspend::~eVoteItemSuspend | ( | ) | [inline] |
virtual char const* eVoteItemSuspend::DoGetPrefix | ( | ) | const [inline, protected, virtual] |
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 }