State Bags
The phone uses state bags to sync data between clients. Read more about state bags (opens in a new tab).
Phone
Name | Data Type | Description |
---|---|---|
phoneOpen | boolean | Whether the phone is open or not. |
phoneNumber | string | The phone number, e.g. 01234567890 |
phoneName | string | The phone name, e.g. "Loaf's Phone" |
flashlight | boolean | Whether the flashlight is on or not. |
Calls
Name | Data Type | Description |
---|---|---|
speakerphone | boolean | If speakerphone is enabled or not |
mutedCall | boolean | If the call is muted or not |
otherMutedCall | boolean | Whether or not the other person in the call is muted |
onCallWith | number | The source the player is on call with |
callAnswered | boolean | Whether the call has been answered or not |
Misc
Name | Data Type | Description |
---|---|---|
instapicIsLive | boolean | If the player is live on InstaPic |