build(repo): make source comments and build tools self-contained
This commit is contained in:
1 parent
5b5c59ab08
commit
44190e4544
106 files changed
+152
-183
No files matched your search
@@ -1,6 +1,5 @@
|
||||
/**
|
||||
* Matching-server RPC handlers for hangar battle-rating display and battle queueing
|
||||
*:
|
||||
* Matching-server RPC handlers for hangar battle-rating display and battle queueing:
|
||||
* - `wtmm_static.calc_ranks` (scripts/battlerating.nut:179)
|
||||
* - `match.enqueue` (scripts/matching/servicenotifications/match.nut:75)
|
||||
* - `match.leave_queue` (scripts/queue/queuestate.nut:28)
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/**
|
||||
* The game-mode requests of the matching server (gui.vromfs.bin
|
||||
* scripts/matching/matchingGameModes.nut, docs/implementation notes):
|
||||
* scripts/matching/matchingGameModes.nut):
|
||||
*
|
||||
* - wtmm_static.fetch_game_modes_digest {timeout}: answered with "modes", the list of
|
||||
* game-mode ids. After login the script asks for it, then fetches the modes it names.
|
||||
* - match.fetch_game_modes_info {byId: [ids], asString: true, timeout}: the script asks for
|
||||
* at most 5 ids at a time and reads "modes_str", a JSON array of mode definitions
|
||||
* (game-modes/mode-definition.ts). local verification logged exactly these parameters.
|
||||
* (game-modes/mode-definition.ts).
|
||||
*
|
||||
* Five failed digest fetches sign the player out, so both answers must always be well formed.
|
||||
*/
|
||||
|
||||
@@ -90,7 +90,7 @@ export function asRequest(message: MatchingMessage): MatchingRequest | undefined
|
||||
* message's "data" to the request's completion wrapper (0x44f1c00, set by the request sender
|
||||
* 0x44e9bc0), which logs "got response on …" and hands that object's own "data" to the
|
||||
* caller; for script requests (matching_call, 0x46e1e70) that is the table the UI script
|
||||
* receives, with "error" added (0x46e5ee0). local verification: a result placed directly in "data"
|
||||
* receives, with "error" added (0x46e5ee0). A result placed directly in "data"
|
||||
* reached the script as an empty table.
|
||||
*/
|
||||
export function answerTo(request: MatchingRequest, result: Record<string, unknown>): MatchingMessage {
|
||||
|
||||
Reference in new issue
Block a user