public override bool Verify(ICharacterContract player) { return player.Level >= Level; }
/// <summary> /// Performs a verification on the activating player to ensure they are qualified to interact with this /// </summary> /// <param name="player"></param> /// <returns></returns> public abstract bool Verify(ICharacterContract player);
public override bool Verify(ICharacterContract player) { return player.IsOnQuestStep(QuestId, StepId); }
/// <summary> /// Computes whether or not this dialog link will visible to an interacting player given the conditions imposed /// </summary> /// <param name="player"></param> /// <returns></returns> public bool IsAvailable(ICharacterContract player) { return _dialogConditions.All(x => x.Verify(player)); }