gs2 1.3.125 → 1.3.126
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/watch/model/AccountMetrics.d.ts +14 -0
- package/watch/model/AccountMetrics.js +56 -0
- package/watch/model/AccountMetrics.js.map +1 -0
- package/watch/model/AccountMetrics.ts +56 -0
- package/watch/model/AccountNamespace.d.ts +18 -0
- package/watch/model/AccountNamespace.js +70 -0
- package/watch/model/AccountNamespace.js.map +1 -0
- package/watch/model/AccountNamespace.ts +69 -0
- package/watch/model/AccountTakeOver.d.ts +17 -0
- package/watch/model/AccountTakeOver.js +62 -0
- package/watch/model/AccountTakeOver.js.map +1 -0
- package/watch/model/AccountTakeOver.ts +60 -0
- package/watch/model/ExchangeMetrics.d.ts +14 -0
- package/watch/model/ExchangeMetrics.js +56 -0
- package/watch/model/ExchangeMetrics.js.map +1 -0
- package/watch/model/ExchangeMetrics.ts +56 -0
- package/watch/model/ExchangeNamespace.d.ts +18 -0
- package/watch/model/ExchangeNamespace.js +70 -0
- package/watch/model/ExchangeNamespace.js.map +1 -0
- package/watch/model/ExchangeNamespace.ts +69 -0
- package/watch/model/ExchangeRate.d.ts +17 -0
- package/watch/model/ExchangeRate.js +62 -0
- package/watch/model/ExchangeRate.js.map +1 -0
- package/watch/model/ExchangeRate.ts +60 -0
- package/watch/model/ExperienceExperience.d.ts +18 -0
- package/watch/model/ExperienceExperience.js +70 -0
- package/watch/model/ExperienceExperience.js.map +1 -0
- package/watch/model/ExperienceExperience.ts +69 -0
- package/watch/model/ExperienceMetrics.d.ts +14 -0
- package/watch/model/ExperienceMetrics.js +56 -0
- package/watch/model/ExperienceMetrics.js.map +1 -0
- package/watch/model/ExperienceMetrics.ts +57 -0
- package/watch/model/ExperienceNamespace.d.ts +18 -0
- package/watch/model/ExperienceNamespace.js +70 -0
- package/watch/model/ExperienceNamespace.js.map +1 -0
- package/watch/model/ExperienceNamespace.ts +70 -0
- package/watch/model/ExperienceRankDistribution.d.ts +17 -0
- package/watch/model/ExperienceRankDistribution.js +62 -0
- package/watch/model/ExperienceRankDistribution.js.map +1 -0
- package/watch/model/ExperienceRankDistribution.ts +60 -0
- package/watch/model/FirstWeekLoginDays.d.ts +29 -0
- package/watch/model/FirstWeekLoginDays.js +104 -0
- package/watch/model/FirstWeekLoginDays.js.map +1 -0
- package/watch/model/FirstWeekLoginDays.ts +102 -0
- package/watch/model/GeneralMetrics.d.ts +42 -0
- package/watch/model/GeneralMetrics.js +139 -0
- package/watch/model/GeneralMetrics.js.map +1 -0
- package/watch/model/GeneralMetrics.ts +137 -0
- package/watch/model/InboxMetrics.d.ts +14 -0
- package/watch/model/InboxMetrics.js +56 -0
- package/watch/model/InboxMetrics.js.map +1 -0
- package/watch/model/InboxMetrics.ts +58 -0
- package/watch/model/InboxNamespace.d.ts +18 -0
- package/watch/model/InboxNamespace.js +65 -0
- package/watch/model/InboxNamespace.js.map +1 -0
- package/watch/model/InboxNamespace.ts +63 -0
- package/watch/model/InboxStatisticOpenMinutes.d.ts +29 -0
- package/watch/model/InboxStatisticOpenMinutes.js +104 -0
- package/watch/model/InboxStatisticOpenMinutes.js.map +1 -0
- package/watch/model/InboxStatisticOpenMinutes.ts +102 -0
- package/watch/model/InboxStatisticSummary.d.ts +21 -0
- package/watch/model/InboxStatisticSummary.js +76 -0
- package/watch/model/InboxStatisticSummary.js.map +1 -0
- package/watch/model/InboxStatisticSummary.ts +74 -0
- package/watch/model/InboxStatistics.d.ts +19 -0
- package/watch/model/InboxStatistics.js +66 -0
- package/watch/model/InboxStatistics.js.map +1 -0
- package/watch/model/InboxStatistics.ts +62 -0
- package/watch/model/InventoryInventory.d.ts +23 -0
- package/watch/model/InventoryInventory.js +91 -0
- package/watch/model/InventoryInventory.js.map +1 -0
- package/watch/model/InventoryInventory.ts +94 -0
- package/watch/model/InventoryInventoryStatistics.d.ts +17 -0
- package/watch/model/InventoryInventoryStatistics.js +62 -0
- package/watch/model/InventoryInventoryStatistics.js.map +1 -0
- package/watch/model/InventoryInventoryStatistics.ts +60 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.d.ts +21 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.js +76 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.js.map +1 -0
- package/watch/model/InventoryInventoryStatisticsDistribution.ts +74 -0
- package/watch/model/InventoryItem.d.ts +23 -0
- package/watch/model/InventoryItem.js +86 -0
- package/watch/model/InventoryItem.js.map +1 -0
- package/watch/model/InventoryItem.ts +84 -0
- package/watch/model/InventoryItemDistribution.d.ts +21 -0
- package/watch/model/InventoryItemDistribution.js +76 -0
- package/watch/model/InventoryItemDistribution.js.map +1 -0
- package/watch/model/InventoryItemDistribution.ts +74 -0
- package/watch/model/InventoryItemStatistics.d.ts +21 -0
- package/watch/model/InventoryItemStatistics.js +76 -0
- package/watch/model/InventoryItemStatistics.js.map +1 -0
- package/watch/model/InventoryItemStatistics.ts +74 -0
- package/watch/model/InventoryMetrics.d.ts +14 -0
- package/watch/model/InventoryMetrics.js +56 -0
- package/watch/model/InventoryMetrics.js.map +1 -0
- package/watch/model/InventoryMetrics.ts +60 -0
- package/watch/model/InventoryNamespace.d.ts +18 -0
- package/watch/model/InventoryNamespace.js +70 -0
- package/watch/model/InventoryNamespace.js.map +1 -0
- package/watch/model/InventoryNamespace.ts +73 -0
- package/watch/model/LimitCounter.d.ts +18 -0
- package/watch/model/LimitCounter.js +70 -0
- package/watch/model/LimitCounter.js.map +1 -0
- package/watch/model/LimitCounter.ts +70 -0
- package/watch/model/LimitCounterDistribution.d.ts +18 -0
- package/watch/model/LimitCounterDistribution.js +70 -0
- package/watch/model/LimitCounterDistribution.js.map +1 -0
- package/watch/model/LimitCounterDistribution.ts +69 -0
- package/watch/model/LimitCounterDistributionUsage.d.ts +21 -0
- package/watch/model/LimitCounterDistributionUsage.js +76 -0
- package/watch/model/LimitCounterDistributionUsage.js.map +1 -0
- package/watch/model/LimitCounterDistributionUsage.ts +74 -0
- package/watch/model/LimitLimit.d.ts +18 -0
- package/watch/model/LimitLimit.js +70 -0
- package/watch/model/LimitLimit.js.map +1 -0
- package/watch/model/LimitLimit.ts +71 -0
- package/watch/model/LimitMetrics.d.ts +14 -0
- package/watch/model/LimitMetrics.js +56 -0
- package/watch/model/LimitMetrics.js.map +1 -0
- package/watch/model/LimitMetrics.ts +59 -0
- package/watch/model/LimitNamespace.d.ts +18 -0
- package/watch/model/LimitNamespace.js +70 -0
- package/watch/model/LimitNamespace.js.map +1 -0
- package/watch/model/LimitNamespace.ts +72 -0
- package/watch/model/MatchmakingDurationSeconds.d.ts +29 -0
- package/watch/model/MatchmakingDurationSeconds.js +104 -0
- package/watch/model/MatchmakingDurationSeconds.js.map +1 -0
- package/watch/model/MatchmakingDurationSeconds.ts +102 -0
- package/watch/model/MatchmakingMetrics.d.ts +14 -0
- package/watch/model/MatchmakingMetrics.js +56 -0
- package/watch/model/MatchmakingMetrics.js.map +1 -0
- package/watch/model/MatchmakingMetrics.ts +58 -0
- package/watch/model/MatchmakingNamespace.d.ts +23 -0
- package/watch/model/MatchmakingNamespace.js +86 -0
- package/watch/model/MatchmakingNamespace.js.map +1 -0
- package/watch/model/MatchmakingNamespace.ts +85 -0
- package/watch/model/MatchmakingRole.d.ts +30 -0
- package/watch/model/MatchmakingRole.js +107 -0
- package/watch/model/MatchmakingRole.js.map +1 -0
- package/watch/model/MatchmakingRole.ts +103 -0
- package/watch/model/MatchmakingStatistics.d.ts +26 -0
- package/watch/model/MatchmakingStatistics.js +93 -0
- package/watch/model/MatchmakingStatistics.js.map +1 -0
- package/watch/model/MatchmakingStatistics.ts +89 -0
- package/watch/model/MoneyBalanceDistribution.d.ts +21 -0
- package/watch/model/MoneyBalanceDistribution.js +76 -0
- package/watch/model/MoneyBalanceDistribution.js.map +1 -0
- package/watch/model/MoneyBalanceDistribution.ts +74 -0
- package/watch/model/MoneyBillingDistribution.d.ts +21 -0
- package/watch/model/MoneyBillingDistribution.js +76 -0
- package/watch/model/MoneyBillingDistribution.js.map +1 -0
- package/watch/model/MoneyBillingDistribution.ts +74 -0
- package/watch/model/MoneyMetrics.d.ts +14 -0
- package/watch/model/MoneyMetrics.js +56 -0
- package/watch/model/MoneyMetrics.js.map +1 -0
- package/watch/model/MoneyMetrics.ts +58 -0
- package/watch/model/MoneyNamespace.d.ts +28 -0
- package/watch/model/MoneyNamespace.js +107 -0
- package/watch/model/MoneyNamespace.js.map +1 -0
- package/watch/model/MoneyNamespace.ts +107 -0
- package/watch/model/MoneyStatistics.d.ts +21 -0
- package/watch/model/MoneyStatistics.js +76 -0
- package/watch/model/MoneyStatistics.js.map +1 -0
- package/watch/model/MoneyStatistics.ts +74 -0
- package/watch/model/MonthlyActiveUsers.d.ts +17 -0
- package/watch/model/MonthlyActiveUsers.js +62 -0
- package/watch/model/MonthlyActiveUsers.js.map +1 -0
- package/watch/model/MonthlyActiveUsers.ts +60 -0
- package/watch/model/QuestMetrics.d.ts +14 -0
- package/watch/model/QuestMetrics.js +56 -0
- package/watch/model/QuestMetrics.js.map +1 -0
- package/watch/model/QuestMetrics.ts +59 -0
- package/watch/model/QuestNamespace.d.ts +18 -0
- package/watch/model/QuestNamespace.js +70 -0
- package/watch/model/QuestNamespace.js.map +1 -0
- package/watch/model/QuestNamespace.ts +72 -0
- package/watch/model/QuestQuest.d.ts +18 -0
- package/watch/model/QuestQuest.js +65 -0
- package/watch/model/QuestQuest.js.map +1 -0
- package/watch/model/QuestQuest.ts +62 -0
- package/watch/model/QuestQuestDurationSeconds.d.ts +29 -0
- package/watch/model/QuestQuestDurationSeconds.js +104 -0
- package/watch/model/QuestQuestDurationSeconds.js.map +1 -0
- package/watch/model/QuestQuestDurationSeconds.ts +102 -0
- package/watch/model/QuestQuestGroup.d.ts +18 -0
- package/watch/model/QuestQuestGroup.js +70 -0
- package/watch/model/QuestQuestGroup.js.map +1 -0
- package/watch/model/QuestQuestGroup.ts +71 -0
- package/watch/model/QuestQuestReward.d.ts +26 -0
- package/watch/model/QuestQuestReward.js +93 -0
- package/watch/model/QuestQuestReward.js.map +1 -0
- package/watch/model/QuestQuestReward.ts +89 -0
- package/watch/model/QuestQuestRewardStatistics.d.ts +29 -0
- package/watch/model/QuestQuestRewardStatistics.js +104 -0
- package/watch/model/QuestQuestRewardStatistics.js.map +1 -0
- package/watch/model/QuestQuestRewardStatistics.ts +102 -0
- package/watch/model/QuestQuestStatistics.d.ts +22 -0
- package/watch/model/QuestQuestStatistics.js +79 -0
- package/watch/model/QuestQuestStatistics.js.map +1 -0
- package/watch/model/QuestQuestStatistics.ts +75 -0
- package/watch/model/RankingCategory.d.ts +18 -0
- package/watch/model/RankingCategory.js +70 -0
- package/watch/model/RankingCategory.js.map +1 -0
- package/watch/model/RankingCategory.ts +69 -0
- package/watch/model/RankingCategoryScoreDistribution.d.ts +21 -0
- package/watch/model/RankingCategoryScoreDistribution.js +76 -0
- package/watch/model/RankingCategoryScoreDistribution.js.map +1 -0
- package/watch/model/RankingCategoryScoreDistribution.ts +74 -0
- package/watch/model/RankingMetrics.d.ts +14 -0
- package/watch/model/RankingMetrics.js +56 -0
- package/watch/model/RankingMetrics.js.map +1 -0
- package/watch/model/RankingMetrics.ts +57 -0
- package/watch/model/RankingNamespace.d.ts +18 -0
- package/watch/model/RankingNamespace.js +70 -0
- package/watch/model/RankingNamespace.js.map +1 -0
- package/watch/model/RankingNamespace.ts +70 -0
- package/watch/model/ReturningUserRatio.d.ts +21 -0
- package/watch/model/ReturningUserRatio.js +76 -0
- package/watch/model/ReturningUserRatio.js.map +1 -0
- package/watch/model/ReturningUserRatio.ts +74 -0
- package/watch/model/SessionDuration.d.ts +19 -0
- package/watch/model/SessionDuration.js +72 -0
- package/watch/model/SessionDuration.js.map +1 -0
- package/watch/model/SessionDuration.ts +70 -0
- package/watch/model/SessionDurationDistribution.d.ts +21 -0
- package/watch/model/SessionDurationDistribution.js +76 -0
- package/watch/model/SessionDurationDistribution.js.map +1 -0
- package/watch/model/SessionDurationDistribution.ts +74 -0
- package/watch/model/SessionDurationStatistics.d.ts +29 -0
- package/watch/model/SessionDurationStatistics.js +104 -0
- package/watch/model/SessionDurationStatistics.js.map +1 -0
- package/watch/model/SessionDurationStatistics.ts +102 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.d.ts +21 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.js +76 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.js.map +1 -0
- package/watch/model/ShowcaseBuyQuantityDistribution.ts +74 -0
- package/watch/model/ShowcaseDisplayItem.d.ts +18 -0
- package/watch/model/ShowcaseDisplayItem.js +70 -0
- package/watch/model/ShowcaseDisplayItem.js.map +1 -0
- package/watch/model/ShowcaseDisplayItem.ts +69 -0
- package/watch/model/ShowcaseMetrics.d.ts +14 -0
- package/watch/model/ShowcaseMetrics.js +56 -0
- package/watch/model/ShowcaseMetrics.js.map +1 -0
- package/watch/model/ShowcaseMetrics.ts +58 -0
- package/watch/model/ShowcaseNamespace.d.ts +18 -0
- package/watch/model/ShowcaseNamespace.js +70 -0
- package/watch/model/ShowcaseNamespace.js.map +1 -0
- package/watch/model/ShowcaseNamespace.ts +71 -0
- package/watch/model/ShowcaseShowcase.d.ts +18 -0
- package/watch/model/ShowcaseShowcase.js +70 -0
- package/watch/model/ShowcaseShowcase.js.map +1 -0
- package/watch/model/ShowcaseShowcase.ts +70 -0
- package/watch/model/WeeklyActiveUsers.d.ts +21 -0
- package/watch/model/WeeklyActiveUsers.js +76 -0
- package/watch/model/WeeklyActiveUsers.js.map +1 -0
- package/watch/model/WeeklyActiveUsers.ts +74 -0
- package/watch/model/index.d.ts +65 -1
- package/watch/model/index.js +130 -1
- package/watch/model/index.js.map +1 -1
- package/watch/model/index.ts +128 -0
- package/watch/request/GetAccountMetricsRequest.d.ts +17 -0
- package/watch/request/GetAccountMetricsRequest.js +54 -0
- package/watch/request/GetAccountMetricsRequest.js.map +1 -0
- package/watch/request/GetAccountMetricsRequest.ts +62 -0
- package/watch/request/GetExchangeMetricsRequest.d.ts +17 -0
- package/watch/request/GetExchangeMetricsRequest.js +54 -0
- package/watch/request/GetExchangeMetricsRequest.js.map +1 -0
- package/watch/request/GetExchangeMetricsRequest.ts +62 -0
- package/watch/request/GetExperienceMetricsRequest.d.ts +17 -0
- package/watch/request/GetExperienceMetricsRequest.js +54 -0
- package/watch/request/GetExperienceMetricsRequest.js.map +1 -0
- package/watch/request/GetExperienceMetricsRequest.ts +62 -0
- package/watch/request/GetGeneralMetricsRequest.d.ts +17 -0
- package/watch/request/GetGeneralMetricsRequest.js +54 -0
- package/watch/request/GetGeneralMetricsRequest.js.map +1 -0
- package/watch/request/GetGeneralMetricsRequest.ts +62 -0
- package/watch/request/GetInboxMetricsRequest.d.ts +17 -0
- package/watch/request/GetInboxMetricsRequest.js +54 -0
- package/watch/request/GetInboxMetricsRequest.js.map +1 -0
- package/watch/request/GetInboxMetricsRequest.ts +62 -0
- package/watch/request/GetInventoryMetricsRequest.d.ts +17 -0
- package/watch/request/GetInventoryMetricsRequest.js +54 -0
- package/watch/request/GetInventoryMetricsRequest.js.map +1 -0
- package/watch/request/GetInventoryMetricsRequest.ts +62 -0
- package/watch/request/GetLimitMetricsRequest.d.ts +17 -0
- package/watch/request/GetLimitMetricsRequest.js +54 -0
- package/watch/request/GetLimitMetricsRequest.js.map +1 -0
- package/watch/request/GetLimitMetricsRequest.ts +62 -0
- package/watch/request/GetMatchmakingMetricsRequest.d.ts +17 -0
- package/watch/request/GetMatchmakingMetricsRequest.js +54 -0
- package/watch/request/GetMatchmakingMetricsRequest.js.map +1 -0
- package/watch/request/GetMatchmakingMetricsRequest.ts +62 -0
- package/watch/request/GetMoneyMetricsRequest.d.ts +17 -0
- package/watch/request/GetMoneyMetricsRequest.js +54 -0
- package/watch/request/GetMoneyMetricsRequest.js.map +1 -0
- package/watch/request/GetMoneyMetricsRequest.ts +62 -0
- package/watch/request/GetQuestMetricsRequest.d.ts +17 -0
- package/watch/request/GetQuestMetricsRequest.js +54 -0
- package/watch/request/GetQuestMetricsRequest.js.map +1 -0
- package/watch/request/GetQuestMetricsRequest.ts +62 -0
- package/watch/request/GetRankingMetricsRequest.d.ts +17 -0
- package/watch/request/GetRankingMetricsRequest.js +54 -0
- package/watch/request/GetRankingMetricsRequest.js.map +1 -0
- package/watch/request/GetRankingMetricsRequest.ts +62 -0
- package/watch/request/GetShowcaseMetricsRequest.d.ts +17 -0
- package/watch/request/GetShowcaseMetricsRequest.js +54 -0
- package/watch/request/GetShowcaseMetricsRequest.js.map +1 -0
- package/watch/request/GetShowcaseMetricsRequest.ts +62 -0
- package/watch/request/index.d.ts +13 -1
- package/watch/request/index.js +25 -1
- package/watch/request/index.js.map +1 -1
- package/watch/request/index.ts +24 -0
- package/watch/rest.d.ts +12 -0
- package/watch/rest.js +252 -0
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +300 -0
- package/watch/result/GetAccountMetricsResult.d.ts +14 -0
- package/watch/result/GetAccountMetricsResult.js +48 -0
- package/watch/result/GetAccountMetricsResult.js.map +1 -0
- package/watch/result/GetAccountMetricsResult.ts +48 -0
- package/watch/result/GetExchangeMetricsResult.d.ts +14 -0
- package/watch/result/GetExchangeMetricsResult.js +48 -0
- package/watch/result/GetExchangeMetricsResult.js.map +1 -0
- package/watch/result/GetExchangeMetricsResult.ts +48 -0
- package/watch/result/GetExperienceMetricsResult.d.ts +14 -0
- package/watch/result/GetExperienceMetricsResult.js +48 -0
- package/watch/result/GetExperienceMetricsResult.js.map +1 -0
- package/watch/result/GetExperienceMetricsResult.ts +48 -0
- package/watch/result/GetGeneralMetricsResult.d.ts +14 -0
- package/watch/result/GetGeneralMetricsResult.js +48 -0
- package/watch/result/GetGeneralMetricsResult.js.map +1 -0
- package/watch/result/GetGeneralMetricsResult.ts +48 -0
- package/watch/result/GetInboxMetricsResult.d.ts +14 -0
- package/watch/result/GetInboxMetricsResult.js +48 -0
- package/watch/result/GetInboxMetricsResult.js.map +1 -0
- package/watch/result/GetInboxMetricsResult.ts +48 -0
- package/watch/result/GetInventoryMetricsResult.d.ts +14 -0
- package/watch/result/GetInventoryMetricsResult.js +48 -0
- package/watch/result/GetInventoryMetricsResult.js.map +1 -0
- package/watch/result/GetInventoryMetricsResult.ts +48 -0
- package/watch/result/GetLimitMetricsResult.d.ts +14 -0
- package/watch/result/GetLimitMetricsResult.js +48 -0
- package/watch/result/GetLimitMetricsResult.js.map +1 -0
- package/watch/result/GetLimitMetricsResult.ts +48 -0
- package/watch/result/GetMatchmakingMetricsResult.d.ts +14 -0
- package/watch/result/GetMatchmakingMetricsResult.js +48 -0
- package/watch/result/GetMatchmakingMetricsResult.js.map +1 -0
- package/watch/result/GetMatchmakingMetricsResult.ts +48 -0
- package/watch/result/GetMoneyMetricsResult.d.ts +14 -0
- package/watch/result/GetMoneyMetricsResult.js +48 -0
- package/watch/result/GetMoneyMetricsResult.js.map +1 -0
- package/watch/result/GetMoneyMetricsResult.ts +48 -0
- package/watch/result/GetQuestMetricsResult.d.ts +14 -0
- package/watch/result/GetQuestMetricsResult.js +48 -0
- package/watch/result/GetQuestMetricsResult.js.map +1 -0
- package/watch/result/GetQuestMetricsResult.ts +48 -0
- package/watch/result/GetRankingMetricsResult.d.ts +14 -0
- package/watch/result/GetRankingMetricsResult.js +48 -0
- package/watch/result/GetRankingMetricsResult.js.map +1 -0
- package/watch/result/GetRankingMetricsResult.ts +48 -0
- package/watch/result/GetShowcaseMetricsResult.d.ts +14 -0
- package/watch/result/GetShowcaseMetricsResult.js +48 -0
- package/watch/result/GetShowcaseMetricsResult.js.map +1 -0
- package/watch/result/GetShowcaseMetricsResult.ts +48 -0
- package/watch/result/index.d.ts +13 -1
- package/watch/result/index.js +25 -1
- package/watch/result/index.js.map +1 -1
- package/watch/result/index.ts +24 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import QuestQuestRewardStatistics from './QuestQuestRewardStatistics';
|
|
19
|
+
|
|
20
|
+
export default class QuestQuestReward implements IModel {
|
|
21
|
+
private action: string|null = null;
|
|
22
|
+
private request: string|null = null;
|
|
23
|
+
private count: number|null = null;
|
|
24
|
+
private statistics: QuestQuestRewardStatistics|null = null;
|
|
25
|
+
public getAction(): string|null {
|
|
26
|
+
return this.action;
|
|
27
|
+
}
|
|
28
|
+
public setAction(action: string|null) {
|
|
29
|
+
this.action = action;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withAction(action: string|null): this {
|
|
33
|
+
this.action = action;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public getRequest(): string|null {
|
|
37
|
+
return this.request;
|
|
38
|
+
}
|
|
39
|
+
public setRequest(request: string|null) {
|
|
40
|
+
this.request = request;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withRequest(request: string|null): this {
|
|
44
|
+
this.request = request;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
public getCount(): number|null {
|
|
48
|
+
return this.count;
|
|
49
|
+
}
|
|
50
|
+
public setCount(count: number|null) {
|
|
51
|
+
this.count = count;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withCount(count: number|null): this {
|
|
55
|
+
this.count = count;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getStatistics(): QuestQuestRewardStatistics|null {
|
|
59
|
+
return this.statistics;
|
|
60
|
+
}
|
|
61
|
+
public setStatistics(statistics: QuestQuestRewardStatistics|null) {
|
|
62
|
+
this.statistics = statistics;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withStatistics(statistics: QuestQuestRewardStatistics|null): this {
|
|
66
|
+
this.statistics = statistics;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public static fromDict(data: {[key: string]: any}): QuestQuestReward|null {
|
|
71
|
+
if (data == undefined || data == null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return new QuestQuestReward()
|
|
75
|
+
.withAction(data["action"])
|
|
76
|
+
.withRequest(data["request"])
|
|
77
|
+
.withCount(data["count"])
|
|
78
|
+
.withStatistics(QuestQuestRewardStatistics.fromDict(data["statistics"]));
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public toDict(): {[key: string]: any} {
|
|
82
|
+
return {
|
|
83
|
+
"action": this.getAction(),
|
|
84
|
+
"request": this.getRequest(),
|
|
85
|
+
"count": this.getCount(),
|
|
86
|
+
"statistics": this.getStatistics()?.toDict(),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class QuestQuestRewardStatistics implements IModel {
|
|
3
|
+
private min;
|
|
4
|
+
private max;
|
|
5
|
+
private avg;
|
|
6
|
+
private median;
|
|
7
|
+
private stddev;
|
|
8
|
+
getMin(): number | null;
|
|
9
|
+
setMin(min: number | null): this;
|
|
10
|
+
withMin(min: number | null): this;
|
|
11
|
+
getMax(): number | null;
|
|
12
|
+
setMax(max: number | null): this;
|
|
13
|
+
withMax(max: number | null): this;
|
|
14
|
+
getAvg(): number | null;
|
|
15
|
+
setAvg(avg: number | null): this;
|
|
16
|
+
withAvg(avg: number | null): this;
|
|
17
|
+
getMedian(): number | null;
|
|
18
|
+
setMedian(median: number | null): this;
|
|
19
|
+
withMedian(median: number | null): this;
|
|
20
|
+
getStddev(): number | null;
|
|
21
|
+
setStddev(stddev: number | null): this;
|
|
22
|
+
withStddev(stddev: number | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): QuestQuestRewardStatistics | null;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var QuestQuestRewardStatistics = /** @class */ (function () {
|
|
19
|
+
function QuestQuestRewardStatistics() {
|
|
20
|
+
this.min = null;
|
|
21
|
+
this.max = null;
|
|
22
|
+
this.avg = null;
|
|
23
|
+
this.median = null;
|
|
24
|
+
this.stddev = null;
|
|
25
|
+
}
|
|
26
|
+
QuestQuestRewardStatistics.prototype.getMin = function () {
|
|
27
|
+
return this.min;
|
|
28
|
+
};
|
|
29
|
+
QuestQuestRewardStatistics.prototype.setMin = function (min) {
|
|
30
|
+
this.min = min;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
QuestQuestRewardStatistics.prototype.withMin = function (min) {
|
|
34
|
+
this.min = min;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
QuestQuestRewardStatistics.prototype.getMax = function () {
|
|
38
|
+
return this.max;
|
|
39
|
+
};
|
|
40
|
+
QuestQuestRewardStatistics.prototype.setMax = function (max) {
|
|
41
|
+
this.max = max;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
QuestQuestRewardStatistics.prototype.withMax = function (max) {
|
|
45
|
+
this.max = max;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
QuestQuestRewardStatistics.prototype.getAvg = function () {
|
|
49
|
+
return this.avg;
|
|
50
|
+
};
|
|
51
|
+
QuestQuestRewardStatistics.prototype.setAvg = function (avg) {
|
|
52
|
+
this.avg = avg;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
QuestQuestRewardStatistics.prototype.withAvg = function (avg) {
|
|
56
|
+
this.avg = avg;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
QuestQuestRewardStatistics.prototype.getMedian = function () {
|
|
60
|
+
return this.median;
|
|
61
|
+
};
|
|
62
|
+
QuestQuestRewardStatistics.prototype.setMedian = function (median) {
|
|
63
|
+
this.median = median;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
QuestQuestRewardStatistics.prototype.withMedian = function (median) {
|
|
67
|
+
this.median = median;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
QuestQuestRewardStatistics.prototype.getStddev = function () {
|
|
71
|
+
return this.stddev;
|
|
72
|
+
};
|
|
73
|
+
QuestQuestRewardStatistics.prototype.setStddev = function (stddev) {
|
|
74
|
+
this.stddev = stddev;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
QuestQuestRewardStatistics.prototype.withStddev = function (stddev) {
|
|
78
|
+
this.stddev = stddev;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
QuestQuestRewardStatistics.fromDict = function (data) {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new QuestQuestRewardStatistics()
|
|
86
|
+
.withMin(data["min"])
|
|
87
|
+
.withMax(data["max"])
|
|
88
|
+
.withAvg(data["avg"])
|
|
89
|
+
.withMedian(data["median"])
|
|
90
|
+
.withStddev(data["stddev"]);
|
|
91
|
+
};
|
|
92
|
+
QuestQuestRewardStatistics.prototype.toDict = function () {
|
|
93
|
+
return {
|
|
94
|
+
"min": this.getMin(),
|
|
95
|
+
"max": this.getMax(),
|
|
96
|
+
"avg": this.getAvg(),
|
|
97
|
+
"median": this.getMedian(),
|
|
98
|
+
"stddev": this.getStddev(),
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
return QuestQuestRewardStatistics;
|
|
102
|
+
}());
|
|
103
|
+
exports.default = QuestQuestRewardStatistics;
|
|
104
|
+
//# sourceMappingURL=QuestQuestRewardStatistics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestQuestRewardStatistics.js","sourceRoot":"","sources":["QuestQuestRewardStatistics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAAgB,IAAI,CAAC;QACxB,QAAG,GAAgB,IAAI,CAAC;QACxB,WAAM,GAAgB,IAAI,CAAC;QAC3B,WAAM,GAAgB,IAAI,CAAC;IA8EvC,CAAC;IA7EU,2CAAM,GAAb;QACI,OAAO,IAAI,CAAC,GAAG,CAAC;IACpB,CAAC;IACM,2CAAM,GAAb,UAAc,GAAgB;QAC1B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4CAAO,GAAd,UAAe,GAAgB;QAC3B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAM,GA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ACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,0BAA0B,EAAE;aAClC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;aACpB,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE;YACpB,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AAnFD,IAmFC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
export default class QuestQuestRewardStatistics implements IModel {
|
|
20
|
+
private min: number|null = null;
|
|
21
|
+
private max: number|null = null;
|
|
22
|
+
private avg: number|null = null;
|
|
23
|
+
private median: number|null = null;
|
|
24
|
+
private stddev: number|null = null;
|
|
25
|
+
public getMin(): number|null {
|
|
26
|
+
return this.min;
|
|
27
|
+
}
|
|
28
|
+
public setMin(min: number|null) {
|
|
29
|
+
this.min = min;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
public withMin(min: number|null): this {
|
|
33
|
+
this.min = min;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
public getMax(): number|null {
|
|
37
|
+
return this.max;
|
|
38
|
+
}
|
|
39
|
+
public setMax(max: number|null) {
|
|
40
|
+
this.max = max;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
public withMax(max: number|null): this {
|
|
44
|
+
this.max = max;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
public getAvg(): number|null {
|
|
48
|
+
return this.avg;
|
|
49
|
+
}
|
|
50
|
+
public setAvg(avg: number|null) {
|
|
51
|
+
this.avg = avg;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
public withAvg(avg: number|null): this {
|
|
55
|
+
this.avg = avg;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getMedian(): number|null {
|
|
59
|
+
return this.median;
|
|
60
|
+
}
|
|
61
|
+
public setMedian(median: number|null) {
|
|
62
|
+
this.median = median;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withMedian(median: number|null): this {
|
|
66
|
+
this.median = median;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getStddev(): number|null {
|
|
70
|
+
return this.stddev;
|
|
71
|
+
}
|
|
72
|
+
public setStddev(stddev: number|null) {
|
|
73
|
+
this.stddev = stddev;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withStddev(stddev: number|null): this {
|
|
77
|
+
this.stddev = stddev;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public static fromDict(data: {[key: string]: any}): QuestQuestRewardStatistics|null {
|
|
82
|
+
if (data == undefined || data == null) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return new QuestQuestRewardStatistics()
|
|
86
|
+
.withMin(data["min"])
|
|
87
|
+
.withMax(data["max"])
|
|
88
|
+
.withAvg(data["avg"])
|
|
89
|
+
.withMedian(data["median"])
|
|
90
|
+
.withStddev(data["stddev"]);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public toDict(): {[key: string]: any} {
|
|
94
|
+
return {
|
|
95
|
+
"min": this.getMin(),
|
|
96
|
+
"max": this.getMax(),
|
|
97
|
+
"avg": this.getAvg(),
|
|
98
|
+
"median": this.getMedian(),
|
|
99
|
+
"stddev": this.getStddev(),
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import QuestQuestDurationSeconds from './QuestQuestDurationSeconds';
|
|
3
|
+
export default class QuestQuestStatistics implements IModel {
|
|
4
|
+
private count;
|
|
5
|
+
private clearRate;
|
|
6
|
+
private durationSeconds;
|
|
7
|
+
getCount(): number | null;
|
|
8
|
+
setCount(count: number | null): this;
|
|
9
|
+
withCount(count: number | null): this;
|
|
10
|
+
getClearRate(): number | null;
|
|
11
|
+
setClearRate(clearRate: number | null): this;
|
|
12
|
+
withClearRate(clearRate: number | null): this;
|
|
13
|
+
getDurationSeconds(): QuestQuestDurationSeconds | null;
|
|
14
|
+
setDurationSeconds(durationSeconds: QuestQuestDurationSeconds | null): this;
|
|
15
|
+
withDurationSeconds(durationSeconds: QuestQuestDurationSeconds | null): this;
|
|
16
|
+
static fromDict(data: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}): QuestQuestStatistics | null;
|
|
19
|
+
toDict(): {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var QuestQuestDurationSeconds_1 = tslib_1.__importDefault(require("./QuestQuestDurationSeconds"));
|
|
20
|
+
var QuestQuestStatistics = /** @class */ (function () {
|
|
21
|
+
function QuestQuestStatistics() {
|
|
22
|
+
this.count = null;
|
|
23
|
+
this.clearRate = null;
|
|
24
|
+
this.durationSeconds = null;
|
|
25
|
+
}
|
|
26
|
+
QuestQuestStatistics.prototype.getCount = function () {
|
|
27
|
+
return this.count;
|
|
28
|
+
};
|
|
29
|
+
QuestQuestStatistics.prototype.setCount = function (count) {
|
|
30
|
+
this.count = count;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
QuestQuestStatistics.prototype.withCount = function (count) {
|
|
34
|
+
this.count = count;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
QuestQuestStatistics.prototype.getClearRate = function () {
|
|
38
|
+
return this.clearRate;
|
|
39
|
+
};
|
|
40
|
+
QuestQuestStatistics.prototype.setClearRate = function (clearRate) {
|
|
41
|
+
this.clearRate = clearRate;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
QuestQuestStatistics.prototype.withClearRate = function (clearRate) {
|
|
45
|
+
this.clearRate = clearRate;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
QuestQuestStatistics.prototype.getDurationSeconds = function () {
|
|
49
|
+
return this.durationSeconds;
|
|
50
|
+
};
|
|
51
|
+
QuestQuestStatistics.prototype.setDurationSeconds = function (durationSeconds) {
|
|
52
|
+
this.durationSeconds = durationSeconds;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
QuestQuestStatistics.prototype.withDurationSeconds = function (durationSeconds) {
|
|
56
|
+
this.durationSeconds = durationSeconds;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
QuestQuestStatistics.fromDict = function (data) {
|
|
60
|
+
if (data == undefined || data == null) {
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
return new QuestQuestStatistics()
|
|
64
|
+
.withCount(data["count"])
|
|
65
|
+
.withClearRate(data["clearRate"])
|
|
66
|
+
.withDurationSeconds(QuestQuestDurationSeconds_1.default.fromDict(data["durationSeconds"]));
|
|
67
|
+
};
|
|
68
|
+
QuestQuestStatistics.prototype.toDict = function () {
|
|
69
|
+
var _a;
|
|
70
|
+
return {
|
|
71
|
+
"count": this.getCount(),
|
|
72
|
+
"clearRate": this.getClearRate(),
|
|
73
|
+
"durationSeconds": (_a = this.getDurationSeconds()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
return QuestQuestStatistics;
|
|
77
|
+
}());
|
|
78
|
+
exports.default = QuestQuestStatistics;
|
|
79
|
+
//# sourceMappingURL=QuestQuestStatistics.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QuestQuestStatistics.js","sourceRoot":"","sources":["QuestQuestStatistics.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,kGAAoE;AAEpE;IAAA;QACY,UAAK,GAAgB,IAAI,CAAC;QAC1B,cAAS,GAAgB,IAA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,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;IAC1F,CAAC;IAEM,qCAAM,GAAb;;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxB,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,iBAAiB,EAAE,MAAA,IAAI,CAAC,kBAAkB,EAAE,0CAAE,MAAM,EAAE;SACzD,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AAvDD,IAuDC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import QuestQuestDurationSeconds from './QuestQuestDurationSeconds';
|
|
19
|
+
|
|
20
|
+
export default class QuestQuestStatistics implements IModel {
|
|
21
|
+
private count: number|null = null;
|
|
22
|
+
private clearRate: number|null = null;
|
|
23
|
+
private durationSeconds: QuestQuestDurationSeconds|null = null;
|
|
24
|
+
public getCount(): number|null {
|
|
25
|
+
return this.count;
|
|
26
|
+
}
|
|
27
|
+
public setCount(count: number|null) {
|
|
28
|
+
this.count = count;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
public withCount(count: number|null): this {
|
|
32
|
+
this.count = count;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public getClearRate(): number|null {
|
|
36
|
+
return this.clearRate;
|
|
37
|
+
}
|
|
38
|
+
public setClearRate(clearRate: number|null) {
|
|
39
|
+
this.clearRate = clearRate;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withClearRate(clearRate: number|null): this {
|
|
43
|
+
this.clearRate = clearRate;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public getDurationSeconds(): QuestQuestDurationSeconds|null {
|
|
47
|
+
return this.durationSeconds;
|
|
48
|
+
}
|
|
49
|
+
public setDurationSeconds(durationSeconds: QuestQuestDurationSeconds|null) {
|
|
50
|
+
this.durationSeconds = durationSeconds;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
public withDurationSeconds(durationSeconds: QuestQuestDurationSeconds|null): this {
|
|
54
|
+
this.durationSeconds = durationSeconds;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public static fromDict(data: {[key: string]: any}): QuestQuestStatistics|null {
|
|
59
|
+
if (data == undefined || data == null) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return new QuestQuestStatistics()
|
|
63
|
+
.withCount(data["count"])
|
|
64
|
+
.withClearRate(data["clearRate"])
|
|
65
|
+
.withDurationSeconds(QuestQuestDurationSeconds.fromDict(data["durationSeconds"]));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
public toDict(): {[key: string]: any} {
|
|
69
|
+
return {
|
|
70
|
+
"count": this.getCount(),
|
|
71
|
+
"clearRate": this.getClearRate(),
|
|
72
|
+
"durationSeconds": this.getDurationSeconds()?.toDict(),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import RankingCategoryScoreDistribution from './RankingCategoryScoreDistribution';
|
|
3
|
+
export default class RankingCategory implements IModel {
|
|
4
|
+
private name;
|
|
5
|
+
private scoreDistribution;
|
|
6
|
+
getName(): string | null;
|
|
7
|
+
setName(name: string | null): this;
|
|
8
|
+
withName(name: string | null): this;
|
|
9
|
+
getScoreDistribution(): RankingCategoryScoreDistribution[] | null;
|
|
10
|
+
setScoreDistribution(scoreDistribution: RankingCategoryScoreDistribution[] | null): this;
|
|
11
|
+
withScoreDistribution(scoreDistribution: RankingCategoryScoreDistribution[] | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): RankingCategory | null;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var RankingCategoryScoreDistribution_1 = tslib_1.__importDefault(require("./RankingCategoryScoreDistribution"));
|
|
20
|
+
var RankingCategory = /** @class */ (function () {
|
|
21
|
+
function RankingCategory() {
|
|
22
|
+
this.name = null;
|
|
23
|
+
this.scoreDistribution = null;
|
|
24
|
+
}
|
|
25
|
+
RankingCategory.prototype.getName = function () {
|
|
26
|
+
return this.name;
|
|
27
|
+
};
|
|
28
|
+
RankingCategory.prototype.setName = function (name) {
|
|
29
|
+
this.name = name;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
RankingCategory.prototype.withName = function (name) {
|
|
33
|
+
this.name = name;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
RankingCategory.prototype.getScoreDistribution = function () {
|
|
37
|
+
return this.scoreDistribution;
|
|
38
|
+
};
|
|
39
|
+
RankingCategory.prototype.setScoreDistribution = function (scoreDistribution) {
|
|
40
|
+
this.scoreDistribution = scoreDistribution;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
RankingCategory.prototype.withScoreDistribution = function (scoreDistribution) {
|
|
44
|
+
this.scoreDistribution = scoreDistribution;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
RankingCategory.fromDict = function (data) {
|
|
48
|
+
if (data == undefined || data == null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return new RankingCategory()
|
|
52
|
+
.withName(data["name"])
|
|
53
|
+
.withScoreDistribution(data.scoreDistribution ?
|
|
54
|
+
data.scoreDistribution.map(function (item) {
|
|
55
|
+
return RankingCategoryScoreDistribution_1.default.fromDict(item);
|
|
56
|
+
}) : []);
|
|
57
|
+
};
|
|
58
|
+
RankingCategory.prototype.toDict = function () {
|
|
59
|
+
return {
|
|
60
|
+
"name": this.getName(),
|
|
61
|
+
"scoreDistribution": this.getScoreDistribution() ?
|
|
62
|
+
this.getScoreDistribution().map(function (item) {
|
|
63
|
+
return item.toDict();
|
|
64
|
+
}) : [],
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
return RankingCategory;
|
|
68
|
+
}());
|
|
69
|
+
exports.default = RankingCategory;
|
|
70
|
+
//# sourceMappingURL=RankingCategory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RankingCategory.js","sourceRoot":"","sources":["RankingCategory.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAG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AAE,IAAI,CAAC,oBAAoB,EAAE,CAAC,CAAC;gBAC9C,IAAI,CAAC,oBAAoB,EAAG,CAAC,GAAG,CAAC,UAAC,IAAsC;oBACpE,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,EAAE;SACT,CAAC;IACN,CAAC;IACL,sBAAC;AAAD,CAAC,AAjDD,IAiDC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IModel from '../../core/interface/IModel';
|
|
18
|
+
import RankingCategoryScoreDistribution from './RankingCategoryScoreDistribution';
|
|
19
|
+
|
|
20
|
+
export default class RankingCategory implements IModel {
|
|
21
|
+
private name: string|null = null;
|
|
22
|
+
private scoreDistribution: RankingCategoryScoreDistribution[]|null = null;
|
|
23
|
+
public getName(): string|null {
|
|
24
|
+
return this.name;
|
|
25
|
+
}
|
|
26
|
+
public setName(name: string|null) {
|
|
27
|
+
this.name = name;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withName(name: string|null): this {
|
|
31
|
+
this.name = name;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public getScoreDistribution(): RankingCategoryScoreDistribution[]|null {
|
|
35
|
+
return this.scoreDistribution;
|
|
36
|
+
}
|
|
37
|
+
public setScoreDistribution(scoreDistribution: RankingCategoryScoreDistribution[]|null) {
|
|
38
|
+
this.scoreDistribution = scoreDistribution;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
public withScoreDistribution(scoreDistribution: RankingCategoryScoreDistribution[]|null): this {
|
|
42
|
+
this.scoreDistribution = scoreDistribution;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static fromDict(data: {[key: string]: any}): RankingCategory|null {
|
|
47
|
+
if (data == undefined || data == null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return new RankingCategory()
|
|
51
|
+
.withName(data["name"])
|
|
52
|
+
.withScoreDistribution(data.scoreDistribution ?
|
|
53
|
+
data.scoreDistribution.map((item: {[key: string]: any}) => {
|
|
54
|
+
return RankingCategoryScoreDistribution.fromDict(item);
|
|
55
|
+
}
|
|
56
|
+
) : []);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public toDict(): {[key: string]: any} {
|
|
60
|
+
return {
|
|
61
|
+
"name": this.getName(),
|
|
62
|
+
"scoreDistribution": this.getScoreDistribution() ?
|
|
63
|
+
this.getScoreDistribution()!.map((item: RankingCategoryScoreDistribution) => {
|
|
64
|
+
return item.toDict();
|
|
65
|
+
}
|
|
66
|
+
) : [],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
}
|