for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace eXpansion\Framework\GameShootmania\DataProviders;
use eXpansion\Framework\Core\DataProviders\AbstractDataProvider;
/**
* Class PlayerDataProvider provides information to plugins about what is going on with players.
*
* @package eXpansion\Framework\Core\DataProviders
*/
class PlayerActionDataProvider extends AbstractDataProvider
{
* @param $params
* @return void
public function onActionCustomEvent($params)
$this->dispatch(__FUNCTION__, [
$params['shooter'],
$params['victim'],
$params['actionId'],
$params['param1'],
$params['param2'],
]);
}
public function onActionEvent($params)
$params['login'],
$params['actioninput'],
public function onPlayerRequestActionChange($params)
$params['actionchange'],