This method of the DirectPlay2 Class adds an existing player to an existing group.
public void addPlayerToGroup(int groupId, int playerId);
groupId | The ID of the group to be augmented. |
playerId | The ID of the player to be added to the group. |
Groups cannot be added to other groups, but players can be members of multiple groups. A DPSYS_ADDDIRECTPLAYERTOGROUP system message will be generated and sent to all the other players.
createGroup, deletePlayerFromGroup, DPSYS_ADDDIRECTPLAYERTOGROUP