Namespace osrlib.Core
Classes
Ability
A Being has one or more abilities (strength, dexterity, intelligence, etc.) that are referenced when calculating the success of a GameAction.
Adventure
An Adventure contains one or more Dungeon and Quest objects.
Being
The Being represents a living entity in within an Adventure, and is used for both player characters and monsters.
BeingTargetingEventArgs
Provides information for events in which one Being is targeting another. Such events are typically fired prior to performing a GameAction.
CharacterClass
Specifies the profession of the character.
Dungeon
The Dungeon contains and manages one or more Encounter objects, and may be associated with other Dungeons.
Encounter
The Encounter contains a Party, can accept a Party to initiate a battle, and may contain a reward. The encounter also handles creating GameActions and assigning targets.
GameAction
The GameAction represents an act initiated by one entity on another, such as a melee attack from one Being on another, or a lockpick attempt from a Being on a locked treasure chest.
GameActionEventArgs
Provides information for events associated with a GameAction.
Modifier
Represents a modifier from a single source, such as an ability or magical bonus or penalty.
Party
Represents a collection of Beings. Two Parties are pit against each other in combat.
Quest
The Quest is associated with one Adventure, and one or more Dungeon objects.
User
Represents a human player. A User can own one or more Party or Adventure.
Weapon
A Weapon is a melee or ranged martial weapon, or an offensive spell.
Structs
GamePosition
Represents an object's location within a Dungeon.
Enums
AbilityType
Specifies the type of an Ability.
Alignment
Specifies the alignment of a Being.
WeaponType
Specifies the type of weapon or whether the weapon is an offensive (attack) spell. Used in determining which ability modifiers to apply to attack and damage rolls, as well as whether a target is within attack range.
Delegates
BeingTargetingEventHandler
Represents the method that handles a Being's TargetSelected or SelectedAsTarget event.
GameActionEventHandler
Represents the method that handles a Being's PerformingAction or ActionPerformed events.