Skip to content

Commit 0d0241a

Browse files
committed
urf 구분
1 parent 420c883 commit 0d0241a

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

src/Constant/QueueType.php

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,17 @@ class QueueType
163163
self::BILGEWATER_ARAM_5x5,
164164
];
165165

166+
public static $ARURF = [
167+
self::URF_5x5,
168+
self::BOT_URF_5x5,
169+
self::ARURF_5X5,
170+
self::ARURF,
171+
self::SR_URF_SNOW,
172+
];
173+
166174
public static $EVENT = [
167175
self::SR_6x6,
168176
self::HEXAKILL,
169-
self::URF_5x5,
170-
self::BOT_URF_5x5,
171-
self::ARURF_5X5,
172177
self::NIGHTMARE_BOT_5x5_RANK1,
173178
self::NIGHTMARE_BOT_5x5_RANK2,
174179
self::NIGHTMARE_BOT_5x5_RANK5,
@@ -186,8 +191,6 @@ class QueueType
186191
self::OVERCHARGE,
187192
self::CS_ASCENSION,
188193
self::HA_POROKING,
189-
self::ARURF,
190-
self::SR_URF_SNOW,
191194
self::ONEFORALL_5x5_NEW,
192195
self::CLASH_GAMES,
193196
self::NEXUS_BLITZ,
@@ -208,7 +211,7 @@ class QueueType
208211
self::CLASH_GAMES,
209212
];
210213

211-
/** @var integer */
214+
/** @var integer */
212215
public $id;
213216

214217
/** @var string */
@@ -359,7 +362,7 @@ public function isAram() { return in_array($this->id, static::$ARAM, true); }
359362

360363
public function isClash() { return $this->id == QueueType::CLASH_GAMES; }
361364

362-
public function isUrf() { return $this->id == QueueType::ARURF; }
365+
public function isUrf() { return in_array($this->id, static::$ARURF, true); }
363366

364367
public function isCustom() { return $this->id == QueueType::CUSTOM; }
365368

0 commit comments

Comments
 (0)