> ## Documentation Index
> Fetch the complete documentation index at: https://docs.summerengine.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SummerMatchResult

> This player's own view of one concluded Match.

**Class:** `SummerMatchResult` · **Inherits:** RefCounted

This player's own view of one concluded Match.

Two facts converge in one object and nothing else does. When the authority's settlement commits, the Engine delivers to exactly this Session its [`outcome`](/api-reference/gdscript/types/match-result#outcome), with [`rating_state`](/api-reference/gdscript/types/match-result#rating_state) at [`RATING_STATE_PENDING`](/api-reference/gdscript/types/match-result#rating_state_pending) and no rating values: the authority never relays account data. Later the platform commits this player's rating and delivers it privately through the trusted Player Host; the same object then carries [`rating`](/api-reference/gdscript/types/match-result#rating) and moves to [`RATING_STATE_COMMITTED`](/api-reference/gdscript/types/match-result#rating_state_committed). Queues without a rating stay at [`RATING_STATE_NONE`](/api-reference/gdscript/types/match-result#rating_state_none).
The object is keyed by [`match_id`](/api-reference/gdscript/types/match-result#match_id) and [`session_id`](/api-reference/gdscript/types/match-result#session_id). A rating fact for another Match or Session never touches it, and a replayed or older fact is ignored: only a strictly newer [`SummerRatingSnapshot.version`](/api-reference/gdscript/types/rating-snapshot#version) on [`SummerRatingChange.after`](/api-reference/gdscript/types/rating-change#after) is applied.

## Properties

| Property | Type | Access | Description |
| - | - | - | - |
| <a id="committed_at_unix_msec" />`committed_at_unix_msec` | int | read-only, `get_committed_at_unix_msec()` | Platform commit time of the rating in Unix milliseconds, or `0` while pending. |
| <a id="match_id" />`match_id` | String | read-only, `get_match_id()` | Stable Match identifier. |
| <a id="outcome" />`outcome` | [`SummerMatchResult.Outcome`](/api-reference/gdscript/types/match-result#outcome) | read-only, `get_outcome()` | This player's outcome as concluded by the authority. |
| <a id="queue" />`queue` | StringName | read-only, `get_queue()` | Queue the Match was played in. Empty for Worlds entered without a queue. |
| <a id="rating" />`rating` | [`SummerRatingChange`](/api-reference/gdscript/types/rating-change) | read-only, `get_rating()` | The committed before-and-after rating, or `null` until `rating_state` is `RATING_STATE_COMMITTED`. |
| <a id="rating_state" />`rating_state` | [`SummerMatchResult.RatingState`](/api-reference/gdscript/types/match-result#ratingstate) | read-only, `get_rating_state()` | Whether a rating is expected and whether the platform has committed it. |
| <a id="session_id" />`session_id` | String | read-only, `get_session_id()` | The Session this result belongs to. |
| <a id="settlement_id" />`settlement_id` | String | read-only, `get_settlement_id()` | Settlement receipt identifier from the authority's conclusion. |

## Methods

### is\_rating\_committed

```gdscript theme={null}
func is_rating_committed() -> bool const
```

Returns `true` once [`rating_state`](/api-reference/gdscript/types/match-result#rating_state) is [`RATING_STATE_COMMITTED`](/api-reference/gdscript/types/match-result#rating_state_committed).

**Returns:** bool

## Enums and constants

### Outcome

| Name | Value | Description |
| - | - | - |
| `OUTCOME_UNKNOWN` | `0` | The authority reported no outcome for this Session. |
| `OUTCOME_WIN` | `1` | Won. |
| `OUTCOME_LOSS` | `2` | Lost. |
| `OUTCOME_DRAW` | `3` | Drew. |
| `OUTCOME_ABANDON` | `4` | Abandoned the Match. |

### RatingState

| Name | Value | Description |
| - | - | - |
| `RATING_STATE_NONE` | `0` | The queue carries no rating; nothing will be committed. |
| `RATING_STATE_PENDING` | `1` | Settlement committed; the durable account projection has not arrived yet. |
| `RATING_STATE_COMMITTED` | `2` | The platform committed this player's rating for this Match. |

***

What is live on the platform today: [platform capability status](/knowledge-base/source-status). Check availability at runtime before you offer a feature.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.