Skip to content

inviteUserToGame

inviteUserToGame(steamId64, connectString): void

Sends a game invite that carries connectString to the friend. The friend sees the invite in Steam; accepting it starts the game with that connect string. This sends data to another user. Throws when connectString contains a NUL character.

bigint

SteamID64 of the friend to invite, as a BigInt

string

The connect string the game receives when the invite is accepted

void

Turn ideas into shipped software.

HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.

Smart
OpenSpec workflows turn intent into a path from proposal to shipped change.
Efficient
Multi-agent execution runs research, build, and review in parallel.
Fun
Rich UI interactions make planning, agent work, and projects easier to follow.