chatcommand_simplegamesetdata.h 523 B

123456789101112131415
  1. #ifndef __CHATCOMMAND_SIMPLEGAMESETDATA_H
  2. #define __CHATCOMMAND_SIMPLEGAMESETDATA_H
  3. #include "chatcommand.h"
  4. #include "message.h"
  5. #include "chatclient.h"
  6. // simplegamesetdata(messageid,gameid,offset,newgamedata)
  7. // Sets the gamedata in a game. Sends a simplegamedata message or an error. Offset is where to save newgamedata within gamedata. Use -1 to replace.
  8. class chatcommand_simplegamesetdata:chatcommand
  9. {
  10. public:
  11. static bool processmessage(char first_letter,message *received_message,chatclient *client);
  12. };
  13. #endif