1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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!
respondido hace un año
Contenido relevante
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años
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.