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; }
public AchOpenUI( OpenUIType _type, int _mapID = 0) { type = _type; mapID = _mapID; }
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; }