FML/Controls/Control.php
public function addPlayerProfileFeature($login, $eventLabel = ScriptLabel::MOUSECLICK)
    {
        $playerProfile = new PlayerProfile($login, $this, $eventLabel);
        $this->addScriptFeature($playerProfile);
        return $this;
    }
public function addPlayerProfileFeature($login, $eventLabel = ScriptLabel::MOUSECLICK)
    {
        $playerProfile = new PlayerProfile($login, $this, $eventLabel);
        $this->addScriptFeature($playerProfile);
        return $this;
    }
public function addPlayerProfileFeature ( $ login , $ eventLabel = ScriptLabel :: MOUSECLICK ) { $ playerProfile = new PlayerProfile ( $ login , $ this , $ eventLabel ) ; $ this -> addScriptFeature ( $ playerProfile ) ; return $ this ; }
Add a dynamic Feature to open a specific player profile

@api
@param string $login      Login of the player
@param string $eventLabel (optional) Event on which the player profile will be opened
@return static
Add a dynamic Feature to open a specific player profile