diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/emote.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/emote.php b/src/emote.php index b10fbeb..63d5746 100644 --- a/src/emote.php +++ b/src/emote.php @@ -8,8 +8,9 @@ class Emote public int $created_at; public mixed $rating; public bool $is_in_user_set; + public int $visibility; - function __construct($id, $code, $ext, $created_at, $uploaded_by, $is_in_user_set, $rating) + function __construct($id, $code, $ext, $created_at, $uploaded_by, $is_in_user_set, $rating, $visibility) { $this->id = $id; $this->code = $code; @@ -18,6 +19,7 @@ class Emote $this->uploaded_by = $uploaded_by; $this->is_in_user_set = $is_in_user_set; $this->rating = $rating; + $this->visibility = $visibility; } function get_id() @@ -54,4 +56,9 @@ class Emote { return $this->rating; } + + function get_visibility() + { + return $this->visibility; + } } |
