helper.postPacketToAll
Prototype
function postPacketToAll(packettype, data)
Input parameters
packettype - the type of the packet, should be positive integer
data - the data associated with the packet (associative array)
Return value
null
Description
Posts a data packet to all players in the game.
Example code
var packData = {"question":question, "playerInfos":playerInfos,
"round":g_gameState.round};
postPacketToAll(PACK_QUESTION, packData);
