helper.postPacketToRest
Prototype
postPacketToRest(packettype, playername, data)
Input parameters
packettype - the type of the packet, should be positive integer
playername - the user name of the player to ignore
data - the data associated with the packet (associative array)
Return value
null
Description
Posts a data packet to all players except a specific player.
Example code
var packData = {"question":question, "playerInfos":playerInfos,
"round":g_gameState.round};
postPacketToRest(PACK_QUESTION, player, packData);
