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