Public Member Functions | |
gServerInfoAdmin () | |
Private Member Functions | |
virtual tString | GetUsers () const |
virtual tString | GetOptions () const |
virtual tString | GetUrl () const |
Definition at line 6784 of file ePlayer.cpp.
gServerInfoAdmin::gServerInfoAdmin | ( | ) | [inline] |
virtual tString gServerInfoAdmin::GetUsers | ( | ) | const [inline, private, virtual] |
Implements nServerInfoAdmin.
Definition at line 6790 of file ePlayer.cpp.
References ePlayerNetID::GetName(), ePlayerNetID::IsHuman(), GrowingArrayBase::Len(), and se_PlayerNetIDs.
06791 : 06792 virtual tString GetUsers() const 06793 { 06794 tString ret; 06795 06796 for ( int i = se_PlayerNetIDs.Len()-1; i>=0; --i ) 06797 { 06798 ePlayerNetID* p = se_PlayerNetIDs(i); 06799 if ( p->IsHuman() ) 06800 { 06801 ret << p->GetName() << "\n"; 06802 } 06803 } 06804 return ret;
virtual tString gServerInfoAdmin::GetOptions | ( | ) | const [inline, private, virtual] |
Implements nServerInfoAdmin.
Definition at line 6806 of file ePlayer.cpp.
06809 { 06810 se_CutString( sg_options, 240 );
virtual tString gServerInfoAdmin::GetUrl | ( | ) | const [inline, private, virtual] |
Implements nServerInfoAdmin.
Definition at line 6812 of file ePlayer.cpp.
06815 { 06816 se_CutString( sg_url, 75 );