chatcommand_simplegameusergetdata.h 542 B

123456789101112131415
  1. #ifndef __CHATCOMMAND_SIMPLEGAMEUSERGETDATA_H
  2. #define __CHATCOMMAND_SIMPLEGAMEUSERGETDATA_H
  3. #include "chatcommand.h"
  4. #include "message.h"
  5. #include "chatclient.h"
  6. // simplegameusergetdata(messageid,gameid,username)
  7. // Gets the data for a user in a game. Returns a simplegameuserdata message or an error message. If username is left out, returns the user data for all users.
  8. class chatcommand_simplegameusergetdata:chatcommand
  9. {
  10. public:
  11. static bool processmessage(char first_letter,message *received_message,chatclient *client);
  12. };
  13. #endif