Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/discord/sample-game-integration
/ functions
Functions
39 in github.com/discord/sample-game-integration
⨍
Functions
39
◇
Types & classes
3
↳
Endpoints
8
↓ 5 callers
Function
save
()
server/index.py:71
↓ 2 callers
Function
refresh_access_token
(user)
server/index.py:112
↓ 2 callers
Method
serialize
(self)
server/index.py:40
↓ 1 callers
Function
create_id
()
server/index.py:75
↓ 1 callers
Function
delete_all_games
()
server/index.py:212
↓ 1 callers
Method
request_headers
(self)
server/index.py:47
Method
__init__
(self)
server/index.py:32
Method
__init__
(self)
server/index.py:55
Function
addUserVoiceState
(user)
client/src/App.js:260
Function
call
(command, args, handler=null)
client/src/App.js:67
Function
classnames
('button', {disabled: connected})
client/src/App.js:501
Function
connect
(portOffset=0)
client/src/App.js:275
Function
constructor
(props)
client/src/App.js:42
Function
createMatch
()
client/src/App.js:308
Function
create_match
()
server/index.py:158
Function
disconnect
()
client/src/App.js:425
Function
discordRequest
(route, body, file)
client/src/App.js:93
Function
discord_authenticate
()
server/index.py:227
Function
discord_exchange_token
()
server/index.py:242
Function
endMatch
()
client/src/App.js:379
Function
end_match
()
server/index.py:206
Function
findMatch
()
client/src/App.js:318
Function
find_match
()
server/index.py:148
Function
handleDiscordRPCResponse
(e)
client/src/App.js:158
Function
handleError
(err)
client/src/App.js:118
Function
handleGotAccessToken
(user)
client/src/App.js:125
Function
handleSelectedShareChannel
(val)
client/src/App.js:471
Function
handleSelectedShareGuild
(val)
client/src/App.js:451
Function
isError
(response, code=undefined)
client/src/App.js:89
Function
joinMatch
()
client/src/App.js:347
Function
join_match
(game_id)
server/index.py:171
Function
loadGuildsForSharing
()
client/src/App.js:145
Function
login
()
server/index.py:134
Function
observeVoiceChannel
(voiceChannelId)
client/src/App.js:328
Function
onHandleConnect
()
client/src/App.js:439
Function
onKeyUp
(e)
client/src/App.js:443
Function
send
(payload)
client/src/App.js:63
Function
shareResults
()
client/src/App.js:384
Function
subscribe
(event, args)
client/src/App.js:80