mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-14 01:34:55 +02:00
Add player->outfit_url attribute
This commit is contained in:
@@ -80,6 +80,10 @@ class Player extends Model {
|
||||
});
|
||||
}
|
||||
|
||||
public function getOutfitUrlAttribute() {
|
||||
return setting('core.outfit_images_url') . '?id=' . $this->looktype . (!empty($this->lookaddons) ? '&addons=' . $this->lookaddons : '') . '&head=' . $this->lookhead . '&body=' . $this->lookbody . '&legs=' . $this->looklegs . '&feet=' . $this->lookfeet;
|
||||
}
|
||||
|
||||
public function getOnlineStatusAttribute()
|
||||
{
|
||||
global $db;
|
||||
|
Reference in New Issue
Block a user