You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -25,10 +26,12 @@ class Account(BaseDataClass['AccountResponse']):
25
26
username: str
26
27
#: This is what appears in bold above the username on an account's page on RecNet. The display name is not unique unlike the username.
27
28
display_name: str
29
+
#: This is the RR+ exclusive display emoji.
30
+
display_emoji: Optional[str] =None
28
31
#: This is the file name of an account's profile picture.
29
32
profile_image: str
30
33
#: This is true if the account is a junior account, false if the account is a non-junior account.
31
-
is_junior: bool
34
+
# is_junior: bool DEPRECATED
32
35
#: This is a list of platforms a user plays on. It has these possible values ``['Steam', 'Meta', 'PlayStation', 'Xbox', 'RecNet', 'iOS', 'Android', 'Standalone']``.
33
36
platforms: List[str]
34
37
#: This is the list of pronouns a user goes by. It has these possible values ``['She / her', 'He / him', 'They / them', 'Ze / hir', 'Ze / zir', 'Xe / xem']``.
Copy file name to clipboardExpand all lines: src/recnetpy/dataclasses/image.py
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,11 @@ class Image(BaseDataClass['ImageResponse']):
29
29
#: This is an image's unique identifier.
30
30
id: int
31
31
#: This is the type of image which has the possible value of ``[None, 'Share Camera', 'Outfit Thumbnail', 'Room Thumbnail', 'Profile Thumbnail', 'Invention Thumbnail', 'Player Event Thumbnail', 'Room Load Screen']``.
32
-
type: str
32
+
#type: str
33
33
#: This is the visibilty of the image which has the possible value of ``['Private', 'Public', 'Unlisted']``.
34
-
accessibility: str
34
+
#accessibility: str
35
35
#: This is true if the accessiblity of the image is fixed, false if its able to able to be changed.
Copy file name to clipboardExpand all lines: src/recnetpy/dataclasses/role.py
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,9 @@
9
9
ROLE_DICT: Dict[int, str] = {
10
10
0: None,
11
11
1: "Banned",
12
-
10: "Member",
12
+
10: "Host",
13
13
20: "Moderator",
14
+
25: "Contributor",
14
15
30: "Co-Owner",
15
16
31: "Temporary Co-Owner",
16
17
255: "Owner"
@@ -20,11 +21,11 @@ class Role(VariableClass['RoleResponse']):
20
21
"""
21
22
This class represents a room's player roles.
22
23
"""
23
-
#: This is the id of the role which has the possible values of ``{0: 'None', 10: 'Member', 20: 'Moderator', 30: 'Co-Owner', 31: 'Temporary Co-Owner', 255: 'Owner'}``.
24
+
#: This is the id of the role which has the possible values of ``{0: 'None', 10: 'Host', 20: 'Moderator', 30: 'Co-Owner', 31: 'Temporary Co-Owner', 255: 'Owner'}``.
24
25
id: int
25
26
#: This is the id of the player who owns this role.
26
27
account_id: int
27
-
#: This is the name of the role the player owns which has the possible values of ``['None', 'Member', 'Moderator', 'Co-Owner', 'Temporary Co-Owner', Owner']``
28
+
#: This is the name of the role the player owns which has the possible values of ``['None', 'Host', 'Moderator', 'Co-Owner', 'Temporary Co-Owner', Owner']``
28
29
name: str
29
30
#: This is the id of the account who updated the player's role.
0 commit comments