-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2615 from RaiderIO/development
Release v11.7 - Fixed route synchronization, added various raid-wide buff support to SimulationCraft integration, along with many other bugfixes.
- Loading branch information
Showing
148 changed files
with
2,357 additions
and
988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\Brushline; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\Brushline; | ||
use App\Models\MapIcon; | ||
use App\Models\User; | ||
use App\Service\Coordinates\CoordinatesServiceInterface; | ||
use Illuminate\Database\Eloquent\Model; | ||
|
||
/** | ||
* @property MapIcon $model | ||
*/ | ||
class BrushlineChangedEvent extends ModelChangedEvent | ||
{ | ||
/** | ||
* @param CoordinatesServiceInterface $coordinatesService | ||
* @param Model $context | ||
* @param User $user | ||
* @param Brushline|Model $model | ||
*/ | ||
public function __construct( | ||
private readonly CoordinatesServiceInterface $coordinatesService, | ||
Model $context, | ||
User $user, | ||
protected Brushline|Model $model | ||
) { | ||
parent::__construct($context, $user, $model); | ||
} | ||
|
||
public function broadcastAs(): string | ||
{ | ||
return 'brushline-changed'; | ||
} | ||
|
||
public function broadcastWith(): array | ||
{ | ||
return array_merge( | ||
parent::broadcastWith(), [ | ||
'model_data' => $this->model->polyline->getCoordinatesData( | ||
$this->coordinatesService, | ||
$this->model->dungeonRoute->mappingVersion, | ||
$this->model->floor | ||
), | ||
] | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\Brushline; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class BrushlineDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'brushline-deleted'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
app/Events/Models/DungeonFloorSwitchMarker/DungeonFloorSwitchMarkerChangedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\DungeonFloorSwitchMarker; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\DungeonFloorSwitchMarker; | ||
|
||
/** | ||
* @property DungeonFloorSwitchMarker $model | ||
*/ | ||
class DungeonFloorSwitchMarkerChangedEvent extends ModelChangedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'dungeonfloorswitchmarker-changed'; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
app/Events/Models/DungeonFloorSwitchMarker/DungeonFloorSwitchMarkerDeletedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\DungeonFloorSwitchMarker; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class DungeonFloorSwitchMarkerDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'dungeonfloorswitchmarker-deleted'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\Enemy; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\Enemy; | ||
use App\Models\User; | ||
use App\Service\Coordinates\CoordinatesServiceInterface; | ||
use Illuminate\Database\Eloquent\Model; | ||
|
||
/** | ||
* @property Enemy $model | ||
*/ | ||
class EnemyChangedEvent extends ModelChangedEvent | ||
{ | ||
/** | ||
* @param CoordinatesServiceInterface $coordinatesService | ||
* @param Model $context | ||
* @param User $user | ||
* @param Enemy|Model $model | ||
*/ | ||
public function __construct( | ||
private readonly CoordinatesServiceInterface $coordinatesService, | ||
Model $context, | ||
User $user, | ||
protected Enemy|Model $model | ||
) { | ||
parent::__construct($context, $user, $model); | ||
} | ||
|
||
public function broadcastAs(): string | ||
{ | ||
return 'enemy-changed'; | ||
} | ||
|
||
public function broadcastWith(): array | ||
{ | ||
return array_merge( | ||
parent::broadcastWith(), [ | ||
'model_data' => $this->model->getCoordinatesData($this->coordinatesService), | ||
] | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\Enemy; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class EnemyDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'enemy-deleted'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\EnemyPack; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\EnemyPack; | ||
|
||
/** | ||
* @property EnemyPack $model | ||
*/ | ||
class EnemyPackChangedEvent extends ModelChangedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'enemypack-changed'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\EnemyPack; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class EnemyPackDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'enemypack-deleted'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\EnemyPatrol; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\EnemyPatrol; | ||
|
||
/** | ||
* @property EnemyPatrol $model | ||
*/ | ||
class EnemyPatrolChangedEvent extends ModelChangedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'enemypatrol-changed'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\EnemyPatrol; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class EnemyPatrolDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'enemypatrol-deleted'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\FloorUnion; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\Floor\FloorUnion; | ||
|
||
/** | ||
* @property FloorUnion $model | ||
*/ | ||
class FloorUnionChangedEvent extends ModelChangedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'floorunion-changed'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\FloorUnion; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class FloorUnionDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'floorunion-deleted'; | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
app/Events/Models/FloorUnionArea/FloorUnionAreaChangedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\FloorUnionArea; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\Floor\FloorUnionArea; | ||
|
||
/** | ||
* @property FloorUnionArea $model | ||
*/ | ||
class FloorUnionAreaChangedEvent extends ModelChangedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'floorunionarea-changed'; | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
app/Events/Models/FloorUnionArea/FloorUnionAreaDeletedEvent.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\FloorUnionArea; | ||
|
||
use App\Events\Models\ModelDeletedEvent; | ||
|
||
class FloorUnionAreaDeletedEvent extends ModelDeletedEvent | ||
{ | ||
public function broadcastAs(): string | ||
{ | ||
return 'floorunionarea-deleted'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
|
||
namespace App\Events\Models\KillZone; | ||
|
||
use App\Events\Models\ModelChangedEvent; | ||
use App\Models\KillZone\KillZone; | ||
use App\Models\User; | ||
use App\Service\Coordinates\CoordinatesServiceInterface; | ||
use Illuminate\Database\Eloquent\Model; | ||
|
||
class KillZoneChangedEvent extends ModelChangedEvent | ||
{ | ||
/** | ||
* @param CoordinatesServiceInterface $coordinatesService | ||
* @param Model $context | ||
* @param User $user | ||
* @param KillZone|Model $model | ||
*/ | ||
public function __construct( | ||
private readonly CoordinatesServiceInterface $coordinatesService, | ||
Model $context, | ||
User $user, | ||
protected KillZone|Model $model | ||
) { | ||
parent::__construct($context, $user, $model); | ||
} | ||
|
||
|
||
public function broadcastAs(): string | ||
{ | ||
return 'killzone-changed'; | ||
} | ||
|
||
public function broadcastWith(): array | ||
{ | ||
$parentResult = parent::broadcastWith(); | ||
if ($this->model->floor_id === null) { | ||
return $parentResult; | ||
} | ||
|
||
return array_merge( | ||
$parentResult, [ | ||
'model_data' => $this->model->getCoordinatesData($this->coordinatesService), | ||
] | ||
); | ||
} | ||
} |
Oops, something went wrong.