This method of the DirectPlay2 Class queries for the number of messages in a specific local player's message receive queue.
public int getMessageCount(int playerId);
Returns the message count.
playerId | The layer ID that the message count is requested for. The player must be local. |