public QuestExecutionTreeDecoratorOfEventTechnologyUnlocked() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventLocalizedNameChanged() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventGroundBattleWon() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfQuestEventEntityCreated() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventMothershipAttached() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventTutorial_FleetsSelected() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventColonizedStarSystemLevelChanged() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public bool CheckAgainstQuestInitiatorFilter(QuestBehaviour questBehavior, GameEvent e, QuestInitiatorFilter questInitiatorFilter) { Diagnostics.Assert(questBehavior.Initiator is MajorEmpire); MajorEmpire majorEmpire = e.Empire as MajorEmpire; MajorEmpire majorEmpire2 = questBehavior.Initiator as MajorEmpire; switch (questInitiatorFilter) { case QuestInitiatorFilter.AllEmpires: return(true); case QuestInitiatorFilter.Allies: { if (majorEmpire == null) { return(false); } bool bits = majorEmpire.Bits != 0; int bits2 = majorEmpire2.Bits; if (((bits ? 1 : 0) & bits2) != 0) { return(true); } break; } case QuestInitiatorFilter.Empire: if (e.Empire.Index == questBehavior.Initiator.Index) { return(true); } break; case QuestInitiatorFilter.Enemies: if (e.Empire.Index != questBehavior.Initiator.Index) { return(true); } break; case QuestInitiatorFilter.OtherEmpires: if (e.Empire.Index != questBehavior.Initiator.Index) { return(true); } break; } return(false); }
public QuestExecutionTreeDecoratorOfEventOutpostActionStarted() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventCuriosityDiscovered() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventFleetHasInterceptedAnEnemy() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventMinigameObjectiveSecured() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventOnColonizedPlanet() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventDiplomaticRelationChange() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventPopulationTransferredToSpaceport() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }
public QuestExecutionTreeDecoratorOfEventSystemGainedFromInfluence() { this.initiatorField = QuestInitiatorFilter.AllEmpires; this.progressionIncrementField = 0; this.stopAtFirstFailedConditionField = false; }