# COMPAT_FINAL_FINGERPRINT
const COMPAT_FINAL_FINGERPRINT = 3762976551Defines the compat final fingerprint value used by `miniquake.external_reference_contract`.
src/miniquake/external_reference_contract.mlconst COMPAT_FINAL_FINGERPRINT = 3762976551Defines the compat final fingerprint value used by `miniquake.external_reference_contract`.
const COMPAT_FINAL_STATUS = "compat_109_final_candidate_v1"Defines the compat final status value used by `miniquake.external_reference_contract`.
function finalContractHasRequiredFields()Implements the `finalContractHasRequiredFields` operation for `miniquake.external_reference_contract` (final contract has required fields).
function finalContractText()Implements the `finalContractText` operation for `miniquake.external_reference_contract` (final contract text).
const ORIGINAL_CAPTURE_HEIGHT = 480Defines the original capture height value used by `miniquake.external_reference_contract`.
const ORIGINAL_CAPTURE_MIN_SSIM = 0.95Defines the original capture min ssim value used by `miniquake.external_reference_contract`.
const ORIGINAL_CAPTURE_MIN_SSIM_MILLI = 950Defines the original capture min ssim milli value used by `miniquake.external_reference_contract`.
const ORIGINAL_CAPTURE_SEARCH_RADIUS = 2Defines the original capture search radius value used by `miniquake.external_reference_contract`.
const ORIGINAL_CAPTURE_WIDTH = 640Defines the original capture width value used by `miniquake.external_reference_contract`.
const ORIGINAL_CONTROL_PROTOCOL = 3Defines the original control protocol value used by `miniquake.external_reference_contract`.
const ORIGINAL_GAME_PROTOCOL = 15Defines the original game protocol value used by `miniquake.external_reference_contract`.
const ORIGINAL_GLQUAKE_BYTES = 435712Defines the original glquake bytes value used by `miniquake.external_reference_contract`.
const ORIGINAL_GLQUAKE_PE_MACHINE = 332Defines the original glquake pe machine value used by `miniquake.external_reference_contract`.
const ORIGINAL_GLQUAKE_SHA256 = "04862c835c399bc9184f62101ae0390c2a758c21656ec06dcc0384e0f373d588"Defines the original glquake sha256 value used by `miniquake.external_reference_contract`.
const ORIGINAL_INTEROP_MAX_FRAMES = 10000Defines the original interop max frames value used by `miniquake.external_reference_contract`.
const ORIGINAL_INTEROP_POST_FRAMES = 32Defines the original interop post frames value used by `miniquake.external_reference_contract`.
const ORIGINAL_REFERENCE_FINGERPRINT = 3694481781Defines the original reference fingerprint value used by `miniquake.external_reference_contract`.
const ORIGINAL_REFERENCE_STATUS = "original_reference_109_candidate_v1"Defines the original reference status value used by `miniquake.external_reference_contract`.
inline function originalClientInteropComplete(activeClients, spawned, signon)Implements the `originalClientInteropComplete` operation for `miniquake.external_reference_contract` (original client interop complete).
| Parameter | Type | Default | Description |
|---|---|---|---|
activeClients | dynamic | — | The active clients input consumed by `originalClientInteropComplete`. |
spawned | dynamic | — | The spawned input consumed by `originalClientInteropComplete`. |
signon | dynamic | — | The signon input consumed by `originalClientInteropComplete`. |
function originalServerInteropComplete(connected, spawned, signon, modelCount, soundCount)Implements the `originalServerInteropComplete` operation for `miniquake.external_reference_contract` (original server interop complete).
| Parameter | Type | Default | Description |
|---|---|---|---|
connected | dynamic | — | The connected input consumed by `originalServerInteropComplete`. |
spawned | dynamic | — | The spawned input consumed by `originalServerInteropComplete`. |
signon | dynamic | — | The signon input consumed by `originalServerInteropComplete`. |
modelCount | dynamic | — | Number of entries or units to process. |
soundCount | dynamic | — | Number of entries or units to process. |
function originalServerInteropNetworkProvenance(transport, remoteAddress, expectedAddress, localServerActive, localAuthoritative, demoPlayback)A completed signon is not sufficient evidence by itself: if a remote UDP connect times out, Quake may continue with its local demo/start path. External interop therefore requires a live UDP peer matching the requested address and rejects local-authoritative, local-server and demo fallbacks.
| Parameter | Type | Default | Description |
|---|---|---|---|
transport | dynamic | — | The transport input consumed by `originalServerInteropNetworkProvenance`. |
remoteAddress | dynamic | — | The remote address input consumed by `originalServerInteropNetworkProvenance`. |
expectedAddress | dynamic | — | The expected address input consumed by `originalServerInteropNetworkProvenance`. |
localServerActive | dynamic | — | The local server active input consumed by `originalServerInteropNetworkProvenance`. |
localAuthoritative | dynamic | — | The local authoritative input consumed by `originalServerInteropNetworkProvenance`. |
demoPlayback | dynamic | — | The demo playback input consumed by `originalServerInteropNetworkProvenance`. |
function referenceContractHasRequiredFields()Implements the `referenceContractHasRequiredFields` operation for `miniquake.external_reference_contract` (reference contract has required fields).
function referenceContractText()Implements the `referenceContractText` operation for `miniquake.external_reference_contract` (reference contract text).
function referenceValues()Return reference values derived from the active module state.
function requiredExternalGates()Validates d external gates for `miniquake.external_reference_contract`.
function validateReferenceContract()Validate reference contract and report any incompatibility.
function visualScenarios()Implements the `visualScenarios` operation for `miniquake.external_reference_contract` (visual scenarios).
function visualThreshold()Implements the `visualThreshold` operation for `miniquake.external_reference_contract` (visual threshold).