1回答
- 新しい順
- 投票が多い順
- コメントが多い順
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!
回答済み 1年前
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.