amxmodx/dlls/engine/messages.h

50 lines
601 B
C
Raw Normal View History

2004-05-26 09:15:40 +04:00
#ifndef _MSGS_INCLUDE_H
#define _MSGS_INCLUDE_H
#include "engine.h"
#define MAX_MESSAGES 255
#define BLOCK_NOT 0
#define BLOCK_ONCE 1
#define BLOCK_SET 2
enum {
arg_byte = 1,
arg_char,
arg_short,
arg_long,
arg_angle,
arg_coord,
arg_string,
arg_entity,
};
enum {
type_int = 1,
type_float,
type_string,
};
class argMsg
{
public:
argMsg();
void Reset();
void Send();
int Type();
int type;
REAL fData;
2004-06-29 12:14:44 +04:00
CString cData;
2004-05-26 09:15:40 +04:00
int iData;
};
extern AMX_NATIVE_INFO msg_Natives[];
2004-06-29 10:45:52 +04:00
extern CVector<argMsg*> Msg;
extern int msgHooks[256];
extern int msgBlocks[256];
2004-05-26 09:15:40 +04:00
2004-08-24 09:44:31 +04:00
#endif //_MSGS_INCLUDE_H