Skip to content

five-on-it / apps/client/src/renderer/social / SocialView

Interface: SocialView ​

Defined in: apps/client/src/renderer/social.ts:78

What the overlay shows of the social side.

Properties ​

channel ​

channel: ChatChannel

Defined in: apps/client/src/renderer/social.ts:88

The channel a line is typed on.


creation? ​

optional creation?: CreationNotice

Defined in: apps/client/src/renderer/social.ts:106

The last of the player's creations that ended (the feed's), for its toast.


error? ​

optional error?: string

Defined in: apps/client/src/renderer/social.ts:104

The last thing that went wrong with the platform.


friends ​

friends: FriendView[]

Defined in: apps/client/src/renderer/social.ts:94

Friends and requests, the party and the invitations, once asked.


invites ​

invites: object[]

Defined in: apps/client/src/renderer/social.ts:96

from ​

from: object

from.id ​

id: string

from.name ​

name: string

party ​

party: string


lobbyInvites ​

lobbyInvites: object[]

Defined in: apps/client/src/renderer/social.ts:98

The lobbies friends invited the player to.

from ​

from: object

from.id ​

id: string = Id

from.name ​

name: string

lobby ​

lobby: string

title ​

title: string


lobbyPrompt? ​

optional lobbyPrompt?: object

Defined in: apps/client/src/renderer/social.ts:100

The lobby the party's leader took the player into, to go to or stay out of.

from ​

from: string

lobby ​

lobby: string

title ​

title: string


log ​

log: ChatEntry[]

Defined in: apps/client/src/renderer/social.ts:82

The chat log, oldest first.


me? ​

optional me?: string

Defined in: apps/client/src/renderer/social.ts:92

The account the platform knows the player as.


muted ​

muted: string[]

Defined in: apps/client/src/renderer/social.ts:84

The players muted (muteKey).


open ​

open: boolean

Defined in: apps/client/src/renderer/social.ts:86

The chat is open for typing.


party ​

party: PartyView | null

Defined in: apps/client/src/renderer/social.ts:95


platform ​

platform: boolean

Defined in: apps/client/src/renderer/social.ts:90

The platform answered: friends and parties are there.


roster? ​

optional roster?: object

Defined in: apps/client/src/renderer/social.ts:80

The room's roster, once the game server sent it.

moderated ​

moderated: boolean

Whether the room is public: its chat goes through the platform's moderation.

players ​

players: object[]

The players, in the order they came.

type ​

type: "roster"

vote ​

vote: { by: number; needed: number; seconds: number; target: number; voted: boolean; yes: number; } | null

The vote to kick under way: whom, who started it, the yes so far, the yes it needs, the seconds left; the receiver's own vote.

you ​

you: number

The receiver's client id.


stillInLobby? ​

optional stillInLobby?: boolean

Defined in: apps/client/src/renderer/social.ts:102

Whether the player is still in the lobby the run's page came from (inLobby); unknown until asked.