are_requests_pending
read-only$psn_matches.are_requests_pending() -> boolDoes the match instance still have pending requests?
Returns bool: True if match still has requests pending, false otherwise.
11 natives. Read-only natives only look things up; the rest change something. Parameter types use the language's names (Types).
$psn_matches.are_requests_pending() -> boolDoes the match instance still have pending requests?
Returns bool: True if match still has requests pending, false otherwise.
$psn_matches.create_match() -> boolMake a request to create a match
Returns bool: True if match creation was started, false otherwise.
$psn_matches.destroy_match()Destroy the match instance.
$psn_matches.get_match_status() -> intGet the current status of the match
Returns int: The match status of type vpsn_match_status_t, or k_vpsn_match_status_unknown if match isn't valid.
$psn_matches.get_match_uuid() -> stringGet the PSN Match uuid
Returns string: Match uuid string if match is valiid, NULL otherwise
$psn_matches.has_access_token() -> boolDo we have a valid access token to make calls to PSN?
Returns bool: True if we have received a valid access token from the backend, false otherwise.
$psn_matches.has_created_match() -> boolHave we successfully created a PSN match?
Returns bool: True if match created successfully, false otherwise.
$psn_matches.is_creating_match() -> boolAre we creating a PSN match?
Returns bool: True if match creation is underway, false otherwise.
$psn_matches.report_match_results(roster: list) -> boolReports the results for the PSN match. After this the match status will be marked as completed
| Parameter | Type | Meaning |
|---|---|---|
roster | list | The match team list provided as a list of lists. |
Returns bool: True if request issued successfully, false otherwise.
$psn_matches.update_match_roster(roster: list) -> boolUpdates the team roster for the PSN match
| Parameter | Type | Meaning |
|---|---|---|
roster | list | The match team list provided as a list of lists. |
Returns bool: True if request issued successfully, false otherwise.
$psn_matches.update_match_status(match_status: int) -> boolUpdate the status of the PSN match
| Parameter | Type | Meaning |
|---|---|---|
match_status | int | The match status that we want to transition to. |
Returns bool: True if request issued successfully, false otherwise.