예제 #1
0
	public body_CS_QUEST_CLEAR_OPEN_UI( OpenUIType _uiType)
	{
		nUIType = (int)_uiType;
	
		Category = (byte)PACKET_CATEGORY._CATEGORY_CS;
		Protocol = (byte)PROTOCOL_CS.CS_QUEST_CLEAR_OPEN_UI;
	}
예제 #2
0
	public AchOpenUI( OpenUIType _type, int _mapID = 0)
	{
		type = _type;
		mapID = _mapID;
	}
예제 #3
0
	public AchOpenUI CheckHaveOpenUIType(OpenUIType _openUIType)
	{
		foreach (ArkQuest quest in dicQuests.Values)
		{
			if (quest.NowQuestProgressState == QuestProgressState.QUEST_PROGRESS_IN)
			{
				List<AchOpenUI> listOpenUI = quest.GetQuestData().Achievement.GetDatas<AchOpenUI>();

				foreach (AchOpenUI openUI in listOpenUI)
					if (openUI.type == _openUIType)
						return openUI;
			}
		}

		return null;
	}