Skip to main content
Version: 1.0.0

Class SessionDifficulty

Namespace: OblivionMp.Sdk.Serverside
Assembly: OblivionMp.Sdk.Serverside.dll

The difficulty every client in the session runs at. Leaving a tier Unset keeps clients on the game's own default tier (Adept).

public sealed class SessionDifficulty

Inheritance​

object ← SessionDifficulty

Inherited Members​

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors​

SessionDifficulty(IEntities)​

The difficulty every client in the session runs at. Leaving a tier Unset keeps clients on the game's own default tier (Adept).

public SessionDifficulty(IEntities entities)

Parameters​

entities IEntities

Methods​

Set(DifficultyTier, DifficultyTier)​

Sets the difficulty tier for damage players deal and for damage they take.

public void Set(DifficultyTier damageDealt, DifficultyTier damageTaken)

Parameters​

damageDealt DifficultyTier

damageTaken DifficultyTier