This repository was archived by the owner on Apr 9, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +45
-0
lines changed
Expand file tree Collapse file tree 2 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -142,6 +142,20 @@ class Cosmetic
142142 */
143143 public $ added ;
144144
145+ /**
146+ * Undocumented variable
147+ *
148+ * @var null|string
149+ */
150+ public $ displayRarity ;
151+
152+ /**
153+ * Undocumented variable
154+ *
155+ * @var null|string
156+ */
157+ public $ setText ;
158+
145159 public static function createObject ($ body )
146160 {
147161 return self ::getActivator ()->createObjectFromBody ($ body );
@@ -182,6 +196,8 @@ private static function initializeObject(&$obj, &$body)
182196 $ obj ->path = $ body ["path " ];
183197 $ obj ->lastUpdate = $ body ["lastUpdate " ];
184198 $ obj ->added = $ body ["added " ];
199+ $ obj ->displayRarity = $ body ["displayRarity " ];
200+ $ obj ->setText = $ body ["setText " ];
185201
186202 $ obj ->images = [];
187203 foreach ($ body ["images " ] as $ key => $ value ) {
Original file line number Diff line number Diff line change @@ -49,6 +49,31 @@ class ShopEntry
4949 */
5050 public $ items ;
5151
52+ /**
53+ * Undocumented variable
54+ *
55+ * @var int
56+ */
57+ public $ sortPriority ;
58+ /**
59+ * Undocumented variable
60+ *
61+ * @var bool
62+ */
63+ public $ isBundle ;
64+ /**
65+ * Undocumented variable
66+ *
67+ * @var bool
68+ */
69+ public $ refundable ;
70+ /**
71+ * Undocumented variable
72+ *
73+ * @var bool
74+ */
75+ public $ giftable ;
76+
5277 public static function createObject ($ body )
5378 {
5479 return self ::getActivator ()->createObjectFromBody ($ body );
@@ -74,6 +99,10 @@ private static function initializeObject(&$obj, &$body)
7499 $ obj ->panel = $ body ["panel " ];
75100 $ obj ->banner = $ body ["banner " ];
76101 $ obj ->items = Cosmetic::createObjectArray ($ body ["items " ]);
102+ $ obj ->sortPriority = $ body ["sortPriority " ];
103+ $ obj ->isBundle = $ body ["isBundle " ];
104+ $ obj ->refundable = $ body ["refundable " ];
105+ $ obj ->giftable = $ body ["giftable " ];
77106
78107 return true ;
79108 } catch (Exception $ ex ) {
You can’t perform that action at this time.
0 commit comments