Skip to content

Commit b7ed2a8

Browse files
authored
Add information about trophies and donations
1 parent a135778 commit b7ed2a8

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

schema.graphqls

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ type Social {
142142
type Collections {
143143
"The player's earned currency."
144144
currency: Currency!
145-
145+
146146
"Returns the ownership state of all cosmetics, optionally in a category and/or collection."
147147
cosmetics(
148148
category: CosmeticCategory = null,
@@ -161,6 +161,9 @@ type CosmeticOwnershipState {
161161

162162
"The Chroma Packs that have applied to this cosmetic, if it is colorable."
163163
chromaPacks: [String!]
164+
165+
"The number of Royal Reputation donations that have been made of this cosmetic, if it can be donated."
166+
donationsMade: Int
164167
}
165168

166169
"A player's earned currency."
@@ -417,6 +420,19 @@ type Cosmetic {
417420

418421
"If this cosmetic can be colored using Chroma Packs."
419422
colorable: Boolean!
423+
424+
"The number of trophies this cosmetic awards."
425+
trophies: Int!
426+
427+
"""
428+
If this cosmetic awards bonus trophies.
429+
430+
This will be `null` if the cosmetic does not award any trophies.
431+
"""
432+
isBonusTrophies: Boolean
433+
434+
"If this cosmetic can be donated for Royal Reputation."
435+
canBeDonated: Boolean!
420436
}
421437

422438
"Available queries."

0 commit comments

Comments
 (0)