1 Answer
- Newest
- Most votes
- Most comments
0
Hi!
You should be able to extract the FString from the outcome object that is returned by GetGameSessionId()
.
auto outcome = Aws::GameLift::Server::GetGameSessionId();
if (outcome.IsSuccess()){
FString gameSessionId = outcome.getResult();
} else {
// error handling goes here
}
Thanks!
answered a year ago
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
Aws::GameLift::Server::Model::DescribePlayerSessionsRequest DescribePlayerSessionsRequest; DescribePlayerSessionsRequest.SetGameSessionId(TCHAR_TO_ANSI(*sessionId)); DescribePlayerSessionsRequest.SetPlayerSessionStatusFilter("RESERVED");
How to forloop through this and get all player IDs for players in reserved status. This would be highly helpful thanks. I am not able to understand the syntax from the documentation.