{
return $this->gamerTag !== null;
}
+
+ public function getAvatarLargeUrl(): string
+ {
+ if (strpos($this->avatar, '://')) {
+ return $this->avatar;
+ }
+ return 'http://l2.gamestickservices.net/resources/avatars/'
+ . $this->avatar . '.large.jpg';
+ }
+
+ public function getAvatarSmallUrl(): string
+ {
+ if (strpos($this->avatar, '://')) {
+ return $this->avatar;
+ }
+ return 'http://l2.gamestickservices.net/resources/avatars/'
+ . $this->avatar . '.small.jpg';
+ }
}