![]() |
Dawn of Light - Class documentation 2900
This is the Dawn of Light project
|
Requirements describe what must be true to allow a QuestAction to fire. Level of player, Step of Quest, Class of Player, etc... There are also some variables to add additional parameters. To fire a QuestAction ALL requirements must be fulfilled. More...
Public Member Functions | |
| GenderRequirement (GameNPC defaultNPC, Object n, Object v, eComparator comp) | |
| GenderRequirement (GameNPC defaultNPC, int n, eComparator comp) | |
| override bool | Check (DOLEvent e, object sender, EventArgs args) |
Requirements describe what must be true to allow a QuestAction to fire. Level of player, Step of Quest, Class of Player, etc... There are also some variables to add additional parameters. To fire a QuestAction ALL requirements must be fulfilled.
| DOL.GS.Behaviour.Requirements.GenderRequirement.GenderRequirement | ( | GameNPC | defaultNPC, |
| Object | n, | ||
| Object | v, | ||
| eComparator | comp | ||
| ) |
Creates a new QuestRequirement and does some basich compativilite checks for the parameters
| defaultNPC | |
| n | |
| v | |
| comp |
| DOL.GS.Behaviour.Requirements.GenderRequirement.GenderRequirement | ( | GameNPC | defaultNPC, |
| int | n, | ||
| eComparator | comp | ||
| ) |
Creates a new QuestRequirement and does some basich compativilite checks for the parameters
| defaultNPC | Parent defaultNPC of this Requirement |
| n | First Requirement Variable, meaning depends on RequirementType |
| comp | Comparator used if some values are veeing compared |
| override bool DOL.GS.Behaviour.Requirements.GenderRequirement.Check | ( | DOLEvent | e, |
| object | sender, | ||
| EventArgs | args | ||
| ) | [virtual] |
Checks the added requirement whenever a trigger associated with this defaultNPC fires.(returns true)
| e | |
| sender | |
| args |
Implements DOL.GS.Behaviour.AbstractRequirement< TypeN, TypeV >.