public UsersController(QuestContext context, AccountController register, User user, UserEdit userEdit) { _context = context; _register = register; _user = user; _userEdit = userEdit; }
public HomeController(ILogger <HomeController> logger, QuestContext context, AccountController login, User user) { _logger = logger; _context = context; _login = login; _user = user; }
public static void BarkIngredient(Mobile from) { if (!QuestStarted(from)) { return; } QuestContext context = m_Table[from]; from.PublicOverheadMessage(MessageType.Regular, 0x3B2, 1112821, string.Format("#{0}", (int)context.CurrentIngredient)); // I need to add some ~1_INGREDIENT~. }
public static void StartQuest(Mobile from, ClockworkMechanism mechanism) { if (QuestStarted(from)) { return; } QuestContext context = m_Table[from] = new QuestContext(from, mechanism); context.StartTimer(); }
public static void OnDoubleClickIngredient(Mobile from, SutekIngredient ingredient) { if (!QuestStarted(from)) { return; } QuestContext context = m_Table[from]; if (ingredient == context.CurrentIngredient) { from.SendLocalizedMessage(1112819); // You've successfully added this ingredient. context.OnIngredientAcquired(); } else { from.SendLocalizedMessage(1112820); // That is not the right ingredient. BarkIngredient(from); } }
public BonusesController(QuestContext context) { _context = context; }
public MentorController(QuestContext context, GroupsController group, GroupAssignment groupAssignment) { _context = context; _group = group; _groupAssignment = groupAssignment; }
public AccountController(QuestContext context) { _context = context; }
public override int GetHashCode() { int hash = 1; if (QuestType != 0) { hash ^= QuestType.GetHashCode(); } if (dailyQuest_ != null) { hash ^= DailyQuest.GetHashCode(); } if (multiPart_ != null) { hash ^= MultiPart.GetHashCode(); } if (catchPokemon_ != null) { hash ^= CatchPokemon.GetHashCode(); } if (addFriend_ != null) { hash ^= AddFriend.GetHashCode(); } if (tradePokemon_ != null) { hash ^= TradePokemon.GetHashCode(); } if (QuestId.Length != 0) { hash ^= QuestId.GetHashCode(); } if (QuestSeed != 0L) { hash ^= QuestSeed.GetHashCode(); } if (QuestContext != 0) { hash ^= QuestContext.GetHashCode(); } if (TemplateId.Length != 0) { hash ^= TemplateId.GetHashCode(); } if (Progress != 0) { hash ^= Progress.GetHashCode(); } if (goal_ != null) { hash ^= Goal.GetHashCode(); } if (Status != 0) { hash ^= Status.GetHashCode(); } hash ^= questRewards_.GetHashCode(); if (CreationTimestampMs != 0L) { hash ^= CreationTimestampMs.GetHashCode(); } if (LastUpdateTimestampMs != 0L) { hash ^= LastUpdateTimestampMs.GetHashCode(); } if (CompeletionTimestampMs != 0L) { hash ^= CompeletionTimestampMs.GetHashCode(); } if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } if (AdminGenerated != false) { hash ^= AdminGenerated.GetHashCode(); } if (StampCountOverrideEnabled != false) { hash ^= StampCountOverrideEnabled.GetHashCode(); } if (StampCountOverride != 0) { hash ^= StampCountOverride.GetHashCode(); } if (S2CellId != 0L) { hash ^= S2CellId.GetHashCode(); } if (StoryQuestTemplateVersion != 0) { hash ^= StoryQuestTemplateVersion.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public TeamManager(QuestContext context) { this.context = context; }
public QuestManager(QuestContext context) { this.context = context; }
public QuestController(QuestContext context, Quest quest, QuestAssignment questAssignment) { _context = context; _questAssignment = questAssignment; _quest = quest; }
public static void StartQuest( Mobile from, ClockworkMechanism mechanism ) { if ( QuestStarted( from ) ) return; QuestContext context = m_Table[from] = new QuestContext( from, mechanism ); context.StartTimer(); }