struct Protocol::Media::PlayersCreated

Overview

Called whenever a player is created, or when a new agent joins and receives a list of active players. If an agent is restored, it will receive the full list of player ids and all events again.

Included Modules

Defined in:

protocol/media.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def players : Array(PlayerId) #

[View source]