Class Adventure
Inheritance
System.Object
Adventure
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: osrlib.Core
Assembly: osrlib.Core.dll
Syntax
public class Adventure
Properties
| Improve this Doc View SourceActiveDungeon
Gets the active Dungeon.
Declaration
public Dungeon ActiveDungeon { get; }
Property Value
Type | Description |
---|---|
Dungeon |
ActiveParty
Gets or sets the active player Party.
Declaration
public Party ActiveParty { get; set; }
Property Value
Type | Description |
---|---|
Party |
Dungeons
Gets or sets the Dungeons in the Adventure.
Declaration
public List<Dungeon> Dungeons { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Dungeon> |
Quests
Gets or sets the Quests in the Adventure.
Declaration
public List<Quest> Quests { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<Quest> |
Methods
| Improve this Doc View SourceAddDungeon(Dungeon)
Adds the specified Dungeon to the Adventure.
Declaration
public void AddDungeon(Dungeon dungeon)
Parameters
Type | Name | Description |
---|---|---|
Dungeon | dungeon | The Dungeon to add to the Adventure. |
SetActiveDungeon(Dungeon)
Sets the active Dungeon for the Adventure.
Declaration
public void SetActiveDungeon(Dungeon dungeon)
Parameters
Type | Name | Description |
---|---|---|
Dungeon | dungeon | The Dungeon to set as active. |
SetActiveParty(Party)
Sets the active player Party for the Adventure. This is the Party that will enter combat with this Adventure's Dungeon Encounters.
Declaration
public void SetActiveParty(Party activeParty)
Parameters
Type | Name | Description |
---|---|---|
Party | activeParty | The player's Party to set as active. |