The GuildMgr holds pointers to all guilds, and pointers to their members.
More...
List of all members.
Detailed Description
The GuildMgr holds pointers to all guilds, and pointers to their members.
Member Function Documentation
static bool DOL.GS.GuildMgr.AddGuild |
( |
Guild |
guild | ) |
[static] |
Adds a guild to the list of guilds.
- Parameters:
-
- Returns:
- True if the function succeeded, otherwise false
static void DOL.GS.GuildMgr.AddPlayerToAllGuildPlayersList |
( |
GamePlayer |
player | ) |
[static] |
Add a player to the guild players dictionary list.
- Parameters:
-
static void DOL.GS.GuildMgr.ChangeEmblem |
( |
GamePlayer |
player, |
|
|
int |
oldemblem, |
|
|
int |
newemblem |
|
) |
| [static] |
Process for changing an emblem.
- Parameters:
-
player | |
oldemblem | |
newemblem | |
static bool DOL.GS.GuildMgr.DeleteGuild |
( |
string |
guildName | ) |
[static] |
static bool DOL.GS.GuildMgr.DoesGuildExist |
( |
string |
guildName | ) |
[static] |
Checks if a guild with guildName exists.
- Parameters:
-
guildName | The guild to check |
- Returns:
- true or false
static Dictionary<string, GuildMemberDisplay> DOL.GS.GuildMgr.GetAllGuildMembers |
( |
string |
guildID | ) |
[static] |
Gets a copy of a dictionary of all guild members of a given guild, indexed on player InternalID.
- Parameters:
-
guildID | The guild id for a player |
- Returns:
- Copy of a dictionary of all guild members for the guild or null if guild is not found
static List<Guild> DOL.GS.GuildMgr.GetAllGuilds |
( |
| ) |
[static] |
Get a list of all guilds (creates a copy)
- Returns:
static Guild DOL.GS.GuildMgr.GetGuildByGuildID |
( |
string |
guildid | ) |
[static] |
Returns a guild according to the matching database ID.
- Returns:
- Guild
static Guild DOL.GS.GuildMgr.GetGuildByName |
( |
string |
guildName | ) |
[static] |
Returns a guild according to the matching name.
- Returns:
- Guild
static string DOL.GS.GuildMgr.GuildNameToGuildID |
( |
string |
guildName | ) |
[static] |
Returns a database ID for a matching guild name.
- Returns:
- Guild
static bool DOL.GS.GuildMgr.IsEmblemUsed |
( |
int |
emblem | ) |
[static] |
Returns true if a guild is using the emblem.
- Parameters:
-
- Returns:
static bool DOL.GS.GuildMgr.LoadAllGuilds |
( |
| ) |
[static] |
Load all guilds and alliances from the database.
static bool DOL.GS.GuildMgr.RemoveGuild |
( |
Guild |
guild | ) |
[static] |
Removes a guild from the manager.
- Parameters:
-
- Returns:
static bool DOL.GS.GuildMgr.RemovePlayerFromAllGuildPlayersList |
( |
GamePlayer |
player | ) |
[static] |
Remove a player from the all guilds and players dictionary.
- Parameters:
-
- Returns:
- True if player was removed, else false.
static void DOL.GS.GuildMgr.SaveAllGuilds |
( |
| ) |
[static] |
Save all guild into database.
Member Data Documentation
The cost in copper to reemblem the guild.
The documentation for this class was generated from the following file:
- C:/Users/Graveen/Documents/Dawn of Light/Svn DoL/GameServer/gameutils/GuildMgr.cs