Table of Contents

Class QuestAttributeRequirement

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Represents a requirement for a quest based on a character attribute and minimum value. Used to check if a character meets the attribute requirement for quest progression.

[Serializable]
public class QuestAttributeRequirement
Inheritance
QuestAttributeRequirement
Inherited Members

Fields

minRequiredValue

The minimum required value for the attribute.

public long minRequiredValue

Field Value

long

template

The attribute template to check against.

public CharacterAttributeTemplate template

Field Value

CharacterAttributeTemplate

Methods

MeetsRequirements(ICharacterAttributeController)

Checks if the provided character attributes meet the requirement. Returns true if the attribute exists and its final value is at least the minimum required value.

public bool MeetsRequirements(ICharacterAttributeController characterAttributes)

Parameters

characterAttributes ICharacterAttributeController

The character's attribute controller.

Returns

bool

True if requirements are met, false otherwise.