Example #1
0
 function onPlayerAlliesChanged($login)
 {
     try {
         $allies = $this->connection->getDetailedPlayerInfo($login)->allies;
         $this->getPlayerObject($login)->allies = $allies;
     } catch (\Exception $e) {
     }
 }