public void LoadQuests(GP_QuestSortOrder sortOrder, params GP_QuestsSelect[] selectors) { if (!GooglePlayConnection.CheckState()) { return; } string questSelectors = ""; for (int i = 0; i < selectors.Length; i++) { int v = (int)selectors[i]; questSelectors += v.ToString(); questSelectors += ","; } questSelectors = questSelectors.TrimEnd(','); AN_GMSQuestsEventsProxy.loadQuests(questSelectors, (int)sortOrder); }
//-------------------------------------- // PUBLIC METHODS //-------------------------------------- public void LoadQuests(GP_QuestSortOrder sortOrder) { LoadQuests(sortOrder, SELECT_ALL_QUESTS); }