// Copyright (c) Pixel Crushers. All rights reserved. namespace PixelCrushers.DialogueSystem { /// /// Quest state is a bit-flag enum that indicates the state of a quest. /// This enum is used by the QuestLog class. /// [System.Flags] public enum QuestState { /// /// Quest is unassigned /// Unassigned = 0x1, /// /// Quest is active (assigned but not completed yet) /// Active = 0x2, /// /// Quest was completed successfully; corresponds to "success" or "done" /// Success = 0x4, /// /// Quest was completed in failure /// Failure = 0x8, /// /// Quest was abandoned /// Abandoned = 0x10, /// /// Quest is available to be granted to the player. The Dialogue System does /// not use this state, but it's included for those who want to use it on their own /// Grantable = 0x20, /// /// Quest is waiting for player to return to NPC. The Dialogue System does /// not use this state, but it's included for those who want to use it on their own /// ReturnToNPC = 0x40 } }