Kamikaze Protocol Specification |
---|
The current implementations (as of protocol version 2) use the following opcode values to identify messages:
OP_CHEAT = 0
OP_MAP = 2
OP_RULES = 3
OP_STATE = 4
OP_MOVE = 5
OP_ACTION = 6
MOVE_PLAYER = 0
MOVE_MONSTER = 1
MOVE_UP = 0
MOVE_DOWN = 1
MOVE_LEFT = 2
MOVE_RIGHT = 3
STATE_START = 0
STATE_STOP = 1
MAP_SELECT = 0
MAP_SELECTED = 1
ACTION_NEWPLAYER = 0
ACTION_NEWMONSTER = 1
ACTION_NEWITEM = 2
ACTION_NEWEXIT = 3
ACTION_NEWBLAST = 4
ACTION_NEWBOMB = 5
ACTION_ITEM = 6
ACTION_REMOVEPLAYER = 7
ACTION_REMOVEMONSTER = 8
ACTION_REMOVEITEM = 9
ACTION_REMOVEBOMB = 10
ACTION_REMOVEBLAST = 11
ACTION_ACTIVATEITEM = 12
ACTION_ACTIVATEEXIT = 13
ACTION_HIGHLIGHTITEM = 14
ACTION_HIGHLIGHTEXIT = 15
<<< OP_MAP |