UserSpeakingState
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- getPacketsByUserId() : array<string|int, mixed>
- getUserId() : int
- isSpeaking() : bool
Properties
$packets
public
array<string|int, mixed>
$packets
$speaking
public
bool
$speaking
$userId
public
int
$userId
Methods
__construct()
public
__construct(int $userId, bool $speaking, array<string|int, mixed> $packets) : mixed
Parameters
- $userId : int
- $speaking : bool
- $packets : array<string|int, mixed>
getPacketsByUserId()
public
getPacketsByUserId(int $userId) : array<string|int, mixed>
Parameters
- $userId : int
Return values
array<string|int, mixed>getUserId()
public
getUserId() : int
Return values
intisSpeaking()
public
isSpeaking() : bool