Save Class ReferenceCommand: update char in db.
More...
| |||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Save () | |
| void | Execute (InSocket *, const std::string ¶ms, Parse &) |
| Execute command. | |
| std::string | Category () |
| Get command category. | |
Definition at line 28 of file Save.h.
| void Save::Execute | ( | InSocket * | , | |
| const std::string & | arg, | |||
| Parse & | ||||
| ) | [virtual] |
Execute command.
Implements Command.
Definition at line 27 of file Save.cpp.
References Player::Save().
00028 { 00029 Player pl(from -> GetDatabase(), from -> GetAccountName()); 00030 pl.Save(); 00031 from -> Send("Ok.\n"); 00032 from -> SetPrompt(); 00033 }
| std::string Save::Category | ( | ) | [inline, virtual] |
1.4.4