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

FactionMgr manage all the faction system. More...

List of all members.

Static Public Member Functions

static bool Init ()
 this function load all faction from DB
static Faction GetFactionByID (int id)
 get the faction with id
static void SaveAllAggroToFaction ()
 save all faction aggro level of player who have change faction aggro level
static bool CanLivingAttack (GameLiving attacker, GameLiving defender)

Properties

static Hashtable Factions [get]

Detailed Description

FactionMgr manage all the faction system.


Member Function Documentation

static Faction DOL.GS.FactionMgr.GetFactionByID ( int  id) [static]

get the faction with id

Parameters:
id
Returns:
static bool DOL.GS.FactionMgr.Init ( ) [static]

this function load all faction from DB

static void DOL.GS.FactionMgr.SaveAllAggroToFaction ( ) [static]

save all faction aggro level of player who have change faction aggro level


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