public override bool Verify(ICharacterContract player)
 {
     return player.Level >= Level;
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 4
0
 /// <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));
 }