This method of the DirectPlay2 Class deletes a group from the session. The ID belonging to this group will not be reused during the current session.
public void destroyGroup(int groupId);
groupId | The ID of the group being removed from the game. |
It is not necessary to empty a group before deleting it. The individual players belonging to the group are not destroyed. This method will generate a DPSYS_DELETEPLAYERFROMGROUP for each player in the group, and then generate a DPSYS_DESTROYPLAYERORGROUP system message.
createGroup, DPMSG_DESTROYPALYERORGROUP