Microsoft SDK for Java

getPlayerFriendlyName

This method of the DirectPlay2 Class obtains the friendly name associated with a player.

Syntax

public String getPlayerFriendlyName(int playerId);

Return Value

Returns the name.

Parameters

playerId Player ID number for which the name information is being requested.

See Also

setPlayerName

© 1999 Microsoft Corporation. All rights reserved. Terms of use.