MCPcopy Create free account

hub / github.com/codergautam/worldguessr / functions

Functions1,408 in github.com/codergautam/worldguessr

↓ 611 callersFunctiont
( key: string, vars?: Record<string, string | number | undefined | null>, fallback?: string, )
mobile/src/shared/locale.ts:111
↓ 557 callersMethodlog
(a,b="")
public/maps.js:424
↓ 261 callersMethodget
()
public/maps.js:325
↓ 236 callersFunctiontext
("roundsCount",{rounds:multiplayerState.gameData?.rounds})
components/playerList.js:74
↓ 221 callersMethodset
(a,b)
public/maps.js:332
↓ 191 callersMethodtoString
()
public/maps.js:296
↓ 116 callersMethodsend
(json)
ws/classes/Player.js:382
↓ 108 callersMethodround
()
public/maps.js:352
↓ 104 callersMethodforEach
(a)
public/maps.js:332
↓ 86 callersMethodstart
(hostPlayer = null)
ws/classes/Game.js:471
↓ 70 callersFunctionset
(c,d,e)
public/maps.js:79
↓ 70 callersFunctionwithTiming
(toValue: number, config: WithTimingConfig = {}, callback?: AnimationCallback)
mobile/src/components/daily/anims.ts:24
↓ 66 callersFunctionsc
(v: number)
mobile/src/components/game/GameSurface.tsx:228
↓ 57 callersFunctionuseTranslation
()
components/useTranslations.js:21
↓ 52 callersMethodsetItem
(key, value)
components/utils/localStorage.js:7
↓ 47 callersMethodaddEventListener
(a, b,c)
public/maps.js:405
↓ 44 callersMethodadd
(a)
public/maps.js:331
↓ 41 callersMethodgetItem
(key)
components/utils/localStorage.js:17
↓ 37 callersFunctionb
public/maps.js:117
↓ 37 callersMethodremoveEventListener
(a,b,c)
public/maps.js:406
↓ 30 callersFunctionfetchApi
( endpoint: string, options: RequestInit = {}, baseUrl = API_URL, timeoutMs = HTTP_TIMEOUT_MS, )
mobile/src/services/api.ts:47
↓ 30 callersFunctionget
()
public/maps.js:216
↓ 29 callersMethodend
(leftUser)
ws/classes/Game.js:766
↓ 29 callersMethodsend
* Send a JSON message to the server.
mobile/src/services/websocket.ts:288
↓ 28 callersMethodcreateElement
(a)
public/maps.js:373
↓ 27 callersFunctionsendEvent
(name, params={})
components/utils/sendEvent.js:3
↓ 24 callersMethodconnect
* Connect to the WS server with optional auth secret. * Ported from initWebsocket.js + home.js:1297-1391.
mobile/src/services/websocket.ts:154
↓ 24 callersMethodlat
()
public/maps.js:350
↓ 24 callersMethodremove
()
public/maps.js:328
↓ 24 callersFunctionuseRouter
()
embed/shims/nextRouter.js:24
↓ 24 callersFunctionuseWindowDimensions
()
components/useWindowDimensions.js:17
↓ 23 callersMethodEg
(a,b,c,d)
public/maps.js:315
↓ 23 callersMethodclose
()
public/maps.js:361
↓ 22 callersMethodIg
()
public/maps.js:318
↓ 21 callersMethodlng
()
public/maps.js:350
↓ 21 callersFunctionsc
(v: number)
mobile/app/game/[id].tsx:379
↓ 20 callersFunctionconfig
()
clientConfig.js:2
↓ 19 callersFunctiona
(c)
public/maps.js:129
↓ 19 callersMethodaddListener
(a,b)
public/maps.js:356
↓ 18 callersMethodFg
()
public/maps.js:318
↓ 18 callersFunctioncurrentDate
()
ws/ws.js:76
↓ 18 callersMethoddisconnect
* Disconnect intentionally (e.g. logout). No auto-reconnect.
mobile/src/services/websocket.ts:230
↓ 18 callersMethodextend
(a)
public/maps.js:341
↓ 17 callersFunctionc
()
public/maps.js:54
↓ 16 callersFunctionmsUntilLocalMidnight
(date = new Date())
shared/daily/dailyDate.js:20
↓ 15 callersMethodisEmpty
()
public/maps.js:295
↓ 15 callersFunctionwithSequence
(...animations: number[])
mobile/src/components/daily/anims.ts:49
↓ 14 callersFunctionalert
* Evaluate one alert condition. Respects the per-type cooldown and only arms * the cooldown on a successful send. Returns a short status for the li
scripts/serverMonitor.js:281
↓ 14 callersFunctiondismissAllSafe
()
mobile/src/utils/navigation.ts:42
↓ 14 callersFunctiondynamic
(loader)
embed/shims/nextDynamic.js:6
↓ 14 callersFunctionf
(z)
public/maps.js:198
↓ 14 callersMethodgetStatus
()
public/maps.js:308
↓ 14 callersMethodsendAllPlayers
(json)
ws/classes/Game.js:749
↓ 14 callersFunctionsyncedClearCache
(key)
serverUtils/cacheBus.js:22
↓ 14 callersFunctionwithDelay
(delayMs: number, animation: number)
mobile/src/components/daily/anims.ts:32
↓ 13 callersFunctionsc
(v: number)
mobile/src/components/game/CountryButtons.tsx:61
↓ 12 callersFunctiongetLeague
(elo)
components/utils/leagues.js:34
↓ 12 callersFunctionlogEvent
(name: string, params?: Record<string, unknown>)
mobile/src/services/analytics.ts:30
↓ 12 callersFunctionregisterStat
(name, fn)
serverUtils/statRegistry.js:8
↓ 12 callersMethodsendFriendData
()
ws/classes/Player.js:414
↓ 12 callersFunctionsetCorsHeaders
(response)
serverUtils/setCorsHeaders.js:2
↓ 12 callersFunctionwithRepeat
( animation: number, numberOfReps = 2, reverse = false, callback?: AnimationCallback, )
mobile/src/components/daily/anims.ts:40
↓ 11 callersFunctiond
(e)
public/maps.js:173
↓ 11 callersFunctiong
(z)
public/maps.js:198
↓ 11 callersFunctionhandleMultiplayerAction
(action, ...args)
components/home.js:1536
↓ 11 callersFunctionshuffle
(arr)
cron.js:458
↓ 10 callersMethodcontains
(a)
public/maps.js:331
↓ 10 callersFunctione
(z)
public/maps.js:198
↓ 10 callersFunctiongetClientLocalDate
(date = new Date())
shared/daily/dailyDate.js:5
↓ 10 callersFunctiongetDelay
()
mobile/app/(tabs)/home.tsx:568
↓ 9 callersMethodHg
()
public/maps.js:318
↓ 9 callersFunctionfindDistance
(lat1: number, lon1: number, lat2: number, lon2: number)
mobile/src/shared/game/calcPoints.ts:12
↓ 9 callersMethodlj
(a,b,c)
public/maps.js:406
↓ 9 callersFunctionnow
()
scripts/serverMonitor.js:224
↓ 9 callersFunctiontruncate
(str, len = 80)
scripts/mongoMonitor.js:77
↓ 8 callersMethodKg
(a)
public/maps.js:374
↓ 8 callersFunctionasset
(path)
lib/basePath.js:5
↓ 8 callersFunctioncalcPoints
({lat, lon, guessLat, guessLon, usedHint, maxDist})
components/calcPoints.js:20
↓ 8 callersMethodck
(a)
public/maps.js:437
↓ 8 callersFunctioncontinentFromCode
(code?: string | null)
mobile/src/shared/data/countryHelpers.ts:90
↓ 8 callersFunctionfetchWithTimeout
( url: string, options: RequestInit = {}, timeoutMs: number = HTTP_TIMEOUT_MS, )
mobile/src/services/fetchWithTimeout.ts:37
↓ 8 callersFunctionnavigate
(path)
lib/basePath.js:10
↓ 8 callersFunctionneedNum
(name, val)
scripts/serverMonitor.js:64
↓ 8 callersFunctionon
()
embed/shims/nextRouter.js:21
↓ 8 callersMethodremovePlayer
(player, socketClosed=false)
ws/classes/Game.js:413
↓ 8 callersMethodsendStateUpdate
(includeLocations=false)
ws/classes/Game.js:408
↓ 8 callersMethodupdate
()
public/maps.js:398
↓ 7 callersMethodMg
(a)
public/maps.js:377
↓ 7 callersMethodaddPlayer
(player, host=false, tag)
ws/classes/Game.js:110
↓ 7 callersFunctioncontinentKey
(continent)
components/utils/continentLocale.js:10
↓ 7 callersFunctioncreateUUID
()
components/createUUID.js:5
↓ 7 callersFunctionenabled
()
mobile/src/services/haptics.ts:11
↓ 7 callersFunctiongetDayStart
(dateLike: string | number | Date)
mobile/src/components/account/shared.tsx:42
↓ 7 callersFunctiongetLeague
(elo: number)
mobile/src/shared/user/leagues.ts:45
↓ 7 callersFunctionhandleModePress
(mode: GameMode)
mobile/app/(tabs)/home.tsx:460
↓ 7 callersMethodisSafeInteger
()
public/maps.js:315
↓ 7 callersFunctionmk
(iconUrl, iconSize, iconAnchor, popupAnchor)
embed/shims/markerIcons.js:21
↓ 7 callersMethodrecordGameStats
* Record user stats after a game completion * @param {string} userId - User's account ID * @param {string} gameId - Game ID that triggered this
components/utils/userStatsService.js:12
↓ 7 callersFunctionrejectInternal
(reason)
components/utils/initWebsocket.js:124
↓ 7 callersMethodreset
(a)
public/maps.js:332
next →1–100 of 1,408, ranked by callers