Returns a pointer into the internal buffer that stores the message.
This function can not be used to process system messages. To read system messages
use STATE_multiplayer_message_system_read() instead.
Example:
char sender_name[256];
double *opponent_location;
int result=STATE_multiplayer_message_get(sender_name);
if(result==STATE_MULTIPLAYER_USER_MESSAGE) {
opponent_location=STATE_multiplayer_message_read_buffer();
process his location here...
}
|