C# Class Aura.Channel.World.GameEvents.GlobalBonusManager

Afficher le fichier Open project: aura-project/aura Class Usage Examples

Méthodes publiques

Méthode Description
AddBonus ( string identifier, string name, GlobalBonusStat stat, float multiplier ) : void

Adds global bonus.

AddDrop ( string identifier, GlobalDrop drop ) : void

Adds global drop.

AddFishingGround ( string identifier, FishingGroundData fishingGroundData ) : void

Adds event fishing ground.

GetBonusMultiplier ( GlobalBonusStat stat, float &multiplier, string &eventNames ) : bool

Returns whether there are any bonuses for the given stat, and if so returns the total multiplier and the names of the events that affected it via out parameter.

GetDrops ( Creature creature ) : List

Returns list of all global drops the given creature might drop.

GetFishingGrounds ( ) : List

Returns a list of all event fishing grounds.

RemoveAllDrops ( string identifier ) : void

Removes all global drops associated with the given identifier.

RemoveAllFishingGrounds ( string identifier ) : void

Removes all event fishing grounds associated with the given identifier.

RemoveBonuses ( string identifier ) : void

Removes all global bonuses with given event id.

Method Details

AddBonus() public méthode

Adds global bonus.
public AddBonus ( string identifier, string name, GlobalBonusStat stat, float multiplier ) : void
identifier string
name string
stat GlobalBonusStat
multiplier float
Résultat void

AddDrop() public méthode

Adds global drop.
public AddDrop ( string identifier, GlobalDrop drop ) : void
identifier string
drop GlobalDrop
Résultat void

AddFishingGround() public méthode

Adds event fishing ground.
public AddFishingGround ( string identifier, FishingGroundData fishingGroundData ) : void
identifier string
fishingGroundData FishingGroundData
Résultat void

GetBonusMultiplier() public méthode

Returns whether there are any bonuses for the given stat, and if so returns the total multiplier and the names of the events that affected it via out parameter.
public GetBonusMultiplier ( GlobalBonusStat stat, float &multiplier, string &eventNames ) : bool
stat GlobalBonusStat
multiplier float
eventNames string
Résultat bool

GetDrops() public méthode

Returns list of all global drops the given creature might drop.
public GetDrops ( Creature creature ) : List
creature Aura.Channel.World.Entities.Creature
Résultat List

GetFishingGrounds() public méthode

Returns a list of all event fishing grounds.
public GetFishingGrounds ( ) : List
Résultat List

RemoveAllDrops() public méthode

Removes all global drops associated with the given identifier.
public RemoveAllDrops ( string identifier ) : void
identifier string
Résultat void

RemoveAllFishingGrounds() public méthode

Removes all event fishing grounds associated with the given identifier.
public RemoveAllFishingGrounds ( string identifier ) : void
identifier string
Résultat void

RemoveBonuses() public méthode

Removes all global bonuses with given event id.
public RemoveBonuses ( string identifier ) : void
identifier string
Résultat void