Dawn of Light - Class documentation 2900
This is the Dawn of Light project
DOL.GS.GroupMgr Class Reference

The GroupMgr holds pointers to all groups and to players looking for a group. More...

List of all members.

Static Public Member Functions

static bool AddGroup (object key, Group group)
 Adds a group to the list of groups.
static bool RemoveGroup (object key)
 Removes a group from the manager.
static void SetPlayerLooking (GamePlayer member)
 Adds a player to the looking for group list.
static void RemovePlayerLooking (GamePlayer member)
 Removes a player from the looking for group list.
static ArrayList ListGroupByStatus (byte status)
 Returns a list of groups by their status.
static ArrayList LookingForGroupPlayers ()
 Returns an Arraylist of all players looking for a group.

Detailed Description

The GroupMgr holds pointers to all groups and to players looking for a group.


Member Function Documentation

static bool DOL.GS.GroupMgr.AddGroup ( object  key,
Group  group 
) [static]

Adds a group to the list of groups.

Parameters:
key
groupThe group to add
Returns:
True if the function succeeded, otherwise false
static ArrayList DOL.GS.GroupMgr.ListGroupByStatus ( byte  status) [static]

Returns a list of groups by their status.

Parameters:
statusstatusbyte
Returns:
ArrayList of groups
static ArrayList DOL.GS.GroupMgr.LookingForGroupPlayers ( ) [static]

Returns an Arraylist of all players looking for a group.

Returns:
ArrayList of all players looking for a group
static bool DOL.GS.GroupMgr.RemoveGroup ( object  key) [static]

Removes a group from the manager.

Parameters:
key
Returns:
static void DOL.GS.GroupMgr.RemovePlayerLooking ( GamePlayer  member) [static]

Removes a player from the looking for group list.

Parameters:
memberplayer to remove from the list
static void DOL.GS.GroupMgr.SetPlayerLooking ( GamePlayer  member) [static]

Adds a player to the looking for group list.

Parameters:
memberplayer to add to the list

The documentation for this class was generated from the following file:
All Classes Namespaces Functions Variables Enumerations Properties Events