<?php

namespace DefStudio\GameEngine\Events\Teams;

use DefStudio\GameEngine\Models\Team;
use DefStudio\GameEngine\Models\User;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;

class UserSubscribedToTeam
{
    use Dispatchable;
    use InteractsWithSockets;

    public function __construct(
        public User $user,
        public Team $team
    ) {
    }
}
