Table of Contents

Class HasAttributeControllerCondition

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Condition that checks if a character has an attribute controller component.

[Serializable]
public class HasAttributeControllerCondition : BaseCondition, ICondition
Inheritance
HasAttributeControllerCondition
Implements
Inherited Members

Methods

Evaluate(ICharacter, EventData)

Evaluates whether the character (or event target) has an attribute controller.

public override bool Evaluate(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character to check, or the fallback if no event target is present.

eventData EventData

Optional event data that may provide a different character to check.

Returns

bool

True if the character has an attribute controller; otherwise, false.