Amulets & Armor
v1.02
Open Source Game
|
#include <PACKET.H>
Data Fields | |
T_byte8 command | PACK |
T_word16 objectID | PACK |
T_word16 objectType | PACK |
T_word32 X | PACK |
T_word32 Y | PACK |
T_word32 Z | PACK |
T_word32 XV | PACK |
T_word32 YV | PACK |
T_word32 ZV | PACK |
T_word16 angle | PACK |
T_word16 bodyParts[MAX_BODY_PARTS] | PACK |
When a client drops an object, it needs to send the following packet to the server, requesting the creation of an object. Also, when the server creates an object, she needs to send this packet to all her clients to tell them what she creates.
T_byte8 command PACK |
T_word16 objectID PACK |
T_word16 objectType PACK |
T_word32 X PACK |
T_word32 Y PACK |
T_word32 Z PACK |
T_word32 XV PACK |
T_word32 YV PACK |
T_word32 ZV PACK |
T_word16 angle PACK |
T_word16 bodyParts [MAX_BODY_PARTS] PACK |