Advertisement
Guest User

Untitled

a guest
Oct 9th, 2022
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using Stump.DofusProtocol.Types;
  7. using Stump.Server.WorldServer.Database.Quests;
  8. using Stump.Server.WorldServer.Game.Actors.RolePlay.Characters;
  9. using Stump.Server.WorldServer.Game.Maps;
  10. using Stump.Server.WorldServer.Game.Actors.RolePlay;
  11. using Stump.Server.WorldServer.Database.I18n;
  12. using Stump.DofusProtocol.Enums;
  13. using Stump.DofusProtocol.D2oClasses.Tools.D2o;
  14.  
  15. namespace Stump.Server.WorldServer.Game.Quests.Objectives
  16. {
  17. public class FreeFormObjective : QuestObjective
  18. {
  19.  
  20.  
  21. public FreeFormObjective(Character character, QuestObjectiveTemplate template, bool finished) : base(character, template, finished)
  22. {
  23.  
  24. }
  25.  
  26. public FreeFormObjective(Character character, QuestObjectiveTemplate template, QuestObjectiveStatus finished) : base(character, template, finished)
  27. {
  28.  
  29. }
  30.  
  31.  
  32. public override bool CanSee()
  33. {
  34. return true;
  35. }
  36.  
  37. public override void DisableObjective()
  38. {
  39.  
  40. }
  41.  
  42. public override void EnableObjective()
  43. {
  44.  
  45. }
  46.  
  47.  
  48.  
  49. public override QuestObjectiveInformations GetQuestObjectiveInformations()
  50. {
  51. return new QuestObjectiveInformations((ushort)Template.Id, ObjectiveRecord.Status ? false : true, new string[0]);
  52. }
  53.  
  54. public override int Completion()
  55. {
  56. return 0;
  57. }
  58. }
  59. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement