five-on-it / apps/client/src/renderer/social / socialDebug
Function: socialDebug()
socialDebug(
view,now):object
Defined in: apps/client/src/renderer/social.ts:445
What window.__poc shows of the social side: the party, the chat lines on screen, the muted players, the roster and the vote, the friends, the lobbies the player is invited to.
Parameters
view
now
number
Returns
object
channel
channel:
"party"|"room"|"direct"=view.channel.kind
chat
chat:
object[]
friends
friends:
object[]
invites
invites:
number=view.invites.length
lobbyInvites
lobbyInvites:
string[]
lobbyPrompt
lobbyPrompt:
string|null
muted
muted:
string[] =view.muted
open
open:
boolean=view.open
party
party: {
id:string;leader:string;members:string[]; } |null
roster
roster:
object[]
vote
vote: {
by:number;needed:number;seconds:number;target:number;voted:boolean;yes:number; } |null
you
you:
number