Added league/event and implemented SessionOwnerEvent

This commit is contained in:
Alex Bilbie
2014-07-11 15:13:28 +01:00
parent 33c68a2103
commit 954f29f879
6 changed files with 91 additions and 1 deletions

View File

@@ -228,6 +228,8 @@ class SessionEntity
$this->ownerType = $type;
$this->ownerId = $id;
$this->server->eventEmitter->emit(new Event\SessionOwnerEvent($this));
return $this;
}