This method of the DirectPlay2 Class associates an application-specific data block with a player ID.
public void setPlayerData(int playerId, byte[] data, int dataSize, int flags);
playerId | The ID of the player for which data is being set. |
data | The data to be set. Set this parameter to null to clear any existing player data. |
dataSize | The size of the data. |
flags | If this parameter is set to 0, the remote player data will be set and propagated by using nonguaranteed messaging. This parameter can be one or a combination of the following flags: |