mmp.h
./mud++0.26/src/mmp.h · 1.1 KB
From the archive mud++0.26f.tar.gz
Download the archive « Back to the archive contents
/*
....[@@@..[@@@..............[@.................. MUD++ is a written from
....[@..[@..[@..[@..[@..[@@@@@....[@......[@.... scratch multi-user swords and
....[@..[@..[@..[@..[@..[@..[@..[@@@@@..[@@@@@.. sorcery game written in C++.
....[@......[@..[@..[@..[@..[@....[@......[@.... This server is an ongoing
....[@......[@..[@@@@@..[@@@@@.................. development project. All
................................................ contributions are welcome.
....Copyright(C).1995.Melvin.Smith.............. Enjoy.
------------------------------------------------------------------------------
Melvin Smith (aka Fusion) msmith@hom.net
MUD++ development mailing list mudpp-list@mailhost.net
------------------------------------------------------------------------------
mmp.h
*/
// Multi-MUD Protocol (Fusion July 1996)
// Part of distributed MUD system
struct mm_packet
{
char cmd[ 8 ];
char arg1[ 64 ]; // Some commands may use arg1-4 as 1 buffer
char arg2[ 64 ];
char arg3[ 64 ];
char arg4[ 64 ];
};
#define MM_PACKET_SIZE sizeof( mm_packet )
#define CMD_HELLO "HELLO"
#define CMD_CHAT "CHAT"
#define CMD_TELL "TELL"