fix update pre calc player by action
This commit is contained in:
1 parent
62a2e1710a
commit
5926e4e226
7 files changed
+190
-306
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Traits\UpdateHelper;
|
||||
use Illuminate\Console\Command;
|
||||
|
||||
class PreCalcPlayer extends Command
|
||||
{
|
||||
use UpdateHelper;
|
||||
|
||||
protected $signature = 'grp:ply {--d}';
|
||||
|
||||
protected $description = 'player pre calculations';
|
||||
|
||||
public function handleUpdate(int $playerCount): void
|
||||
{
|
||||
// Have fun running imports here
|
||||
// Examples can be found in the ImportHelper trait
|
||||
$this->updatePlayers($playerCount);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user