From b7ed2a803dd8bae4d70c660a5328310958f1a74f Mon Sep 17 00:00:00 2001 From: Kezz Date: Fri, 6 Dec 2024 17:01:54 +0000 Subject: [PATCH] Add information about trophies and donations --- schema.graphqls | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/schema.graphqls b/schema.graphqls index 15cb8cd..9d1b1a3 100644 --- a/schema.graphqls +++ b/schema.graphqls @@ -142,7 +142,7 @@ type Social { type Collections { "The player's earned currency." currency: Currency! - + "Returns the ownership state of all cosmetics, optionally in a category and/or collection." cosmetics( category: CosmeticCategory = null, @@ -161,6 +161,9 @@ type CosmeticOwnershipState { "The Chroma Packs that have applied to this cosmetic, if it is colorable." chromaPacks: [String!] + + "The number of Royal Reputation donations that have been made of this cosmetic, if it can be donated." + donationsMade: Int } "A player's earned currency." @@ -417,6 +420,19 @@ type Cosmetic { "If this cosmetic can be colored using Chroma Packs." colorable: Boolean! + + "The number of trophies this cosmetic awards." + trophies: Int! + + """ + If this cosmetic awards bonus trophies. + + This will be `null` if the cosmetic does not award any trophies. + """ + isBonusTrophies: Boolean + + "If this cosmetic can be donated for Royal Reputation." + canBeDonated: Boolean! } "Available queries."