1#pragma once 2 3const int CMD_REQUEST_COMMAND = 1; 4const int CMD_REQUEST_USAGE = 2; 5 6CLASS(Command, Object) 7 ATTRIB(Command, m_name, string); 8 ATTRIB(Command, m_description, string); 9 METHOD(Command, m_invokecmd, void(Command this, int request, entity caller, int arguments, string command)) 10 { 11 TC(Command, this); 12 } 13ENDCLASS(Command) 14