chatcommand_leavesimplegame.h 511 B

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