emsg.h

musicmud-2.1.6/include/emsg.h · 255 B

From the archive musicmud2.1.6.tar.gz

Download the archive   « Back to the archive contents

#ifndef EMSG_H
#define EMSG_H

//! An exception with an error message that should be shown to the player who executed the command that caused the throw.
class emsg
{
public:
  string msg;
  emsg(string m) : msg(m) {
  }
  virtual ~emsg() {
  }
};

#endif

Site Stats

Snippets: 1791
Codebases: 571